记录了CloudCompare
的使用方法、技巧以及在使用中遇到的问题和解决方案。
compile and install
Qt 5.15.2 compiled with MSVC 2019, it is advisable to use Visual Studio 2019 to maintain consistency. Qt 5.12 to 5.15 is the supported range.
qa
FBX
error during compilation
CMake Error at plugins/core/IO/qFBXIO/CMakeLists.txt:21 (message):
No FBX SDK include dir specified (FBX_SDK_INCLUDE_DIR)
CMake Error at plugins/core/IO/qFBXIO/CMakeLists.txt:38 (message):
FBX SDK library not found: can't link
solution:</br>
- Download
the Autodesk FBX SDK
here. Choose the version that matches your system architecture (e.g., Linux, Windows, macOS) and install it. - Follow the instructions in
<yourFBXSDKpath>\Install_FbxFileSdk.txt
to install it. - Set
include
andlib
path in fileplugins/core/IO/qFBXIO/CMakeLists.txt
.
las
error during compilation
plugins/core/IO/qLASIO/cmake/FindLASzip.cmake:28 (find_package_handle_standard_args)
plugins/core/IO/qLASIO/CMakeLists.txt:9 (find_package)
For Ubuntu, run sudo apt-get install liblaszip-dev
to install it.
Add support for RDB
CMake Error at plugins/core/IO/qRDBIO/CMakeLists.txt:51 (find_package):
By not providing "Findrdb.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "rdb", but
CMake did not find one.
Could not find a package configuration file provided by "rdb" with any of
the following names:
rdbConfig.cmake
rdb-config.cmake
OpenCASCADE
- Install Dependencies:
sudo apt install cmake g++ make libx11-dev libfreetype6-dev libgl1-mesa-dev libglu1-mesa-dev
- Download the Source Code
git clone https://github.com/Open-Cascade-SAS/OCCT.git
cd OCCT
- Create a Build Directory
mkdir build && cd build
- Configure the Build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
- Build the Source:
make
- Install OpenCASCADE
sudo make install
- Update the Library Path (if needed): If OpenCASCADE libraries are not in a standard location, add them to your
LD_LIBRARY_PATH
:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH