Error Help

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
-LeetGamer-
Posts: 8
Joined: Thu Sep 30, 2010 12:11 pm
Contact:

Error Help

Post by -LeetGamer- »

I was following this tutorial: http://irrlicht.sourceforge.net/docu/example001.html

And I have my project settings the same as the example that came with Irrlicht when I downloaded it.

But when I compile I get this error:

C:\Dev-CPP\Irrlicht\Makefile.win [Build Error] [Irrlicht.exe] Error 1

Can anyone please help me with this? Thanks.
grumpymonkey
Posts: 222
Joined: Mon Jan 19, 2009 10:03 pm
Location: Miami, Florida
Contact:

Post by grumpymonkey »

Ok your first problem is that your using Dev-Cpp which is atleast 5 years old >_>

Second problem: Your not giving enough information, which brings us back to the first problem.

If you are working on windows then theres no reason why you shouldn't be using msvc express. It can give you a LOT more information about errors in your project and your code so that you don't have to ask other people unless you really have to.
http://www.microsoft.com/express/Downlo ... Visual-CPP

not only that but its free. When you install that and try to compile the hello world with it, come back if it doesn't work -.-
Image
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

February 21th 2005 : Dev-C++ 5 Beta 9.2 (4.9.9.2) released !
Hmm, I would choose another IDE if I were you.
Take a look at
- Code::Blocks
- MSVC express edition
- Eclipse

(Yes I ordered them by how much I like them :D )
Working on game: Marrbles (Currently stopped).
-LeetGamer-
Posts: 8
Joined: Thu Sep 30, 2010 12:11 pm
Contact:

Post by -LeetGamer- »

I use VC++ 2010 for everything else, but when using some libs on it it doesn't work. Irrlicht won't work on it for me. But I only tried one time and I didn't really try that well, was a few weeks ago. Will try again.

Also, the examples work on DevC++, but when I make my own project it doesn't.

P.S VC++ won't allow other people to use the programs I make in it (Why I use DevC++), lol I my compilers hate me :P
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

-LeetGamer- wrote:P.S VC++ won't allow other people to use the programs I make in it
nonsense...
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

I think he means dependancies.
I had the same issue with msvc, when I wanted my friends to test some c++ apps I wrote.
Working on game: Marrbles (Currently stopped).
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

Doesn't make it more right... you can of course link everything static so nothing needs to installed aside from your program.

However everyone should have installed the redistributable packes of visual c++ since they come with almost every program.
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
Bate
Posts: 364
Joined: Sun Nov 01, 2009 11:39 pm
Location: Germany

Post by Bate »

Simply switch from Multithreaded-DLL to Multithreaded compilation in your project's settings. Usually the file size will increase only a little bit but you won't have to install the VC++ Redist anymore.
Never take advice from someone who likes to give advice, so take my advice and don't take it.
-LeetGamer-
Posts: 8
Joined: Thu Sep 30, 2010 12:11 pm
Contact:

Post by -LeetGamer- »

Bate wrote:Simply switch from Multithreaded-DLL to Multithreaded compilation in your project's settings. Usually the file size will increase only a little bit but you won't have to install the VC++ Redist anymore.
I looked around and couldn't find it, where exactly is it?
Bate
Posts: 364
Joined: Sun Nov 01, 2009 11:39 pm
Location: Germany

Post by Bate »

Translated from German but it should be pretty much this:

Project -> Properties -> Configuration -> C/C++ -> Code Generation -> Runtime Library = "Multithreaded"
Never take advice from someone who likes to give advice, so take my advice and don't take it.
slavik262
Posts: 753
Joined: Sun Nov 22, 2009 9:25 pm
Location: Wisconsin, USA

Post by slavik262 »

Here's a picture of what Bate is talking about. I hope it helps. :D

Image
Click for the full-size image.

Alternatively, you can package the required dlls with your program when you distribute it.
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

And don't forget that you cannot redistribute debug versions!
Post Reply