I already compiled lastools by vs2013, check INSTALL_QLAS_FWF_IO_PLUGIN and OPTION_PDAL_LAS in CMake and compile CC with LAS support, it works fine.
Now I want compile by vs2015, according to BUILD.md, If I want to compile CloudCompare with LAS/LAZ files support, download PDAL by OSGeo4W , set OPTION_PDAL_LAS=TRUE ,set the PDAL_DIR to the path containing PDALConfig.cmake will do.
compiled successfully, but can not read las file.
Should I compile lastools by vs2015 first? both INSTALL_QLAS_FWF_IO_PLUGIN and OPTION_PDAL_LAS are necessary to support LAS file?
Can not load Las file
Re: Can not load Las file
The QLAS_FWF plugin is only necessary to load LAS 1.3+ and 1.4 files with FWF data.
Otherwise the PDAL filter should give you the default LAS filter in the loading dialog. Do you get an error when you load LAS files, or is CC simply ignoring them?
Otherwise the PDAL filter should give you the default LAS filter in the loading dialog. Do you get an error when you load LAS files, or is CC simply ignoring them?
Daniel, CloudCompare admin
Re: Can not load Las file
Get an error dialog, can not guess file format.
So I should work on PDAL?
Download PDAL by OSGeo4W when i was use vs2013, now transplant to vs2015. Generating Done, but compiled false.
So I should work on PDAL?
Download PDAL by OSGeo4W when i was use vs2013, now transplant to vs2015. Generating Done, but compiled false.
Re: Can not load Las file
What do you mean by "compiled false"? Do you have errors?
Daniel, CloudCompare admin
Re: Can not load Las file
I thought maybe the PDAL was damaged, so I get a new one by Conda, as the PDAL.io suggest.
The "can not guess file format" dialog was gone. CC can recognize las file, but still can not load it.
I follow the code in debug mode. It jump out when add information to Pdal::Option.
the break point location:
file: LASFilter.cpp
function name: loadFile
line: 894
version: github release v2.10.2
The "can not guess file format" dialog was gone. CC can recognize las file, but still can not load it.
I follow the code in debug mode. It jump out when add information to Pdal::Option.
the break point location:
file: LASFilter.cpp
function name: loadFile
line: 894
version: github release v2.10.2
Re: Can not load Las file
There currently a problem when you compile CloudCompare in debug mode, with PDAL support.
(PDAL throws a 'bad conversion' exception)
Have you tried compiling in Release mode ?
(PDAL throws a 'bad conversion' exception)
Have you tried compiling in Release mode ?
Re: Can not load Las file
Release mode works fine, thanks a lot.