Page 1 of 1

(SOLVED)Build "INSTALL" problem

Posted: Wed Oct 31, 2018 10:27 am
by fblue
Hi,
I've followed the instructions to compile CC2.9.1 with Visual Studio 2013 and QT5.7 (64 bits) in Windows7.
It's successful to build the binaries by CMake and to compile the project "ALL BUILD" . Before that I've also changed the default folder of CMAKE_INSTALL_PREFIX to another one which has write acces.
When I build the project "INSTALL", I get always the error of MSB3073 as the image attached. But in my install folder 2 folders are still generated ( cc_Viewer_debug and CloudCompare_debug).
After I saw the post (http://www.danielgm.net/cc/forum/viewtopic.php?t=992), I changed the "Command" option in Debug propertie as told and it runs without problem.

So I wonder how to solve the error MSB3073 or if it does matter? Because it seems that I still can run CC from Visual Studio.

Thanks
error.PNG
error.PNG (15.55 KiB) Viewed 23664 times
error1.PNG
error1.PNG (37.06 KiB) Viewed 23649 times

Re: Build "INSTALL" problem

Posted: Wed Oct 31, 2018 7:36 pm
by daniel
So, does the 'qgifd.dll' file lies in the specified folder? (C:/QT/5.7.1/...)

Because apparently it cannot be found if I believe the message in the console.

Re: Build "INSTALL" problem

Posted: Fri Nov 02, 2018 8:46 am
by fblue
Yes, you are right. Now it is solved.
The problem comes from the wrong path of QT5_ROOT_PATH that I gave as this one (C:/QT/5.7.1_x64/5.7/msvc2013_64/lib/cmake).
The correct one should be C:/QT/5.7.1_x64/5.7/msvc2013_64.