las1.81 boost1.57

Feel free to ask any question here
Post Reply
snfge
Posts: 72
Joined: Thu Nov 20, 2014 4:12 am

las1.81 boost1.57

Post by snfge »

Hi
when I complied with laslib, there have 63 errors appear, like the follow, how can I solve it? thank you.
错误 4 error LNK2019: 无法解析的外部符号 "public: __cdecl liblas::Color::Color(unsigned int,unsigned int,unsigned int)" (??0Color@liblas@@QEAA@III@Z),该符号在函数 "public: virtual enum CC_FILE_ERROR __cdecl LASFilter::saveToFile(class ccHObject *,class QString,struct FileIOFilter::SaveParameters &)" (?saveToFile@LASFilter@@UEAA?AW4CC_FILE_ERROR@@PEAVccHObject@@VQString@@AEAUSaveParameters@FileIOFilter@@@Z) 中被引用 E:\OpenSource\bulid\libs\qCC_io\LASFilter.obj QCC_IO_LIB
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: las1.81 boost1.57

Post by daniel »

Looks like another linking issue. If an compilation error occurs (or a linking error of one of the core libraries) then all the others will complain.
Daniel, CloudCompare admin
snfge
Posts: 72
Joined: Thu Nov 20, 2014 4:12 am

Re: las1.81 boost1.57

Post by snfge »

I always can't support the las, when I complie, many error happen, why?
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: las1.81 boost1.57

Post by daniel »

Could you avoid duplicating the threads please?

If it doesn't compile, it's probably because either the CMake configuration is wrong, or the libraries you are trying to link are wrong (wrong version / wrong configuration / etc.).
Daniel, CloudCompare admin
Post Reply