Page 1 of 1

Miss some dlls for compile

Posted: Thu Nov 17, 2016 1:16 pm
by arthur
Hello everyone,

I just try to compile CloudCompare on my laptop and after generate the build in CMake, I run the debug for INSTALL in Visual Studio and obtain these errors (in french) :
Image Unable to start program 'D:\Arthur Le Guennec\Documents\trunck-master\build\x64\Debug\INSTALL'. Specified file cannot be found.

And when I try to debug CloudCompare directly, I have :
Image Miss CC_CORE_LIBd.dll
Image Miss QCC_DB_LIBd.dll
Image Miss QCC_IO_LIBd.dll
Image Miss Qt5PrintSupportd.dll

My configuration in cmake is :
Image

and I have Windows 10, CMake 3.7.0, Qt5.6, Visual Studio 2015.

Can anyone help me ?

Thanks,
Arthur

Re: Miss some dlls for compile

Posted: Thu Nov 17, 2016 6:08 pm
by daniel
Have you read this post? http://www.danielgm.net/cc/forum/viewto ... =992#p3528

You shouldn't 'run' the INSTALL project, but only compile it. And then you have to start the CloudCompare project but first you have to define the right location of the 'installed' CloudCompare.exe file (in the Debug properties of the project).

Re: Miss some dlls for compile

Posted: Mon Nov 21, 2016 10:59 am
by arthur
Sorry, I misspoke, I didn't run the INSTALL project, but I tried to compile it, but I have the message : Unable to start program 'D:\Arthur Le Guennec\Documents\trunck-master\build\x64\Debug\INSTALL'. Specified file cannot be found.

Re: Miss some dlls for compile

Posted: Mon Nov 21, 2016 7:55 pm
by daniel
Are you actually right clicking on the INSTALL project and choosing the 'generate' option? Because it shouldn't give you an 'Unable to start program' error.

This is the error I get on my side when I start the project (with F5 or CTRL+F5). 'Generate' corresponds to the F7 shortcut (with the right project set as default).

Re: Miss some dlls for compile

Posted: Tue Nov 22, 2016 9:19 am
by arthur
Yes, it works now ! Sorry, but I recently begin to program on Windows and I had never used Visual Studio before.

Thank you,
Arthur