[Liblas-devel] liblas fails to compile
Howard Butler
hobu.inc at gmail.com
Tue Aug 24 12:01:34 EDT 2010
The linker is trying to link against 'boost_program_options-mt' but you don't have it. Use cmake to edit your Boost_PROGRAM_OPTIONS_LIBRARY variable (you may have to toggle the advanced view if you are using cmake-gui or ccmake to see this). Reconfigure and regenerate your makefiles and see if this gets you going.
On Aug 24, 2010, at 10:42 AM, Tommy Stehle wrote:
> The only program options files that I have are:
>
> /usr/local/lib/libboost_program_options.a
> /usr/local/lib/libboost_program_options.so
> /usr/local/lib/libboost_program_options.so.1.44.0
>
> Tommy
>
>
>
> -----Original Message-----
> From: Howard Butler [mailto:hobu.inc at gmail.com]
> Sent: Tuesday, August 24, 2010 9:17 AM
> To: Tommy Stehle
> Cc: liblas-devel at lists.osgeo.org
> Subject: Re: [Liblas-devel] liblas fails to compile
>
>
> On Aug 23, 2010, at 4:12 PM, Howard Butler wrote:
>
>>
>> On Aug 23, 2010, at 4:01 PM, Tommy Stehle wrote:
>>
>>> The results are attached from the verbose compile...
>>>
>>
>>> cd /home/tstehle/liblas/main/apps && /usr/bin/cmake -E cmake_link_script
>>> CMakeFiles/las2las2.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -Wall
>>> -Wno-long-long -ansi -std=c++98 CMakeFiles/las2las2.dir/las2las2.cpp.o
>>> CMakeFiles/las2las2.dir/laskernel.cpp.o -o ../bin/las2las2 -rdynamic
>>> -L/usr/lib/oracle/11.2/client64/lib ../bin/liblas.a /usr/local/lib/libtiff.so
>>> /usr/local/lib/libgeotiff.so /usr/local/lib/libgdal.so
>>> /usr/lib/oracle/11.2/client64/lib/libclntsh.so
>>> /usr/lib/oracle/11.2/client64/lib/libocci.so -lnnz11
>
>>> -lboost_program_options-mt
>
> Do you have "libboost_program_options-mt" in your /usr/local/lib directory instead of "boost_program_options-mt"?
>
> 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.
>
More information about the Liblas-devel
mailing list