Copilation errors with MSVS 14(Update 3 2015)

All about Windows versions
Post Reply
Tanay
Posts: 13
Joined: Thu May 19, 2016 10:03 am

Copilation errors with MSVS 14(Update 3 2015)

Post 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
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

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

Post 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).
Daniel, CloudCompare admin
Tanay
Posts: 13
Joined: Thu May 19, 2016 10:03 am

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

Post 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)
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

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

Post 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.
Daniel, CloudCompare admin
Post Reply