Page 1 of 1

Compilation of CloudCompare code to change signed distance parameter in c2m_dist

Posted: Tue Oct 26, 2021 12:59 pm
by AntoninoC
Hi,
i would like to download and compile the CloudCompare code in Visual Studio 2019.
I followed the steps described in the documentation and in the following link http://www.danielgm.net/cc/forum/viewtopic.php?t=992 but when i run the CloudCompare project i got an error since these libraries are missing: libpng16.dll, harfbuzz.dll and pcre2-16.dll. How can i solve this problem?

I'm doing all of this just to change the signed distance parameter in c2m_dist command and use it by windows command line. Is there any other way to do this?

Thanks you.
Best regards

Re: Compilation of CloudCompare code to change signed distance parameter in c2m_dist

Posted: Tue Oct 26, 2021 9:26 pm
by daniel
Have you activated in CMake a lot of plugins and support for 3rd party libraries?

Because these DLLs shouldn't be required by the default installation (CloudCompare only, with Qt).

Re: Compilation of CloudCompare code to change signed distance parameter in c2m_dist

Posted: Wed Oct 27, 2021 8:54 am
by AntoninoC
Thanks for your answer.

I attached you some screen of my cmake setting: what do you think could be wrong? Which flags should i disable?
Do you have any suggest?

Thanks.
Best regards

Re: Compilation of CloudCompare code to change signed distance parameter in c2m_dist

Posted: Thu Oct 28, 2021 7:26 pm
by daniel
I guess you can uncheck:
- CCCORELIB_SHARED
- OPTION_BUILD_CCVIEWER
- OPTION_USE_DXF_LIB
- OPTION_USE_SHAPE_LIB

But if this is what was already checked, I'm surprised you got this error...Are you properly installing all the files (by compiling the 'INSTALL' project) and then running from the 'installation' folder?