sambenito / ofxffglplugin

Automatically exported from code.google.com/p/ofxffglplugin
0 stars 0 forks source link

unresolved external symbol "public: __thiscall CFFGLPluginInfo::CFFGLPluginInfo #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to compile with VS2012 & OpenFrameworks 0.8
2. Get a compile Error

What is the expected output? What do you see instead?
Should compile OK, instead There is this error :

error LNK2019: unresolved external symbol "public: __thiscall 
CFFGLPluginInfo::CFFGLPluginInfo(unsigned long (__cdecl*)(class 
CFreeFrameGLPlugin * *),char const *,char const *,unsigned long,unsigned 
long,unsigned long,unsigned long,unsigned long,char const *,char const 
*,unsigned long,void const *)" 
(??0CFFGLPluginInfo@@QAE@P6AKPAPAVCFreeFrameGLPlugin@@@ZPBD2KKKKK22KPBX@Z) 
referenced in function "void __cdecl `dynamic initializer for 
'PluginInfo''(void)" (??__EPluginInfo@@YAXXZ)

What version of the product are you using? On what operating system?
Windows 8, VS 2012, OFX 0.8

Please provide any additional information below.

I created the project using the ofx project generator.
I already fixed an error with glType not being a member of textureData at 
ofxFFLPlugin.cpp, line 120 (commented out since there is no obvious replacement)

Original issue reported on code.google.com by bkuperb...@gmail.com on 4 Dec 2013 at 11:02

GoogleCodeExporter commented 9 years ago
I had the same issue with VS 2010 and OFX 0.7. Try adding the definition 
OF_FFGL_NOSTDCALL in Project Properties -> C/C++ -> Preprocessor -> 
Preprocessor Definitions.

It worked for me.

Good luck!
Juan Pablo

Original comment by jpman...@gmail.com on 23 Apr 2014 at 1:29