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.
-
tft67
- Posts: 19
- Joined: Sat Nov 08, 2008 2:56 am
Post
by tft67 »
I tried to compile the project decribed in
http://irrlicht.sourceforge.net/phpBB2/ ... ichtwidget
but i got a linker message ( under Qt )
/QIrrlichtWidget.cpp:190: undefined reference to `_imp__createDeviceEx'
The pro file is :
TARGET = IrrTest17
TEMPLATE = app
SOURCES += main.cpp \
QIrrlichtWidget.cpp \
Application.cpp
HEADERS += QIrrlichtWidget.h \
Application.h
LIBS += -LC:\\irrlicht-1.6\\lib\\Win32-visualstudio
INCLUDEPATH += c:\\irrlicht-1.6\\include
CONFIG += warn_off
Can somebody help ?
-
Sylence
- Posts: 725
- Joined: Sat Mar 03, 2007 9:01 pm
- Location: Germany
-
Contact:
Post
by Sylence »
You just pointed to the lib directory, but didn't specify that it should link against irrlicht.lib
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
-
tft67
- Posts: 19
- Joined: Sat Nov 08, 2008 2:56 am
Post
by tft67 »
Ok. It works with
LIBS += -LC:\\irrlicht-1.6\\lib\\Win32-gcc -lIrrlicht
INCLUDEPATH += c:\\irrlicht-1.6\\include
CONFIG += warn_off
Thanks a lot.