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.
Exebenus
Post
by Exebenus » Wed Apr 14, 2004 6:40 pm
Hi everybody !
Im new to Irricht and today a did copy the Hello World example but when I try to compile the VC++ keep thinking until I ask him to stop.
Im using VC++ 5.0 SP3.
I'd very glad if anyone could help me !
Thanks !
Fernando.
thesmileman
Posts: 360 Joined: Tue Feb 10, 2004 2:20 am
Location: Lubbock, TX
Post
by thesmileman » Wed Apr 14, 2004 7:20 pm
I do not thing that Irrlicht supports VC++ 5.0. I am sure that you are familer with it and all but I would suggest if you do not want to upgrade to download the free Dev-C++. A large number of the developer here work with the IDE and I have used it and enjoy it though I work with VS .NET 2003.
Exebenus
Post
by Exebenus » Wed Apr 14, 2004 7:32 pm
Thanks thesmileman !
I was trying to do it at work...ops ! At home I use VC++ 6 and if I'm not wrong the Hello Word was made in VC++6 too. I will try again at home.
Anyway, I'll take a look at Dev-C++. It's a GNU project ?
Electron
Posts: 874 Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA
Post
by Electron » Wed Apr 14, 2004 9:18 pm
yup its GNU
I just love free software
Exebenus
Post
by Exebenus » Wed Apr 14, 2004 10:29 pm
I got Dev-C++ and It looks pretty good.
But I still can't compile HW. This time I've got an Link Error (undefined reference).
The example tells to do the following :
Code: Select all
#pragma comment(lib, "Irrlicht.lib")
But this file only exists in the lib\VisualStudio directory. The equivalent for DevC++ don't have this file. It have the following files :
Code: Select all
libirrlicht.a
libirrlicht.def
libjpeg.a
libz.a
Questions :
1) What do I have do adapt in my code ?
2) What is this file format (.a) ?
Thanks !
StuCollier
Posts: 52 Joined: Tue Mar 30, 2004 12:16 pm
Post
by StuCollier » Wed Apr 14, 2004 10:32 pm
In DevCpp you dont need the #pragma line.........
Just include the 3 .a files as per the tutorial
Exebenus
Post
by Exebenus » Thu Apr 15, 2004 3:01 pm
Thaks, Stu.
I did not look the tutorial like I should....
Now I did compile it in DevCpp. But it doesn't execute.
The error message is :
Code: Select all
The procedure entry point ..... could not be located in the dynamic link library Irrlicht.dll
Yesterday, at home, I did compile and run properly using VC++6.0
Electron
Posts: 874 Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA
Post
by Electron » Thu Apr 15, 2004 7:39 pm
i think your trying to use the VC++ dll with something compiled with gcc. Use the dll found in bin\devcpp
Exebenus
Post
by Exebenus » Fri Apr 16, 2004 1:45 pm
You're right !
Now everything its okay !
Thanks everybody !!