linking problem[solved]

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
omar shaaban
Posts: 616
Joined: Wed Nov 01, 2006 6:26 pm
Location: Cairo,Egypt
Contact:

linking problem[solved]

Post by omar shaaban »

Code: Select all

main.obj||error LNK2001: unresolved external symbol "class irr::IrrlichtDevice * __cdecl irr::createDevice(enum irr::video::E_DRIVER_TYPE,class irr::core::dimension2d<int> const &,unsigned int,bool,bool,bool,class irr::IEventReceiver *,char const *)" (?createDevice@irr@@YAPAVIrrlichtDevice@1@W4E_DRIVER_TYPE@video@1@ABV?$dimension2d@H@core@1@I_N22PAVIEventReceiver@1@PBD@Z)|
i am using code::blocks with vc++ 2008 compiler;
and linked all libraries correctly and the vc++ verstions
so what does this error mean?
Last edited by omar shaaban on Tue Sep 22, 2009 7:27 am, edited 1 time in total.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Re: linking problem

Post by Acki »

omar shaaban wrote:and linked all libraries correctly
this error message proves you wrong here !!! :lol:
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
omar shaaban
Posts: 616
Joined: Wed Nov 01, 2006 6:26 pm
Location: Cairo,Egypt
Contact:

Post by omar shaaban »

i included irrlicht.lib ,irrphysx.lib and necessary lib files from irrlicht and code blocks (using msvc++) tutorial and included 4 other lib filesof irrphysx
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Post by randomMesh »

Check if the *.lib, *.dll and include headers are the same version.
"Whoops..."
omar shaaban
Posts: 616
Joined: Wed Nov 01, 2006 6:26 pm
Location: Cairo,Egypt
Contact:

Post by omar shaaban »

randomMesh wrote:Check if the *.lib, *.dll and include headers are the same version.
no all are up to date
and it has nothing to do with dlls!!
kavita_dubey
Posts: 22
Joined: Thu Oct 08, 2009 8:47 am

Post by kavita_dubey »

Same problem with me
can u tell omar shaaban how u solved it???
Post Reply