[Liblas-devel] liblas fails to compile

Tommy Stehle TStehle at HNTB.com
Mon Aug 23 17:01:19 EDT 2010


The results are attached from the verbose compile...


Tommy

-----Original Message-----
From: Howard Butler [mailto:hobu.inc at gmail.com] 
Sent: Monday, August 23, 2010 3:33 PM
To: Tommy Stehle
Cc: liblas-devel at lists.osgeo.org
Subject: Re: [Liblas-devel] liblas fails to compile


On Aug 23, 2010, at 1:53 PM, Tommy Stehle wrote:

> I re-pulled everything again and the errors from the index files are gone.  It seems to have trouble linking the las2las program...The compile results are attached...


> MakeFiles/las2las2.dir/las2las2.cpp.o: In function `main':
> las2las2.cpp:(.text+0x101b): undefined reference to `boost::program_options::options_description::options_description(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'
> las2las2.cpp:(.text+0x12c1): undefined reference to `boost::program_options::options_description::options_description(unsigned int, unsigned int)'
> CMakeFiles/las2las2.dir/las2las2.cpp.o: In function `std::basic_string<char, std::char_traits<char>, std::allocator<char> > const& boost::program_options::validators::get_single_string<char>(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool)':
> las2las2.cpp:(.text._ZN5boost15program_options10validators17get_single_stringIcEERKSbIT_St11char_traitsIS3_ESaIS3_EERKSt6vectorIS7_SaIS7_EEb[std::basic_string<char, std::char_traits<char>, std::allocator<char> > const& boost::program_options::validators::get_single_string<char>(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool)]+0x131): undefined reference to `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> las2las2.cpp:(.text._ZN5boost15program_options10validators17get_single_stringIcEERKSbIT_St11char_traitsIS3_ESaIS3_EERKSt6vectorIS7_SaIS7_EEb[std::basic_string<char, std::char_traits<char>, std::allocator<char> > const& boost::program_options::validators::get_single_string<char>(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool)]+0x266): undefined reference to `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> CMakeFiles/las2las2.dir/laskernel.cpp.o: In function `GetFilteringOptions()':
> laskernel.cpp:(.text+0x10a3): undefined reference to `boost::program_options::options_description::options_description(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'
> CMakeFiles/las2las2.dir/laskernel.cpp.o: In function `GetTransformationOptions()':
> laskernel.cpp:(.text+0x148c): undefined reference to `boost::program_options::options_description::options_description(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/las2las2] Error 1
> make[1]: *** [apps/CMakeFiles/las2las2.dir/all] Error 2
> make: *** [all] Error 2
>   


Hmm.  Can you run 'make VERBOSE=1" and extract the line that does the las2las link?  It seems like the boost libs aren't getting included (las2las2 needs these).

Howard


This e-mail and any files transmitted with it are confidential 
and are intended solely for the use of the individual or entity 
to whom they are addressed. 

If you are NOT the intended recipient or the person responsible for 
delivering the e-mail to the intended recipient, 
be advised that you have received this e-mail in error and that any use, 
dissemination, forwarding, printing or copying this e-mail is strictly prohibited.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make3.out
Type: application/octet-stream
Size: 612 bytes
Desc: make3.out
Url : http://lists.osgeo.org/pipermail/liblas-devel/attachments/20100823/9466f5d4/make3.obj


More information about the Liblas-devel mailing list