Linking qtwengophone (without DirectX video yet) on MinGW by CMake is
failing because the input line is too long:

Linking CXX executable qtwengophone.exe
cd L:\wengophone-2.1\build\wengophone\src\presentation\qt &&
C:\MinGW\bin\cmake.exe -P
CMakeFiles\qtwengophone.dir\cmake_clean_target.cmake
cd L:\wengophone-2.1\build\wengophone\src\presentation\qt &&
C:\mingw\bin\g++.exe     -g
"CMakeFiles/qtwengophone.dir/moc_QtWengoPhone.obj" "CMakeFiles/q
twengophone.dir/moc_QtConfigPanel.obj"
"CMakeFiles/qtwengophone.dir/moc_QtDialpad.obj"
"CMakeFiles/qtwengophone.dir/moc_QtSVGDialpad.obj" "CMakeFiles/qtwen
gophone.dir/moc_QtHttpProxyLogin.obj"
"CMakeFiles/qtwengophone.dir/moc_QtIdle.obj"
"CMakeFiles/qtwengophone.dir/moc_QtLanguage.obj"
"CMakeFiles/qtwengophon
e.dir/moc_QtToolBar.obj"
"CMakeFiles/qtwengophone.dir/moc_QtSystray.obj"
"CMakeFiles/qtwengophone.dir/moc_QtFactory.obj"
"CMakeFiles/qtwengophone.dir/moc_Q
tPresenceMenuManager.obj"
"CMakeFiles/qtwengophone.dir/moc_QtBrowserWidget.obj"
"CMakeFiles/qtwengophone.dir/moc_QtIMAccountMonitor.obj"
"CMakeFiles/qtweng
ophone.dir/moc_QtNoWengoAlert.obj"
"CMakeFiles/qtwengophone.dir/moc_QtPhoneLine.obj"
"CMakeFiles/qtwengophone.dir/moc_QtPhoneCall.obj" "CMakeFiles/qtwengop
...
-lqtmain -Wl,-Bstatic -lowsystem -lowserializer -lowsocket
-Wl,-Bdynamic -lWs2_32 -Wl,-Bstatic -lowmultiimwrapper -lowgaimwrapper
-lowphapiwrapper -lowsoun
d -lowimwrapper -lowsettings -lowserialization -lowsipwrapper
-lsfp-plugin -Wl,-Bdynamic -lphapiutil -Wl,-Bstatic -lphapi -lexosip
-lsvoip -lsrtp -losip2 -
lgsm -lfidlib -lspeexec -lwtimer -lilbc -lmsdirent -Wl,-Bdynamic
-luser32 -lwininet -liphlpapi -lstrmiids -lole32 -lgdi32 -Wl,-Bstatic
-lortp -lstun -lowwe
nbox -lowshlibloader -lowpixertool -lhttptunnel -Wl,-Bdynamic
-lglib-2.0 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lgaim
-Wl,-Bstatic -ltinyxml -Wl,-Bdyna
mic -lavcodec-51 -lavformat-51 -lavutil-49 -lportaudio -Wl,-Bstatic
-lowqtutil -lQtCore4 -lQtGui4 -lQtXml4 -lQtSvg4 -Wl,-Bdynamic
-lQtUiToolsd -Wl,-Bstatic
-lowhttp -lowthread -lowutil -lowcutil -Wl,-Bdynamic
-lboost_program_options-mgw-mt-d -lboost_regex-mgw-mt-d
-lboost_serialization-mgw-mt-d -lboost_signal
s-mgw-mt-d -lboost_thread-mgw-mt-d -lRpcrt4 -lcurl -leay32 -lopenssl
-lssleay32 -lws2_32 -lwinmm -ladvapi32 -lshell32
The input line is too long.
mingw32-make[2]: *** [wengophone/src/presentation/qt/qtwengophone.exe] Error 255
mingw32-make[2]: Leaving directory `L:/wengophone-2.1/build'
mingw32-make[1]: ***
[wengophone/src/presentation/qt/CMakeFiles/qtwengophone.dir/all] Error
2
mingw32-make[1]: Leaving directory `L:/wengophone-2.1/build'
mingw32-make: *** [all] Error 2

I would propose an idea to build different subdirectories of the Qt
program in different CMake files, in separate libraries, and link them
together in the end. But perhaps there is another idea?

CB
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to