<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><p style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-top:0px">Hi there</p><p style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-top:0px">I would like to install PDAL on a MacBook Pro (version 10.14.3) with the RIEGL rivlib libraries. I have successfully done this on for linux OS in the past.</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">When compiling I get this error</p><blockquote style="box-sizing:border-box;margin:0px 0px 16px;padding:0px 1em;font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><p style="box-sizing:border-box;margin-top:0px;margin-bottom:0px">FAILED: lib/libpdal_plugin_reader_rxp.13.0.0.dylib<br style="box-sizing:border-box">: && /Users/phil/opt/miniconda3/envs/pdal-install/bin/x86_64-apple-darwin13.4.0-clang++ -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0 -isystem /Users/phil/opt/miniconda3/envs/pdal-install/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -dynamiclib -Wl,-headerpad_max_install_names -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/phil/opt/miniconda3/envs/pdal-install/lib -L/Users/phil/opt/miniconda3/envs/pdal-install/lib -compatibility_version 13.0.0 -current_version 13.0.0 -o lib/libpdal_plugin_reader_rxp.13.0.0.dylib -install_name @rpath/libpdal_plugin_reader_rxp.13.dylib plugins/rxp/CMakeFiles/pdal_plugin_reader_rxp.dir/io/RxpPointcloud.cpp.o plugins/rxp/CMakeFiles/pdal_plugin_reader_rxp.dir/io/RxpReader.cpp.o -Wl,-rpath,/Users/phil/opt/PDAL-2.3.0-src/build/lib lib/libpdalcpp.13.0.0.dylib lib/libpdal_util.13.0.0.dylib /Users/phil/opt/rivlib-2_5_10-x86_64-linux-gcc9/lib/libscanlib-mt.a /Users/phil/opt/rivlib-2_5_10-x86_64-linux-gcc9/lib/libriboost_system-mt.a /Users/phil/opt/rivlib-2_5_10-x86_64-linux-gcc9/lib/libriboost_thread-mt.a /Users/phil/opt/rivlib-2_5_10-x86_64-linux-gcc9/lib/libriboost_date_time-mt.a /Users/phil/opt/rivlib-2_5_10-x86_64-linux-gcc9/lib/libriboost_regex-mt.a /Users/phil/opt/rivlib-2_5_10-x86_64-linux-gcc9/lib/libriboost_filesystem-mt.a -lpthread -L/Users/phil/opt/PDAL-2.3.0-src/build/lib && :<br style="box-sizing:border-box">ld: warning: -pie being ignored. It is only used when linking a main executable<br style="box-sizing:border-box">ld: warning: ignoring file /Users/phil/opt/rivlib-2_5_10-x86_64-linux-gcc9/lib/libriboost_system-mt.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )<br style="box-sizing:border-box">ld: warning: ignoring file /Users/phil/opt/rivlib-2_5_10-x86_64-linux-gcc9/lib/libriboost_date_time-mt.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )<br style="box-sizing:border-box">ld: warning: ignoring file /Users/phil/opt/rivlib-2_5_10-x86_64-linux-gcc9/lib/libriboost_regex-mt.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )<br style="box-sizing:border-box">ld: warning: ignoring file /Users/phil/opt/rivlib-2_5_10-x86_64-linux-gcc9/lib/libriboost_thread-mt.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )<br style="box-sizing:border-box">ld: warning: ignoring file /Users/phil/opt/rivlib-2_5_10-x86_64-linux-gcc9/lib/libscanlib-mt.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )<br style="box-sizing:border-box">ld: warning: ignoring file /Users/phil/opt/rivlib-2_5_10-x86_64-linux-gcc9/lib/libriboost_filesystem-mt.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )<br style="box-sizing:border-box">Undefined symbols for architecture x86_64:</p></blockquote><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Then many lines similar to</p><blockquote style="box-sizing:border-box;margin:0px 0px 16px;padding:0px 1em;font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><p style="box-sizing:border-box;margin-top:0px;margin-bottom:0px">"scanlib::pointcloud::on_dyntrig(scanlib::dyntrig<unsigned int const*> const&)", referenced from:<br style="box-sizing:border-box">vtable for pdal::RxpPointcloud in RxpPointcloud.cpp.o</p></blockquote><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Then finally</p><blockquote style="box-sizing:border-box;margin:0px 0px 16px;padding:0px 1em;font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><p style="box-sizing:border-box;margin-top:0px;margin-bottom:0px">ld: symbol(s) not found for architecture x86_64<br style="box-sizing:border-box">clang-11: error: linker command failed with exit code 1 (use -v to see invocation)<br style="box-sizing:border-box">[378/501] Building CXX object test/unit/CMakeFiles/pdal_eigen_test.dir/<span style="box-sizing:border-box;font-weight:600">/</span>/pdal/private/MathUtils.cpp.o<br style="box-sizing:border-box">ninja: build stopped: subcommand failed.</p></blockquote><p style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,47);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-bottom:0px">I am using the <em style="box-sizing:border-box">RiVLib 2.5.10 x86 64bit Linux gcc9 </em><span style="box-sizing:border-box">and am installing in a conda environment.</span></p><p style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,47);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-bottom:0px"><span style="box-sizing:border-box"><br></span></p><p style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,47);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-bottom:0px"><span style="box-sizing:border-box">Any help gratefully received.</span></p><p style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,47);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-bottom:0px"><span style="box-sizing:border-box"><br></span></p><p style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,47);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-bottom:0px"><span style="box-sizing:border-box">Phil</span></p><p style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,47);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-bottom:0px"><span style="box-sizing:border-box"> </span></p><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span>Dr. Phil Wilkes</span></p><p style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span>UCL Geography, Gower Street, London WC1E 6BT</span></p><p style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span>& NERC National Centre for Earth Observation</span></p></div></div></div></div>