Wrecked Games
September 10, 2010, 09:48:13 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: We're just that awesome.
 
   Home   Help Search Members Login Register  
Pages: [1]
  Print  
Author Topic: does any one have a version pre-compiled in mingw  (Read 1184 times)
juliusctw
Newbie
*
Posts: 4


View Profile
« 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
« Last Edit: May 08, 2008, 05:52:07 AM by juliusctw » Logged
Ice
Regular
*
Posts: 21


View Profile
« Reply #1 on: May 18, 2008, 08:31:29 AM »

Hi, I have one. You can get it here: http://berks.narod.ru/Plugin_TheoraVideoSystem_mingw.zip
Compiled with Ogre 1.4.6 and theora 1.0beta2
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!