After some additional testing it seems to build fine using ubuntu 10.04 32 bit, gcc 4.4.3 and boost 1.44. I usually use my ubuntu 10.04 64 bit machine which seems to still have the problem.
I did have to add the line #include <algorithm> to the file oci_util.cpp to get it to compile on ubuntu. The las2oci program seg-faults on unbuntu if you type las2oci -h but otherwise seems to work. The seg-fault is attached. I haven't verified the data that was placed in oracle yet. I was also able to compile everything successfully on OSX 10.5. It did not require the file modification and las2oci does not seg-fault... Tommy -----Original Message----- From: Howard Butler [mailto:[email protected]] Sent: Tuesday, August 24, 2010 9:17 AM To: Tommy Stehle Cc: [email protected] 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.
las2oci_crash.out
Description: las2oci_crash.out
_______________________________________________ Liblas-devel mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/liblas-devel
