ofxHapPlayer icon indicating copy to clipboard operation
ofxHapPlayer copied to clipboard

Compiling on windows with qtcreator/msys2

Open d3cod3 opened this issue 3 years ago • 1 comments

Hi, i'm trying to compile the ofxHapPlayer example on windows using qtcreator, there was a couple of easy details to fix, there:

https://github.com/d3cod3/ofxHapPlayer/commit/e8a7e810f7d3ce3869af39e6d5ceb99168a3463a

but now i'm stuck with something i'm not recognizing, i think it's some specific VS related library ( almost zero experience with VS ), it giving me error with ppl.h

error: ppl.h No such file or directory

https://github.com/bangnoise/ofxHapPlayer/blob/822d3f77a5ceeed57d21a4e5b3896b4b948ead32/src/ofxHapPlayer.cpp#L46

Can you give me some hints on how to solve it? Maybe with some compiler flags?

And a second question, bcrypt.lib and Secur32.lib will need to be added locally? ( i have really little experience with compiling/working on windows )

Thanks in advance!

d3cod3 avatar Jun 09 '21 06:06 d3cod3

hi, there I'm experiencing same issue with msys2/qtcreator on win10. I was able to swap ppl.h with openmp, but bcrypt.lib and secur32.lib are still missing. Not sure how to link dlls from system32 via qtcreator. Tried changing addon_libs to explicit paths in addon_config.mk but it still points to missing files in the cloned folder

anpin avatar Aug 12 '21 09:08 anpin