dll error

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
trex666
Posts: 18
Joined: Sat Dec 23, 2006 1:15 pm
Contact:

dll error

Post by trex666 »

hy guys i compiled the source with code blocks and it worked it only gave 1 warning put if i take the dll file in the Win32-gcc mpa and past it in the bin... map were the programs are it doesn't work it gives an error
the error say's
look at picture
[img=http://img151.imageshack.us/img151/5952/problemhi4.th.jpg]

pleas help me grts TreX
monkeycracks
Posts: 1029
Joined: Thu Apr 06, 2006 12:45 am
Location: Tennesee, USA
Contact:

Post by monkeycracks »

These are just random stabs in the dark BUT

Either the library and DLL don't match up. (if you used the gcc lib, use the gcc dll)

OR

Are you using D3D driver?

By source I wasn't sure if you meant the actual engine or a program
trex666
Posts: 18
Joined: Sat Dec 23, 2006 1:15 pm
Contact:

Post by trex666 »

whit source i mean the ilricht folder the the source folder and ther is a code block project so thats what i mean and now i'm going to test what you said about the lib and dll thx for the info

ow poop i cant find gcc.lib :s
avo18
Posts: 27
Joined: Thu Dec 14, 2006 5:46 pm

Post by avo18 »

kopieert Irrlicht.lib en Irrlicht.dll en plakt het in u debug of waar je u .exe file hebt gemaakt .
trex666
Posts: 18
Joined: Sat Dec 23, 2006 1:15 pm
Contact:

Post by trex666 »

zou ik aub u msn mogen
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Now, if you recompiled the source, you'll have to use the new created lib and dll (not the old ones from the gcc folder) !!!
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
trex666
Posts: 18
Joined: Sat Dec 23, 2006 1:15 pm
Contact:

Post by trex666 »

i dont know what you mean
where can i find those new libs and dll's ?
(btw evry time i comple it it gives a dll but not a lib only a .a file :s)
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

.a is the file format for mingw/gcc while microsoft uses .lib files. They are basically the same, so you have to link your app against those files to properly connect to the dll file.
Post Reply