[FIXED] Ubuntu 14.04 linker error
Posted: Mon May 05, 2014 9:45 pm
Hi all,
I'm trying to compile CloudeCompare (the git head of master branch) against QT5 on a Xubuntu 14.04 32bit machine.
At linker time I get:
Linking CXX executable CloudCompare
/usr/bin/ld: cannot find -lQt5::WinMain
collect2: error: ld returned 1 exit status
make[2]: *** [qCC/CloudCompare] Error 1
make[1]: *** [qCC/CMakeFiles/CloudCompare.dir/all] Error 2
make: *** [all] Error 2
Do you have any suggestion on which library the linker is looking for?
As far as I can see, no ubuntu package provide Qt5::WinMain.
Any suggestion will be appreciated.
Thanks
Regards
Gigi
I'm trying to compile CloudeCompare (the git head of master branch) against QT5 on a Xubuntu 14.04 32bit machine.
At linker time I get:
Linking CXX executable CloudCompare
/usr/bin/ld: cannot find -lQt5::WinMain
collect2: error: ld returned 1 exit status
make[2]: *** [qCC/CloudCompare] Error 1
make[1]: *** [qCC/CMakeFiles/CloudCompare.dir/all] Error 2
make: *** [all] Error 2
Do you have any suggestion on which library the linker is looking for?
As far as I can see, no ubuntu package provide Qt5::WinMain.
Any suggestion will be appreciated.
Thanks
Regards
Gigi