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
[FIXED] Ubuntu 14.04 linker error
Re: Ubuntu 14.04 linker error
Hi,
In fact the compilation with Qt5 is not finished and still under development (we don't even talk about it in the compilation instructions ;).
I've just patched the CMake files to prevent the WinMain issue. But you might encounter other errors...
In fact the compilation with Qt5 is not finished and still under development (we don't even talk about it in the compilation instructions ;).
I've just patched the CMake files to prevent the WinMain issue. But you might encounter other errors...
Daniel, CloudCompare admin
Re: Ubuntu 14.04 linker error
Thanks!
I successfully compiled both cloudcompare and ccviewer.
Both of them are able to load projects.
I successfully compiled both cloudcompare and ccviewer.
Both of them are able to load projects.
Re: Ubuntu 14.04 linker error
Good news!
We still have issues on MacOS but it should be fixed soon.
We still have issues on MacOS but it should be fixed soon.
Daniel, CloudCompare admin