Jump to content

[SOLVED] Compilation flags do not match the engine one


photo

Recommended Posts

Hi,

I'm using Visual Studio 2017 and ver. 2.15.1 of Unigine, everything compiles and works well when i'm using debug mode, but when i'm using Release mode, it compiles but I have this fatal error on execution:

image.png.3289a6e9e977cd6fbcd0d83917742a99.png

The linkers are setup for both debug and release (Unigine_x64d.lib for debug and Unigine_x64.lib for release)

How can I make the release mode work? What am I missing?

Thanks in advance

Link to comment

Hello Pierre_Bultingaire,

 

Please make sure "NDEBUG" preprocessor definition is set for Release configuration

image.png

If it's set and you still get this error could you please verify if this issue is reproducible on the new project or on migrated one, if it only happens on migrated project, please send us .vcxproj file from broken project

  • Like 1
  • Thanks 1
Link to comment

Hello vvvaseckiy,

I Indeed forgot the "NDEBUG" preprocessor definition and now it works as intended.

Thank you!

Edited by Pierre_Bultingaire
Link to comment
  • silent changed the title to [SOLVED] Compilation flags do not match the engine one
×
×
  • Create New...