nikolajsheller
30-07-2010 18:36:20
Hi
I am trying to get the trunk version of the ogrevideo plug-in to run on, and I have run in to some issues.
I have managed to build trunk (rev 112) under eclipse, by adding the following change:
Can this be used?
I am trying to get the trunk version of the ogrevideo plug-in to run on, and I have run in to some issues.
I have managed to build trunk (rev 112) under eclipse, by adding the following change:
Index: src/OgreVideoDLLmain.cpp
===================================================================
--- src/OgreVideoDLLmain.cpp (revision 112)
+++ src/OgreVideoDLLmain.cpp (working copy)
@@ -17,10 +17,12 @@
#include "OgreVideoManager.h"
#include <stdio.h>
-#ifdef OGRE_MAC_FRAMEWORK
-#define OGREVIDEO_EXPORT extern "C"
+#ifdef OGRE_PLATFORM_APPLE
+ #define OGREVIDEO_EXPORT extern "C"
+#elif OGRE_PLATFORM_LINUX
+ #define OGREVIDEO_EXPORT extern "C"
#else
-#define OGREVIDEO_EXPORT extern "C" __declspec(dllexport)
+ #define OGREVIDEO_EXPORT extern "C" __declspec(dllexport)
#endif
namespace Ogre
Can this be used?