Compile Options

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Smith

Compile Options

Post by Smith »

Hi everyone.
I have a problem.

My irrlicht application doesn't run on computer, where C++ is not installed.
Initialization Error (0хс0000135).

So my question is:
How to compile my project to run on computers without installed C++?

And one more question
How to make cubemap reflections?
hybrid

Post by hybrid »

Maybe it's due to a debug release? The debug libraries are usually not found on common windows systems without compiler. But you mught want to include a somewhat more complete error message.
Cubemaps are implemented in IrrSpintz which is a development branch of Irrlicht, but mostly compatible with basic Irrlicht.
Smith

Post by Smith »

Forgot to say, that I'm using MSVC++ .NET 2003
Compiler is set to release.
Smith

Post by Smith »

Here is error screenshot.
http://img81.imageshack.us/img81/7537/error3oh.jpg

Translation:
Title:
irrlicht.exe - Application Error
Message:
Error during application initialization (0хс0000135). To exit the application press "OK" button.


P.S. WinXP Pro SP1
hybrid

Post by hybrid »

Maybe you should check with the Irrlicht.NET forum. I guess there will be much more expertise. Systems using .net applications will probably need the .net runtime environment!
hybrid

Post by hybrid »

Sorry, misinterpreted your previous message, so my last answer was wrong. So you're really using C++, not C#? The compiler usually gives much more information on missing libraries, but there's probably some library missing. Check if you link with some unnecessary library. Default settings for M$ compilers include lots of libraries including .net libraries. You might even link with debug libraries in release mode. There should be a tool to check which libraries are necessary for the tool to run (such as cygcheck.exe under cygwin which I am using for these purposes).
Smith

Post by Smith »

It seems to me that problem in dotnet framework..
I've check that my program need not only irrlicht.dll, but mscoree.dll too.
So I've copied this dll to my friend's windows/system32 and got this error http://img98.imageshack.us/img98/7417/error8up.jpg
I'll try to install it on my friend's computer, and tell you about the results. :wink:
Smith

Post by Smith »

Now about cubemaps. As I understood, now I can't make cubemap reflections. Right?

P.S. It began to work after installing framework.
hybrid

Post by hybrid »

You cannot do cubemaps with basic Irrlicht and without major work as it is not included. But Spintz has implemented this so you can either take that Irrlicht version, or port back the cubemap thing (but it seems to be some work to do that).
With your other problem: Try to disable the managed code setting in your project preferences. This could be enough to not link agaist all these .net libraries.
Guest

Post by Guest »

hybrid wrote:With your other problem: Try to disable the managed code setting in your project preferences. This could be enough to not link agaist all these .net libraries.
Thnx!!! It helped!!!
TomB
Posts: 12
Joined: Wed Jan 25, 2006 11:52 pm
Location: Melbourne
Contact:

Post by TomB »

Where can you find this option in the project preferences? I am using Microsoft Visual Studios 2005. I get a different error saying that the application configuration is incorrect.
Post Reply