Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdal_wrench: symbol lookup error: pdal_wrench: undefined symbol: [continued in text] #30

Open
mlefsky opened this issue Dec 2, 2023 · 2 comments

Comments

@mlefsky
Copy link

mlefsky commented Dec 2, 2023

I'm trying to get pdal_wrench to work on ubuntu 22.04 but am stuck at the following error:

pdal_wrench: symbol lookup error: pdal_wrench: undefined symbol: _ZN4pdal9FileUtils10fromNativeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

The full output is appended

Thanks for taking a look at this.

Michael

(pdal) /time_trials/wrench2$ cmake .
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found GDAL: /home/lefsky/miniconda3/envs/pdal/lib/libgdal.so (found version "3.4.1")
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Pedantic compiler settings enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lefsky/time_trials/wrench2
(pdal) lefsky@lefsky-X10DRi:
/time_trials/wrench2$ make
[ 4%] Building CXX object CMakeFiles/pdal_wrench.dir/src/main.cpp.o
[ 8%] Building CXX object CMakeFiles/pdal_wrench.dir/src/alg.cpp.o
[ 13%] Building CXX object CMakeFiles/pdal_wrench.dir/src/boundary.cpp.o
[ 17%] Building CXX object CMakeFiles/pdal_wrench.dir/src/clip.cpp.o
[ 21%] Building CXX object CMakeFiles/pdal_wrench.dir/src/density.cpp.o
[ 26%] Building CXX object CMakeFiles/pdal_wrench.dir/src/info.cpp.o
[ 30%] Building CXX object CMakeFiles/pdal_wrench.dir/src/merge.cpp.o
[ 34%] Building CXX object CMakeFiles/pdal_wrench.dir/src/thin.cpp.o
[ 39%] Building CXX object CMakeFiles/pdal_wrench.dir/src/to_raster.cpp.o
[ 43%] Building CXX object CMakeFiles/pdal_wrench.dir/src/to_raster_tin.cpp.o
[ 47%] Building CXX object CMakeFiles/pdal_wrench.dir/src/to_vector.cpp.o
[ 52%] Building CXX object CMakeFiles/pdal_wrench.dir/src/translate.cpp.o
[ 56%] Building CXX object CMakeFiles/pdal_wrench.dir/src/utils.cpp.o
[ 60%] Building CXX object CMakeFiles/pdal_wrench.dir/src/vpc.cpp.o
[ 65%] Building CXX object CMakeFiles/pdal_wrench.dir/src/tile/tile.cpp.o
[ 69%] Building CXX object CMakeFiles/pdal_wrench.dir/src/tile/BufferCache.cpp.o
[ 73%] Building CXX object CMakeFiles/pdal_wrench.dir/src/tile/Cell.cpp.o
[ 78%] Building CXX object CMakeFiles/pdal_wrench.dir/src/tile/FileProcessor.cpp.o
[ 82%] Building CXX object CMakeFiles/pdal_wrench.dir/src/tile/Las.cpp.o
[ 86%] Building CXX object CMakeFiles/pdal_wrench.dir/src/tile/TileGrid.cpp.o
[ 91%] Building CXX object CMakeFiles/pdal_wrench.dir/src/tile/ThreadPool.cpp.o
[ 95%] Building CXX object CMakeFiles/pdal_wrench.dir/src/tile/Writer.cpp.o
[100%] Linking CXX executable pdal_wrench
[100%] Built target pdal_wrench
(pdal) lefsky@lefsky-X10DRi:~/time_trials/wrench2$ pdal_wrench
pdal_wrench: symbol lookup error: pdal_wrench: undefined symbol: _ZN4pdal9FileUtils10fromNativeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

@wonder-sk
Copy link
Collaborator

wonder-sk commented Dec 3, 2023

What version of PDAL do you use, and how did you install it? You will need at least PDAL 2.5...

@mlefsky
Copy link
Author

mlefsky commented Dec 3, 2023

It is 2.5.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants