Registered Member
|
Hi all,
I have downloaded marble source code from http://edu.kde.org/marble/download.php and I unzipped in C:\marble. The MarbleWidget.h file and other include files are in this folder. I have downloaded marble binary for MS Windows and I have installed in C:\Program Files (x86)\Marble. The marblewidget.dll is in this folder. I'm keeping the "Hello Marble!" tutorial from http://techbase.kde.org/Projects/Marble/MarbleCPlusPlus I have made a new project and I have add these lines in the .pro file:
But when I build the project I get the error: C:\Users\User\marble\main.cpp:11: error: undefined reference to `_imp___ZN6Marble12MarbleWidgetC1EP7QWidget' C:\Users\User\marble\main.cpp:14: error: undefined reference to `_imp___ZN6Marble12MarbleWidget13setMapThemeIdERK7QString' What's wrong? My main.cpp code:
I use Qt Creator (Qt 4.7.4) on Windows. Best regards.
Last edited by marble_developer on Mon Apr 23, 2012 11:16 am, edited 1 time in total.
|
Registered Member
|
I use the next lines in the .pro file and the project was built with no errors:
|
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell