juliusctw
Newbie

Posts: 4
|
 |
« on: May 07, 2008, 03:49:33 PM » |
|
hello
does any one have a version pre-compiled in mingw, i got it working and compiled in linux , and i am trying to compile it now in windows with code-block , but i am having a real hard time due to these errors
error: definition of static data member 'Ogre::TheoraVideoController::msCmdRenderFx' of dllimport'd class|
at
TheoraVideoController::CmdRenderFx TheoraVideoController::msCmdRenderFx; TheoraVideoController::CmdSeekingEnabled TheoraVideoController::msCmdSeekingEnabled;
i normally can read the error and resolve the problem, but i just have no clue what these errors mean , If anyone has a pre-compiled version in mingw please share, I already have a version compiled using visual studio, but my project is done in code-block so they don't match.
or if no body has a mingw version, does anyone have any clue what the error might mean??
CHANGED ::::::
Alright, I finally found out the problem, as it turned out I was using
#define _OgreTheoraExport __declspec(dllimport)
inside theoraExport.h , I should have used #define _OgreTheoraExport __declspec(dllexport)
the import is for people using the library, while the export is for building the library, hopefully this will help somebody in the future
|