Linker error...but why?

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
Moore
Posts: 31
Joined: Sat Mar 06, 2010 6:23 pm
Location: Poland

Linker error...but why?

Post by Moore »

All was fine, but today i instaled dev with wxwidgets. After i uninstaled it and now i can't do new projects with irrlicht. Old ones compile and run fine, but now no. I get message like:

Code: Select all

  [Linker error] undefined reference to `_imp___ZN3irr12createDeviceENS_5video13E_DRIVER_TYPEERKNS_4core11dimension2dIiEEjbbbPNS_14IEventReceiverEPKc' 
I have dev with devpack so that error shouldn't happens.
What?
slavik262
Posts: 753
Joined: Sun Nov 22, 2009 9:25 pm
Location: Wisconsin, USA

Post by slavik262 »

Have you linked in the Irrlicht library?
Moore
Posts: 31
Joined: Sat Mar 06, 2010 6:23 pm
Location: Poland

Post by Moore »

Yea
What?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Maybe you have a wrong library, or a wrong path
Moore
Posts: 31
Joined: Sat Mar 06, 2010 6:23 pm
Location: Poland

Post by Moore »

I have downloaded irrlicht 1.7 from main page. For path- I don't think so(in dev you have button to select path so all looks correct)(i you want i can do screen shots).
What?
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Post by randomMesh »

Did you link to the MSVC lib by any chance? You need the one in Win32-gcc, afaik.
"Whoops..."
Moore
Posts: 31
Joined: Sat Mar 06, 2010 6:23 pm
Location: Poland

Post by Moore »

I solved the problem. In tutorial on irrlicht main site wasn't that one more thing you have to do. Now all's fine.

Btw.In this forum you always try to help. In polish forums it's harder to get help ;p
What?
Post Reply