arturoc / ofxGStreamer

openFrameworks addon to use gstreamer under osx and windows. This addon has no code and instead uses the addon_config.mk file to add the needed files from the core + the flags needed to compile using gstreamer
56 stars 28 forks source link

Error in VS 2015 Windows 7 #17

Open dasoe opened 6 years ago

dasoe commented 6 years ago

Hello all,

After setting up my System/VS with the help of mrzl (Thanks!) and try to build the example (in a newly created VS Project). I still had to do a lot of inlcude paths in VS for the header files to be found, namely:

C:\gstreamer\1.0\x86\lib\gstreamer-1.0\include;C:\gstreamer\1.0\x86\lib\glib-2.0\include;C:\gstreamer\1.0\x86\include\glib-2.0;C:\gstreamer\1.0\x86\include\gstreamer-1.0; ..\..\..\addons\ofxGStreamer\src;

Then I had an Error about /SAFESEH, which I could solve by switching of "Image has safe exeption handlers" in solution properties - Linker - Advanced.

Now I get a new error:

Error LNK2019 unresolved external symbol "public: __thiscall ofGstVideoPlayer::ofGstVideoPlayer(void)" (??0ofGstVideoPlayer@@QAE@XZ) referenced in function "public: virtual void __thiscall ofApp::setup(void)" (?setup@ofApp@@UAEXXZ) | testGstreamer_V | ofApp.obj

With this I am lost. Help is most appreciated.