Page 1 of 1

Copilation errors with MSVS 14(Update 3 2015)

Posted: Wed Aug 31, 2016 7:24 pm
by Tanay
I have generated the CC files with Cmake 3.6.1 & Qt 5.7 and built up the solution (INSTALL file) on MSVS 14(Update 3 2015)
I am getting these errors. What am I doing wrong?

Error list 1/2
Image

Error list 2/2
Image

VS output
Image

Re: Copilation errors with MSVS 14(Update 3 2015)

Posted: Wed Aug 31, 2016 7:34 pm
by daniel
What CMAKE_INSTALL directory have you set? Can you show us your CMake configuration maybe?

And I'm not sure that Qt 5.7 is supported yet (some people have reported issues on Linux at least).

Re: Copilation errors with MSVS 14(Update 3 2015)

Posted: Thu Sep 01, 2016 9:12 am
by Tanay
1] The Camke config is same for Qt5.7 AND Qt5.6.1 (except QT5_ROOT_PATH)
Image

2] I tried Qt version 5.6.1 and the number of errors have increased.
Image

3] It is mentioned here (https://github.com/cloudcompare/trunk/b ... ms_eng.txt)
that Qt must be compiled for 64 bits version on Windows. But I am using Qt Offline Installers from https://www.qt.io/download-open-source/#section-2 (not sure that is okay)

Re: Copilation errors with MSVS 14(Update 3 2015)

Posted: Thu Sep 01, 2016 9:54 am
by daniel
The errors you get with Qt 5.6 are known (see viewtopic.php?t=1835). They are due to Visual 2015. When you apply the patch mentioned in the other thread, do you manage to compile the 'INSTALL' project?

P.S.: your INSTALL prefix is a bit weird (it should be a simple directory like 'D:/CCProjects"). But I don't think it is the cause of your first issue.