GantZ
08-08-2008 10:45:44
First of all , Hello to the mogre community !
I have compiled Mogre with threading support enabled, setting OGRE_THREAD_SUPPORT to 1. it seem the boost library have a conflict with c++/CLI according to this thread
http://objectmix.com/dotnet/121318-not-valid-win32-application-exception-hresult-0x800700c1-2.html
because i have the same error "is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) " when i try to run a application using my newly compiled Mogre, i haven't any problem has long has i disable threading support. i have tried with the solution found on this thread using
around the boost include. i've tried with a simple console application just for testing purpose and it seem to address the issue, but i can't manage to use this solution on the ogre source, it still give me the same error.
have anyone already tried to use thread support with Mogre and ran into this issue ?
I use vc++ 2008, windows XP , boost 1.33.1 and Mogre source from the svn
I have compiled Mogre with threading support enabled, setting OGRE_THREAD_SUPPORT to 1. it seem the boost library have a conflict with c++/CLI according to this thread
http://objectmix.com/dotnet/121318-not-valid-win32-application-exception-hresult-0x800700c1-2.html
because i have the same error "is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) " when i try to run a application using my newly compiled Mogre, i haven't any problem has long has i disable threading support. i have tried with the solution found on this thread using
#pragma managed(push, off)
#include "somenativeclass.h"
#pragma managed(pop)
around the boost include. i've tried with a simple console application just for testing purpose and it seem to address the issue, but i can't manage to use this solution on the ogre source, it still give me the same error.
have anyone already tried to use thread support with Mogre and ran into this issue ?
I use vc++ 2008, windows XP , boost 1.33.1 and Mogre source from the svn