newton

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
mrbig
Posts: 29
Joined: Wed Mar 17, 2004 5:38 am
Location: lakeland, Florida
Contact:

newton

Post by mrbig »

my program looks like it will compile fine then i get this
_____________________________________________________________

[Linker error] undefined reference to `_imp__NewtonCreate'
[Linker error] undefined reference to `_imp__NewtonMaterialGetDefaultGroupID'
[Linker error] undefined reference to `_imp__NewtonMaterialSetDefaultFriction'
[Linker error] undefined reference to `_imp__NewtonMaterialSetDefaultElasticity'
[Linker error] undefined reference to `_imp__NewtonMaterialSetDefaultSoftness'
....
-------------------------------------------
eney help would be appreciated
Gorgon Zola
Posts: 118
Joined: Thu Sep 18, 2003 10:05 pm
Location: switzerland

Post by Gorgon Zola »

might be a missing library file...

check out your linker settings and add the newton lib

or use the pragma directive #pragma comment(lib,"xyz.lib")
(I don't know the name of newton lib should be in the newton docu.)

cheers
tom
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

that pragma directive doesn't seem to work with Dev-cpp. If you're trying to compile the Mercior demo or something made in VC++, and using Dev-cpp that could be your problem
Post Reply