Page 1 of 1
build release type
Posted: Mon Aug 12, 2013 12:35 pm
by nanshanheelong
Hi
I had already build a Debug type,and I've managed to build CloudCompare in release type with VC2010 but it getting the error
like " can't open the include file 'liblas/point.hpp'"
Anyway around this? I'm no expert in these things! Any help you can provide would be great.
heelong
Re: build release type
Posted: Mon Aug 12, 2013 1:04 pm
by daniel
It's because you must have enabled the LAS file support in CMake but the library and include path are not set correctly (and it works in Debug mode because LAS is not supported in this mode whatever the CMake configuration is).
So basically you have two options:
- disable the OPTION_USE_LIBLAS entry in CMake
- or setup the liblas paths correctly (LIBLAS_INCLUDE_DIR, LIBLAS_RELEASE_LIBRARY_FILE and LIBLAS_SHARED_LIBRARY_FILE)
Re: daniel
Posted: Tue Aug 13, 2013 12:57 am
by nanshanheelong
hi daniel
yes,you was right,and I can build a release type now,but I still can't use it to open LAS file, should I build LIBLAS in release type?
I use LIBLAS with Debug type,but it error:
"000000013F254F63 mov rdi,qword ptr [rax+0B8h] "
can you give me some advice?
thank you very much
heelong
Re: daniel
Posted: Tue Aug 13, 2013 1:11 am
by nanshanheelong
hi daniel
I had solve this problem.yes I really should build LAS in release type.
thank you very much
heelong
Re: build release type
Posted: Wed Oct 30, 2013 10:02 am
by tsyxulei
I have a question: I have set up liblas paths correctly ,just like (LIBLAS_INCLUDE_DIR, LIBLAS_RELEASE_LIBRARY_FILE and LIBLAS_SHARED_LIBRARY_FILE). but I have not success .I guess the problem may be because environment variables . Can you give me some advises?
Re: build release type
Posted: Wed Oct 30, 2013 11:28 am
by daniel
What is your OS? And what is the error?
Note that on Windows/Visual, liblas is only enabled in 'release' mode.