zebishop
15-06-2006 00:48:41
Hi there, I managed to build everything just fine, using VC2005 (not express). I'm trying the
first tutorial on the wiki. I get the same error as
in this post. I understand that it's the lack of manifest that screw everythings up. But how can I export them as well ?
I know that taking the precompiled DLL make things work, but I'd really like to see it working from the source :)
If anyone can help, that would be great. Thank you.
humantargetjoe
15-06-2006 13:37:18
Did you build all the native Ogre dlls? In order to get the wrappers to work properly, you'll need to build the native ones and link to the ones you built.
If you build the native ones, then the wrappers, you should be fine. Be sure to use the master build solution for the native Ogre, clean, and rebuild all. For whatever reason, C# didn't want to build my wrappers properly, but C++ did (might have not set up C# entirely correctly, as I only really know and use C++)
If you just replace one of the two, there's no gaurantee what the wrapper is linking to and what is in the dll will find a match, as I had this problem.
zebishop
16-06-2006 09:40:52
Thanks for the answer. So, just to be sure that I understood it well : I should have first built OGRE without the wrapper, then opened the solution for ogredotnet and built it ?
humantargetjoe
16-06-2006 11:50:51
Yes. The wrappers link to the native libraries, so if the native libraries are bad, you'll have a problem.
zebishop
16-06-2006 11:55:38
Ok, I'll try that. Anyway, I downloaded the precompiled binaries but I get the PInvoke error. As I'm planning my WE trip, I don't have much time to look in that issue. Maybe you can give me a hint why I don't have any ogre.log file created ? (i searched on the whole harddrive)
humantargetjoe
16-06-2006 11:57:28
Ok, I'll try that. Anyway, I downloaded the precompiled binaries but I get the PInvoke error. As I'm planning my WE trip, I don't have much time to look in that issue. Maybe you can give me a hint why I don't have any ogre.log file created ? (i searched on the whole harddrive)
Generally, the PINVOKE error happens when you try to instantiate a Root. Root is what generates the log file, so if it's never created, it'll never be able to create the log.
zebishop
16-06-2006 12:36:20
Oh ok. Actually I'm just trying to run the demos