Thomas233
03-05-2009 19:28:07
Hello,
first i would like to say that i am very impressed about the further development Mogre has made. What i need is a free modern 3d engine for .NET with a large community behind and i think i have found it in Mogre after comparing a lot of 3d engines like Irrlicht and so on (of course there are not many ports or wrappers for .NET beside Axiom and Irrlicht.NET). I`ve looked for
However i think setting up the first Mogre application is a bit tricky because the articles in the Wiki are partially outdated and do things in a differenty way.
What i want is to set up a clean Mogre application (debug) only using the essentials needed. I don`t need any resources or media yet and i also don`t want to use an example framework or something like that. I just want to use some basic parts of Mogre in my class library for now.
Ok so here are the steps i performed to set up my application (based on "Basic Tutorial 1" and "Installing Mogre"):
1) downloaded the Mogre SDK version 1.4.8 from your website and installed it
2) created an empty solution in Visual Studio Express 2008 SP1 and added a windows application project and a class library project to it (the class library project uses mogre and is used by the windows application project)
3) copied all dlls and cfgs from sdk\bin\debug direcotry to my output debug directory (windows application project)
4) removed any content from resources.cfg and media.cfg (but not from plugin.cfg)
5) referenced debug-version of Mogre.dll in both projects
When i run my application i get the following error when Mogre is used in anyone of those projects:
The file or assembly could not be found "Mogre, Version=1.4.8.0, Culture=neutral, PublicKeyToken=null" (Interop-Exception HRESULT: 0x800736B1)
If i copy over the 1.6.2 binaries and reference the Mogre_d.dll i get the same error.
Of course i have installed the latest DirectX and Visual C++ redistributables.
My System:
Windows XP SP 3
Visual C# 2008 Express SP1
Visual C# 2005 Express SP1
Visual C++ Redist 2005 SP1
Visual C++ Redist 2008 SP1
DirectX 9 Redist (March 2009)
Does anyone have an idea why i get those exception ? I really want to start developing my game with Mogre and would be very happy about your help !
PS: I`m sorry if this question was already asked or i`ve oversight something in the wiki, i`m really new in using a wrapper like Mogre !
Greetings,
Thomas
first i would like to say that i am very impressed about the further development Mogre has made. What i need is a free modern 3d engine for .NET with a large community behind and i think i have found it in Mogre after comparing a lot of 3d engines like Irrlicht and so on (of course there are not many ports or wrappers for .NET beside Axiom and Irrlicht.NET). I`ve looked for
However i think setting up the first Mogre application is a bit tricky because the articles in the Wiki are partially outdated and do things in a differenty way.
What i want is to set up a clean Mogre application (debug) only using the essentials needed. I don`t need any resources or media yet and i also don`t want to use an example framework or something like that. I just want to use some basic parts of Mogre in my class library for now.
Ok so here are the steps i performed to set up my application (based on "Basic Tutorial 1" and "Installing Mogre"):
1) downloaded the Mogre SDK version 1.4.8 from your website and installed it
2) created an empty solution in Visual Studio Express 2008 SP1 and added a windows application project and a class library project to it (the class library project uses mogre and is used by the windows application project)
3) copied all dlls and cfgs from sdk\bin\debug direcotry to my output debug directory (windows application project)
4) removed any content from resources.cfg and media.cfg (but not from plugin.cfg)
5) referenced debug-version of Mogre.dll in both projects
When i run my application i get the following error when Mogre is used in anyone of those projects:
The file or assembly could not be found "Mogre, Version=1.4.8.0, Culture=neutral, PublicKeyToken=null" (Interop-Exception HRESULT: 0x800736B1)
If i copy over the 1.6.2 binaries and reference the Mogre_d.dll i get the same error.
Of course i have installed the latest DirectX and Visual C++ redistributables.
My System:
Windows XP SP 3
Visual C# 2008 Express SP1
Visual C# 2005 Express SP1
Visual C++ Redist 2005 SP1
Visual C++ Redist 2008 SP1
DirectX 9 Redist (March 2009)
Does anyone have an idea why i get those exception ? I really want to start developing my game with Mogre and would be very happy about your help !
PS: I`m sorry if this question was already asked or i`ve oversight something in the wiki, i`m really new in using a wrapper like Mogre !
Greetings,
Thomas