[Marble-devel] Build error: Qt5.5 + Win7x64

Vladimir Khudoshin cmex81 at gmail.com
Mon Sep 7 19:57:25 UTC 2015


Hello,

Could you help with the problem:

I've got errors from build by next command:

*cmake -G "MinGW Makefiles" -DQTONLY=TRUE -DQT5BUILD=TRUE
-DWITH_DESIGNER_PLUGIN=ON *
*-DCMAKE_INSTALL_PREFIX=c:\Users\Vladimir\Work\marble\tmp *
*-DCMAKE_INSTALL_LIBDIR=c:\Users\Vladimir\Work\marble\tmp
-DCMAKE_BUILD_TYPE=Release .. *

Log from console:

*[  0%] Automatic moc for target marblewidget-qt5*
*[  0%] Built target marblewidget-qt5_automoc*
*[  0%] Automatic moc for target astro*
*[  0%] Built target astro_automoc*
*[  0%] Built target astro*
*[ 46%] Built target marblewidget-qt5*
*[ 46%] Built target MarbleDeclarativePlugin_Resources*
*[ 46%] Automatic moc for target marbledeclarative*
*[ 46%] Built target marbledeclarative_automoc*
*[ 46%] Linking CXX shared library libmarbledeclarative.dll*
*src\lib\marble\declarative\CMakeFiles\marbledeclarative.dir\build.make:707:
recipe for target 'src/lib/marble/declarative/libmarbledeclarative.dll'
failed*
*CMakeFiles\Makefile2:1288: recipe for target
'src/lib/marble/declarative/CMakeFiles/marbledeclarative.dir/all' failed*
*makefile:159: recipe for target 'all' failed*

*CMakeFiles\marbledeclarative.dir/objects.a(Bookmarks.cpp.obj):Bookmarks.cpp:(.text+0x2a6):
undefined reference to `_imp___ZN6Marble15MarbleQuickItem5modelEv'*
*CMakeFiles\marbledeclarative.dir/objects.a(Bookmarks.cpp.obj):Bookmarks.cpp:(.text+0x5aa):
undefined reference to `_imp___ZN6Marble15MarbleQuickItem5modelEv'*
*CMakeFiles\marbledeclarative.dir/objects.a(Bookmarks.cpp.obj):Bookmarks.cpp:(.text+0xcea):
undefined reference to `_imp___ZN6Marble15MarbleQuickItem5modelEv'*
*CMakeFiles\marbledeclarative.dir/objects.a(Bookmarks.cpp.obj):Bookmarks.cpp:(.text+0x1a37):
undefined reference to `_imp___ZN6Marble15MarbleQuickItem5modelEv'*
*C:/Qt55-Win/Tools/mingw492_32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe:
CMakeFiles\marbledeclarative.dir/objects.a(Bookmarks.cpp.obj): bad reloc
address 0x4 in section `.data'*
*collect2.exe: error: ld returned 1 exit status*
*mingw32-make[2]: *** [src/lib/marble/declarative/libmarbledeclarative.dll]
Error 1*
*mingw32-make[1]: ***
[src/lib/marble/declarative/CMakeFiles/marbledeclarative.dir/all] Error 2*
*mingw32-make: *** [all] Error 2*


What's wrong?

Regards, Vladimir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20150907/c09b359a/attachment.html>


More information about the Marble-devel mailing list