c++ compliler?

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
Acphonehome

c++ compliler?

Post by Acphonehome »

I don't want to have to pay half a grand for visual c++. What are my alternatives. Free would be nice

I also read that there are add-ons so that you can use perl with irrlicht, but I havn't been able to locate those...

anyway, help is appreciated :)
Guest

Post by Guest »

I downloaded dev c++...
I also added lib and include files...
but for some reason I get an error when I compile...

In file included from C:\DEV-C_~1\Include\irrlicht.h:32,
from c:\progra~1\irrlic~1.7\bin\devcpp\main.cpp:42:
C:\DEV-C_~1\Include\aabbox3d.h: In method `void irr::core::aabbox3d<T>::getEdges(irr::core::vector3d<T> *) const':
C:\DEV-C_~1\Include\aabbox3d.h:217: unknown escape sequence `\D'
C:\DEV-C_~1\Include\aabbox3d.h:217: unknown escape sequence `\I'

please i really want to be able to learn and use irrlitch.. any help would be wonderful :)
SARIN
Posts: 139
Joined: Fri Oct 29, 2004 3:53 am

Post by SARIN »

wat file r u trying to compile?
post the filename (assuming that it is an example file).
if it is not an example file that u r tryng to compile, try those first.

i use dev cpp myself.
Guest

Post by Guest »

i have the same error for main.cpp from Hello World example
bal
Posts: 829
Joined: Fri Jun 18, 2004 5:19 pm
Location: Geluwe, Belgium

Post by bal »

You could also use Relo (http://www.fifsoft.com/relo/) in combination with the Visual Studio C++ Toolkit: then you have the same compiling power as Visual Studio but for free :). Search the forum for the (video)tutorials by afecelis.
General Tools List
General FAQ
System: AMD Barton 2600+, 512MB, 9600XT 256MB, WinXP + FC3
Nikata
Posts: 5
Joined: Wed Dec 29, 2004 9:44 pm

Post by Nikata »

Yes I am getting the same errors when I try and compile the "hello word" program and the oher examples.

I am using Dev C++ 4

I don't want to change my compiler, as all my other projects are all done in this compiler and i am familiar to it. I have followed the Dev tutorial on this site, but I still returned the errors.

Any help? :?

~Nikata
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

Irrlicht works fine with DevC++ (at last for me) and all problems I had were with me linking to wrong files.

Make sure both DevC++ and Irrlicht are instaled properly.
Irrlicht.dll is in the same directory like your compiled exe file or in windows system32 directory.
Open new project in DevC++
in Project options set Linker under Parameters to
...irrlicht-0.7/lib/DevCpp/libz.a
...irrlicht-0.7/lib/DevCpp/libIrrlicht.a
...irrlicht-0.7/lib/DevCpp/libjpeg.a
Set Include Directories to ...irrlicht-0.7/include
When using tutorials make sure you use them with right version of Irrlicht (one they are writen for)

(that ... mean your path to instaled Irrlicht directory)

All examples in Irrlicht/examples directory contain DevC++ project files. If you open them strait a way and put irrlicht.dll there, it should compile and run.

Also directx doesnt work with original irrlicht.dll, you have to recompile it to get dx suport. Look in FAQs, Howtos, and tool lists forum howe.
Nikata
Posts: 5
Joined: Wed Dec 29, 2004 9:44 pm

Post by Nikata »

Hey Everyone.

Worked out the problem. For all using Dev CPP 4, upgrade to ver. 5

This will sort out your problem.
Post Reply