[trunk] R5320 Windows build fails

• Feb 13, 2012 - 20:41

I'm trying to build the latest trunk, but both R5319 and 5320 fail for me. I'm running Win7 32-bit with Qt 4.7.4. I did a complete new checkout at 5319, and also a clean build (with full admin rights), but I still get the same errors during MSCORE.EXE linking. Below is a dump from the console window. Note that the two files mentioned below, "palette.cpp" and "profile.cpp", were compiled earlier (at about 93%) without fault.

[100%] Building CXX object mscore/CMakeFiles/mscore.dir/jackaudio.cpp.obj
[100%] Building CXX object mscore/CMakeFiles/mscore.dir/jackweakapi.cpp.obj
Linking CXX executable mscore.exe
Creating library file: libmscore.dll.a
CMakeFiles/mscore.dir/palette.cpp.obj:palette.cpp:(.text+0x5c90): undefined reference to `_imp___ZN10QZipWriterC1ERK7QString6QFlagsIN9QIODevice12OpenModeFlagEE'

CMakeFiles/mscore.dir/palette.cpp.obj:palette.cpp:(.text+0x5caa): undefined reference to `_imp___ZN10QZipWriter22setCreationPermissionsE6QFlagsIN5QFile10PermissionEE'
CMakeFiles/mscore.dir/palette.cpp.obj:palette.cpp:(.text+0x5cb6): undefined reference to `_imp___ZNK10QZipWriter6statusEv'
CMakeFiles/mscore.dir/palette.cpp.obj:palette.cpp:(.text+0x5cdd): undefined reference to `_imp___ZN10QZipWriterD1Ev'
CMakeFiles/mscore.dir/palette.cpp.obj:palette.cpp:(.text+0x6241): undefined reference to `_imp___ZN10QZipWriter12addDirectoryERK7QString'
CMakeFiles/mscore.dir/palette.cpp.obj:palette.cpp:(.text+0x62e6): undefined reference to `_imp___ZN10QZipWriter7addFileERK7QStringRK10QByteArray'
CMakeFiles/mscore.dir/palette.cpp.obj:palette.cpp:(.text+0x65ec): undefined reference to `_imp___ZN10QZipWriter5closeEv'
CMakeFiles/mscore.dir/palette.cpp.obj:palette.cpp:(.text+0x6645): undefined reference to `_imp___ZN10QZipWriterD1Ev'
CMakeFiles/mscore.dir/palette.cpp.obj:palette.cpp:(.text+0x684a): undefined reference to `_imp___ZN10QZipWriterD1Ev'
CMakeFiles/mscore.dir/profile.cpp.obj:profile.cpp:(.text+0x279a): undefined reference to `_imp___ZN10QZipWriterC1ERK7QString6QFlagsIN9QIODevice12OpenModeFlagEE'

CMakeFiles/mscore.dir/profile.cpp.obj:profile.cpp:(.text+0x27ae): undefined reference to `_imp___ZN10QZipWriter20setCompressionPolicyENS_17CompressionPolicyE'
CMakeFiles/mscore.dir/profile.cpp.obj:profile.cpp:(.text+0x27c8): undefined reference to `_imp___ZN10QZipWriter22setCreationPermissionsE6QFlagsIN5QFile10PermissionEE'
CMakeFiles/mscore.dir/profile.cpp.obj:profile.cpp:(.text+0x27d1): undefined reference to `_imp___ZNK10QZipWriter6statusEv'
CMakeFiles/mscore.dir/profile.cpp.obj:profile.cpp:(.text+0x27fb): undefined reference to `_imp___ZN10QZipWriterD1Ev'
CMakeFiles/mscore.dir/profile.cpp.obj:profile.cpp:(.text+0x2ca2): undefined reference to `_imp___ZN10QZipWriter12addDirectoryERK7QString'
CMakeFiles/mscore.dir/profile.cpp.obj:profile.cpp:(.text+0x2d46): undefined reference to `_imp___ZN10QZipWriter7addFileERK7QStringRK10QByteArray'
CMakeFiles/mscore.dir/profile.cpp.obj:profile.cpp:(.text+0x300c): undefined reference to `_imp___ZN10QZipWriter5closeEv'
CMakeFiles/mscore.dir/profile.cpp.obj:profile.cpp:(.text+0x3059): undefined reference to `_imp___ZN10QZipWriterD1Ev'
CMakeFiles/mscore.dir/profile.cpp.obj:profile.cpp:(.text+0x35de): undefined reference to `_imp___ZN10QZipWriterD1Ev'
collect2: ld returned 1 exit status
mingw32-make[3]: *** [mscore/mscore.exe] Error 1
mingw32-make[3]: Leaving directory `D:/MS_TRUNK/win32build'
mingw32-make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
mingw32-make[2]: Leaving directory `D:/MS_TRUNK/win32build'
mingw32-make[1]: *** [all] Error 2
mingw32-make[1]: Leaving directory `D:/MS_TRUNK/win32build'
mingw32-make: *** [release] Error 2


Comments

In reply to by [DELETED] 5

As I said, "I did a complete new checkout at 5319, and also a clean build (with full admin rights)". I am downloading 4.8 as I did notice you changed the trunk requirements in 5321/5322, but everyone else seems to be able to build using Qt 4.7.4 including you.

I'm at home now, and will do a simple SVN update and try (still using 4.7.4), but I doubt it will work.

In reply to by schepers

I've upgraded to qt 4.8.0 on both computers, and updated the MS code rev to 5325. I can compile the branch in both places fine with the new Qt, but the trunk only compiles cleanly on one. On the other I get an issue just when starting to link mscore.exe, some complaint about LD. I will check into it tonight.

I certainly never got this far with 4.7.4 compiling the latest trunk.

Do you still have an unanswered question? Please log in first to post your question.