Newton physics and Dev-Cpp

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
Boz the virtual being
Posts: 10
Joined: Mon Mar 08, 2004 9:01 pm
Location: Omikron

Newton physics and Dev-Cpp

Post by Boz the virtual being »

Hi,
Has anybody succesfully compiled the great Mercior's tutorial on integrating Newton with Irrlicht (http://www.mercior.com/tut-newton.shtml) on the Dev-Cpp compiler? I include all the libraries and headers and I get linker errors. It seems it does not see the Newton functions.
schick
Posts: 230
Joined: Tue Oct 07, 2003 3:55 pm
Location: Germany
Contact:

Post by schick »

Well, the library was compiled using visual c++. I read somewhere something :-) about name mangling that gcc and msvc using different "names" for the functions in their libs so the functions cannot be found. Furthermore, i read that you can migrate those msvc libs to gcc libs. Ask the wise google about msvc convert gcc library
Boz the virtual being
Posts: 10
Joined: Mon Mar 08, 2004 9:01 pm
Location: Omikron

Post by Boz the virtual being »

That's what I thought :(
I'll ask the wise google or the newton himself.
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

Interesting that you guys have had a problem. I compiled Mercior's tutorial fine
schick
Posts: 230
Joined: Tue Oct 07, 2003 3:55 pm
Location: Germany
Contact:

Post by schick »

Sorry, yeah, there is no problem at all. If you want to link the newton lib file using the -l parameter of gcc then you have to rename it to libnewton.a. Otherwise just link the *.lib file directly.
Please send me an e-mail instead of a private message.
Post Reply