Page 1 of 1
support the las or laz data
Posted: Wed Mar 01, 2017 8:02 am
by snfge
Hi
I have complie CC 2.8 with laslib, but I can import the las data, release is the same problem,why? please help me, thank you
Re: support the las or laz data
Posted: Wed Mar 01, 2017 8:56 am
by snfge
The liblas is from OSGeo4W, it can use? I don't konw why I can't support with las data?
Re: support the las or laz data
Posted: Wed Mar 01, 2017 12:56 pm
by daniel
Can you describe the problem more precisely? Do you get an error during the compilation? Or when loading the file?
Re: support the las or laz data
Posted: Wed Mar 01, 2017 2:15 pm
by snfge
Hi
When I complie, no problem appear, but when I open the las file, the error appear" Can't guess file format:unhandled file extension "las".
Re: support the las or laz data
Posted: Wed Mar 01, 2017 8:45 pm
by daniel
Do you actually see the 'LAS' format in the list of supported formats in the file opening dialog? Are you actually compiling CC with libLAS support or do you maybe have an error on CMake side? (to test this, you can simply write rubish in the LASFilter.cpp file (QCC_IO_LIB project) after #ifdef CC_LAS_SUPPORT and see if you get an error at compilation time or not).
Re: support the las or laz data
Posted: Thu Mar 02, 2017 1:01 am
by snfge
Hi
The 'las' lot in the supported list.
Re: support the las or laz data
Posted: Thu Mar 02, 2017 2:30 am
by snfge
This is the new error:
错误 1 error C2664: “liblas::Point::Point(const liblas::Point &)”: 无法将参数 1 从“const liblas::Header *”转换为“liblas::HeaderPtr” E:\OpenSource\trunk-master-20160614\libs\qCC_io\LASFilter.cpp 398 1 QCC_IO_LIB
Re: support the las or laz data
Posted: Thu Mar 02, 2017 4:16 am
by snfge
错误 1 error LNK1104: 无法打开文件“libboost_system-vc120-mt-1_57.lib” E:\OpenSource\bulid\libs\qCC_io\LINK QCC_IO_LIB
it means can't open the "libboost_system-vc120-mt-1_57.lib"