ofxHapPlayer don't compile in release mode (VS2017)

#1

I’m failing to compile a project in Visual Studio 2017 in release mode.
The project uses ofxHapPlayer and the error seems to be from Snappy library file.
Linker says this:

Errore C1047 L’oggetto o il file di libreria >’…\addons\ofxHapPlayer\libs\snappy\lib\vs\Win32\Release\snappy.lib’ è stato >creato con un compilatore precedente rispetto a quello utilizzato per altri oggetti. >Ricompilare i vecchi oggetti e librerie

Translated in english is:
"object or library file … was created with a compiler which is older than the one used for other objects. Please recompile old objects and libraries

So i downloaded Snappy libraries


but actually I can’t find out how to recompile it in a .lib file.

Everything works fine in debug mode so I may stick there but I have to compile in release mode because I need to use also ofxSoundObjects for multi audio output, which won’t play in debug mode. So I’m a bit trapped, anyone has a clue? Thanks.

#2

You can try with this

#3

Thank you, this worked fine!

#4

But now ofxSVG, which is part of the project, does not compile in release mode because of the same problem.

‘…\addons\ofxSvg\libs\svgtiny\lib\vs\Win32\svgtiny.lib’

Just downloaded Svgtiny but unable to compile, it seems I miss some stuff or there is something wrong in compiler setup.

#5

i have the same problem too with ofxhaplayer and ofxkinect4windows2. if i compile the example of ofxhapplayer it works