Closed mxblsdl closed 3 years ago
R packages self contain the correct options to compile. Here rlas
must be compiled in C++14. You can overwrite default compiler options but some package may fail to compile. Here I suggest to remove the line you mentioned in the Makevars
Also you need a fairly recent compiler that supports true C++14
When I remove that line from the Makevar file I get the error
Error: C++14 standard requested but CXX14 is not defined
Ok that's an error already seen on Windows for old versions of R. But you said you are using R 4.0. Which linux distribution are you using? Which version of g++ is used by default? Can you show more of the output of the compilation?
Running g++ -v
outputs:
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
Using red hat distribution. The compilation error is only:
* installing *source* package ‘rlas’ ...
** package ‘rlas’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
Error: C++14 standard requested but CXX14 is not defined
* removing ‘/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/rlas’
Warning in install.packages :
installation of package ‘rlas’ had non-zero exit status
When I install without a Makevar file.
gcc 4.8 is pretty old and does not support C++14. Only pre-standard C++14 with c++1y
. See https://stackoverflow.com/questions/31965413/compile-c14-code-with-g
The CRAN no longer compiles with gcc 4.8. They used 4.9 for old versions of R and gcc > 8 on all other flavours. See https://cran.r-project.org/web/checks/check_flavors.html
So the way is to get a fairly recent compiler I guess.
Okay thank you this is very helpful. I don't have direct control over the operating system so updating the compiler will have to go through IT. I will follow up if this provides a solution.
I got gcc
updated to version 7.3.1 but I'm still getting errors when trying to compile rlas
.
A sample of the errors:
/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/core/tag.hpp:68:17: error: no type named ‘type’ in ‘struct boost::geometry::util::remove_cptrref<boost::geometry::model::multi_polygon<boost::geometry::model::polygon<boost::geometry::model::point<double, 2ul, boost::geometry::cs::cartesian> > > >’
Using the Makevar file:
CXX14=gcc
PKG_CXXFLAGS = -std=gnu++1y
If I don't use a Markvar file I get the error:
Error: C++14 standard requested but CXX14 is not defined
Any ideas on what could be causing this or how to get around it?
Remove your PKG_CXXFLAGS
and check if gcc
really points to gcc7
gcc -v
if not check if gcc-7
is an existing command.
For example on my computer gcc
points to gcc-9
which is 9.3.0
but I also have gcc-10
. Then you have two options. The best is to make gcc
pointing to gcc-7
instead of gcc-4
. Google it I don't know how to do it without google. Or you can
CXX14=gcc-7
I changed the CXX14
variable to point to the newer version of gcc
. To install gcc
on RHEL7 we needed to use devtools-set and it puts the newer version of gcc
in a different subfolder.
Unfortunately I'm getting a different error now:
./RcppExports.o: relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld: final link failed: Nonrepresentable section on output
Any ideas on this?
Absolutely not. Googling it gives a lot of results that seems to be related to specific instruction set of processor architecture... if correct this is waaaay too low level for me. But some stackoverflow answers are in accordance with the message you get:
recompile with -fPIC
In the Makevars try to add
CXX14FLAGS=-fPIC
Please copy/paste the compilation directives you see on screen to see everything that happened during compilation
I moved the -fPIC
flag to the line: CXX14 = /opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC
And I'm almost able to load the package. I now get a different error shown below. There are some leads by googling this error but still haven't figured it out. Seems like an issue with _ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv
but I'm not sure what that is.
*** installing help indices
converting help for package ‘rlas’
finding HTML links ... done
check html
crs_tools html
extra_bytes_attribute_tools html
las_specification_tools html
public_header_block_tools html
read.las html
read.lasheader html
write.las html
writelax html
** building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘rlas’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-rlas/00new/rlas/libs/rlas.so':
/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-rlas/00new/rlas/libs/rlas.so: undefined symbol: _ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv
Error: loading failed
Execution halted
ERROR: loading failed
Show me the whole compilation output
Installing package into ‘/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/rlas_1.4.0.tar.gz'
Content type 'application/x-gzip' length 387172 bytes (378 KB)
==================================================
downloaded 378 KB
* installing *source* package ‘rlas’ ...
** package ‘rlas’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_txt.cpp -o LASlib/lasreader_txt.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/fopen_compressed.cpp -o LASlib/fopen_compressed.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswriter_las.cpp -o LASlib/laswriter_las.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreaderbuffered.cpp -o LASlib/lasreaderbuffered.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreadermerged.cpp -o LASlib/lasreadermerged.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswriter_wrl.cpp -o LASlib/laswriter_wrl.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_shp.cpp -o LASlib/lasreader_shp.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_asc.cpp -o LASlib/lasreader_asc.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreaderstored.cpp -o LASlib/lasreaderstored.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreaderpipeon.cpp -o LASlib/lasreaderpipeon.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_bil.cpp -o LASlib/lasreader_bil.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lastransform.cpp -o LASlib/lastransform.o
LASlib/lastransform.cpp:791:149: warning: multi-character character constant [-Wmultichar]
inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s%c %u ", name(), (rgbi == 0 ? 'R' : (rgbi == 1 ? 'G' : (rgbi == 2 ? 'B' : 'NIR'))), index); };
^~~~~
LASlib/lastransform.cpp:1069:149: warning: multi-character character constant [-Wmultichar]
inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s%c %u ", name(), (rgbi == 0 ? 'R' : (rgbi == 1 ? 'G' : (rgbi == 2 ? 'B' : 'NIR'))), index); };
^~~~~
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswaveform13writer.cpp -o LASlib/laswaveform13writer.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswaveform13reader.cpp -o LASlib/laswaveform13reader.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswritercompatible.cpp -o LASlib/laswritercompatible.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasutility.cpp -o LASlib/lasutility.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_dtm.cpp -o LASlib/lasreader_dtm.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasfilter.cpp -o LASlib/lasfilter.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasignore.cpp -o LASlib/lasignore.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laskdtree.cpp -o LASlib/laskdtree.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswriter_qfit.cpp -o LASlib/laswriter_qfit.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_qfit.cpp -o LASlib/lasreader_qfit.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswriter.cpp -o LASlib/laswriter.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader.cpp -o LASlib/lasreader.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_las.cpp -o LASlib/lasreader_las.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_ply.cpp -o LASlib/lasreader_ply.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_bin.cpp -o LASlib/lasreader_bin.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswriter_bin.cpp -o LASlib/laswriter_bin.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswriter_txt.cpp -o LASlib/laswriter_txt.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/laszip.cpp -o LASzip/laszip.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasindex.cpp -o LASzip/lasindex.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/arithmeticmodel.cpp -o LASzip/arithmeticmodel.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/laswriteitemcompressed_v1.cpp -o LASzip/laswriteitemcompressed_v1.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/laswriteitemcompressed_v2.cpp -o LASzip/laswriteitemcompressed_v2.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/laswriteitemcompressed_v3.cpp -o LASzip/laswriteitemcompressed_v3.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/laswriteitemcompressed_v4.cpp -o LASzip/laswriteitemcompressed_v4.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasreaditemcompressed_v1.cpp -o LASzip/lasreaditemcompressed_v1.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasreaditemcompressed_v2.cpp -o LASzip/lasreaditemcompressed_v2.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasreaditemcompressed_v3.cpp -o LASzip/lasreaditemcompressed_v3.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasreaditemcompressed_v4.cpp -o LASzip/lasreaditemcompressed_v4.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/arithmeticdecoder.cpp -o LASzip/arithmeticdecoder.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/arithmeticencoder.cpp -o LASzip/arithmeticencoder.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasquadtree.cpp -o LASzip/lasquadtree.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/laswritepoint.cpp -o LASzip/laswritepoint.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasreadpoint.cpp -o LASzip/lasreadpoint.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/integercompressor.cpp -o LASzip/integercompressor.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasinterval.cpp -o LASzip/lasinterval.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c rlasstreamer.cpp -o rlasstreamer.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c rlasextrabytesattributes.cpp -o rlasextrabytesattributes.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c readLAS.cpp -o readLAS.o
In file included from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/mem_fn.hpp:25:0,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/mem_fn.hpp:22,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/function/detail/prologue.hpp:18,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/function.hpp:30,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string/detail/find_iterator.hpp:18,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string/find_iterator.hpp:24,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string/iter_find.hpp:27,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string/split.hpp:16,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string.hpp:23,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/io/wkt/read.hpp:29,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/io/wkt/wkt.hpp:17,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/strategies/cartesian/buffer_end_round.hpp:27,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/strategies/strategies.hpp:46,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/geometry.hpp:58,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry.hpp:17,
from readLAS.cpp:36:
/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/get_pointer.hpp:48:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
template<class T> T * get_pointer(std::auto_ptr<T> const& p)
^~~~~~~~
In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_conv.h:41:0,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/locale:43,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/iomanip:43,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include/RcppCommon.h:52,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include/Rcpp.h:27,
from readLAS.cpp:35:
/opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/scoped_ptr.hpp:13:0,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/index/detail/rtree/query_iterators.hpp:18,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/index/rtree.hpp:90,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/within/multi_point.hpp:35,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/within/implementation.hpp:41,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/covered_by/implementation.hpp:25,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/covered_by.hpp:24,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp:32,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp:29,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/buffer.hpp:41,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/geometry.hpp:63,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry.hpp:17,
from readLAS.cpp:36:
/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/smart_ptr/scoped_ptr.hpp:74:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
explicit scoped_ptr( std::auto_ptr<T> p ) BOOST_SP_NOEXCEPT : px( p.release() )
^~~~~~~~
In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_conv.h:41:0,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/locale:43,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/iomanip:43,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include/RcppCommon.h:52,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include/Rcpp.h:27,
from readLAS.cpp:35:
/opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c readheader.cpp -o readheader.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c writeLAS.cpp -o writeLAS.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c writeLAX.cpp -o writeLAX.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c fast.cpp -o fast.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c RcppExports.cpp -o RcppExports.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -shared -L/opt/R/4.0.2/lib/R/lib -L/usr/local/lib -o rlas.so LASlib/lasreader_txt.o LASlib/fopen_compressed.o LASlib/laswriter_las.o LASlib/lasreaderbuffered.o LASlib/lasreadermerged.o LASlib/laswriter_wrl.o LASlib/lasreader_shp.o LASlib/lasreader_asc.o LASlib/lasreaderstored.o LASlib/lasreaderpipeon.o LASlib/lasreader_bil.o LASlib/lastransform.o LASlib/laswaveform13writer.o LASlib/laswaveform13reader.o LASlib/laswritercompatible.o LASlib/lasutility.o LASlib/lasreader_dtm.o LASlib/lasfilter.o LASlib/lasignore.o LASlib/laskdtree.o LASlib/laswriter_qfit.o LASlib/lasreader_qfit.o LASlib/laswriter.o LASlib/lasreader.o LASlib/lasreader_las.o LASlib/lasreader_ply.o LASlib/lasreader_bin.o LASlib/laswriter_bin.o LASlib/laswriter_txt.o LASzip/laszip.o LASzip/lasindex.o LASzip/arithmeticmodel.o LASzip/laswriteitemcompressed_v1.o LASzip/laswriteitemcompressed_v2.o LASzip/laswriteitemcompressed_v3.o LASzip/laswriteitemcompressed_v4.o LASzip/lasreaditemcompressed_v1.o LASzip/lasreaditemcompressed_v2.o LASzip/lasreaditemcompressed_v3.o LASzip/lasreaditemcompressed_v4.o LASzip/arithmeticdecoder.o LASzip/arithmeticencoder.o LASzip/lasquadtree.o LASzip/laswritepoint.o LASzip/lasreadpoint.o LASzip/integercompressor.o LASzip/lasinterval.o ./rlasstreamer.o ./rlasextrabytesattributes.o ./readLAS.o ./readheader.o ./writeLAS.o ./writeLAX.o ./fast.o ./RcppExports.o -_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv -L/opt/R/4.0.2/lib/R/lib -lR
gcc: error: unrecognized command line option ‘-_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv’
make: *** [rlas.so] Error 1
ERROR: compilation failed for package ‘rlas’
* removing ‘/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/rlas’
Warning in install.packages :
installation of package ‘rlas’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpIPjKaS/downloaded_packages’
> install.packages('rlas')
Installing package into ‘/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/rlas_1.4.0.tar.gz'
Content type 'application/x-gzip' length 387172 bytes (378 KB)
==================================================
downloaded 378 KB
* installing *source* package ‘rlas’ ...
** package ‘rlas’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_txt.cpp -o LASlib/lasreader_txt.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/fopen_compressed.cpp -o LASlib/fopen_compressed.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswriter_las.cpp -o LASlib/laswriter_las.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreaderbuffered.cpp -o LASlib/lasreaderbuffered.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreadermerged.cpp -o LASlib/lasreadermerged.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswriter_wrl.cpp -o LASlib/laswriter_wrl.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_shp.cpp -o LASlib/lasreader_shp.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_asc.cpp -o LASlib/lasreader_asc.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreaderstored.cpp -o LASlib/lasreaderstored.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreaderpipeon.cpp -o LASlib/lasreaderpipeon.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_bil.cpp -o LASlib/lasreader_bil.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lastransform.cpp -o LASlib/lastransform.o
LASlib/lastransform.cpp:791:149: warning: multi-character character constant [-Wmultichar]
inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s%c %u ", name(), (rgbi == 0 ? 'R' : (rgbi == 1 ? 'G' : (rgbi == 2 ? 'B' : 'NIR'))), index); };
^~~~~
LASlib/lastransform.cpp:1069:149: warning: multi-character character constant [-Wmultichar]
inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s%c %u ", name(), (rgbi == 0 ? 'R' : (rgbi == 1 ? 'G' : (rgbi == 2 ? 'B' : 'NIR'))), index); };
^~~~~
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswaveform13writer.cpp -o LASlib/laswaveform13writer.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswaveform13reader.cpp -o LASlib/laswaveform13reader.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswritercompatible.cpp -o LASlib/laswritercompatible.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasutility.cpp -o LASlib/lasutility.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_dtm.cpp -o LASlib/lasreader_dtm.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasfilter.cpp -o LASlib/lasfilter.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasignore.cpp -o LASlib/lasignore.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laskdtree.cpp -o LASlib/laskdtree.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswriter_qfit.cpp -o LASlib/laswriter_qfit.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_qfit.cpp -o LASlib/lasreader_qfit.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswriter.cpp -o LASlib/laswriter.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader.cpp -o LASlib/lasreader.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_las.cpp -o LASlib/lasreader_las.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_ply.cpp -o LASlib/lasreader_ply.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/lasreader_bin.cpp -o LASlib/lasreader_bin.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswriter_bin.cpp -o LASlib/laswriter_bin.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASlib/laswriter_txt.cpp -o LASlib/laswriter_txt.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/laszip.cpp -o LASzip/laszip.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasindex.cpp -o LASzip/lasindex.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/arithmeticmodel.cpp -o LASzip/arithmeticmodel.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/laswriteitemcompressed_v1.cpp -o LASzip/laswriteitemcompressed_v1.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/laswriteitemcompressed_v2.cpp -o LASzip/laswriteitemcompressed_v2.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/laswriteitemcompressed_v3.cpp -o LASzip/laswriteitemcompressed_v3.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/laswriteitemcompressed_v4.cpp -o LASzip/laswriteitemcompressed_v4.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasreaditemcompressed_v1.cpp -o LASzip/lasreaditemcompressed_v1.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasreaditemcompressed_v2.cpp -o LASzip/lasreaditemcompressed_v2.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasreaditemcompressed_v3.cpp -o LASzip/lasreaditemcompressed_v3.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasreaditemcompressed_v4.cpp -o LASzip/lasreaditemcompressed_v4.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/arithmeticdecoder.cpp -o LASzip/arithmeticdecoder.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/arithmeticencoder.cpp -o LASzip/arithmeticencoder.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasquadtree.cpp -o LASzip/lasquadtree.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/laswritepoint.cpp -o LASzip/laswritepoint.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasreadpoint.cpp -o LASzip/lasreadpoint.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/integercompressor.cpp -o LASzip/integercompressor.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c LASzip/lasinterval.cpp -o LASzip/lasinterval.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c rlasstreamer.cpp -o rlasstreamer.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c rlasextrabytesattributes.cpp -o rlasextrabytesattributes.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c readLAS.cpp -o readLAS.o
In file included from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/mem_fn.hpp:25:0,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/mem_fn.hpp:22,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/function/detail/prologue.hpp:18,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/function.hpp:30,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string/detail/find_iterator.hpp:18,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string/find_iterator.hpp:24,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string/iter_find.hpp:27,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string/split.hpp:16,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string.hpp:23,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/io/wkt/read.hpp:29,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/io/wkt/wkt.hpp:17,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/strategies/cartesian/buffer_end_round.hpp:27,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/strategies/strategies.hpp:46,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/geometry.hpp:58,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry.hpp:17,
from readLAS.cpp:36:
/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/get_pointer.hpp:48:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
template<class T> T * get_pointer(std::auto_ptr<T> const& p)
^~~~~~~~
In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_conv.h:41:0,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/locale:43,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/iomanip:43,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include/RcppCommon.h:52,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include/Rcpp.h:27,
from readLAS.cpp:35:
/opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/scoped_ptr.hpp:13:0,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/index/detail/rtree/query_iterators.hpp:18,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/index/rtree.hpp:90,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/within/multi_point.hpp:35,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/within/implementation.hpp:41,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/covered_by/implementation.hpp:25,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/covered_by.hpp:24,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp:32,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp:29,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/buffer.hpp:41,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/geometry.hpp:63,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry.hpp:17,
from readLAS.cpp:36:
/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/smart_ptr/scoped_ptr.hpp:74:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
explicit scoped_ptr( std::auto_ptr<T> p ) BOOST_SP_NOEXCEPT : px( p.release() )
^~~~~~~~
In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_conv.h:41:0,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/locale:43,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/iomanip:43,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include/RcppCommon.h:52,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include/Rcpp.h:27,
from readLAS.cpp:35:
/opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c readheader.cpp -o readheader.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c writeLAS.cpp -o writeLAS.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c writeLAX.cpp -o writeLAX.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c fast.cpp -o fast.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -c RcppExports.cpp -o RcppExports.o
/opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC -shared -L/opt/R/4.0.2/lib/R/lib -L/usr/local/lib -o rlas.so LASlib/lasreader_txt.o LASlib/fopen_compressed.o LASlib/laswriter_las.o LASlib/lasreaderbuffered.o LASlib/lasreadermerged.o LASlib/laswriter_wrl.o LASlib/lasreader_shp.o LASlib/lasreader_asc.o LASlib/lasreaderstored.o LASlib/lasreaderpipeon.o LASlib/lasreader_bil.o LASlib/lastransform.o LASlib/laswaveform13writer.o LASlib/laswaveform13reader.o LASlib/laswritercompatible.o LASlib/lasutility.o LASlib/lasreader_dtm.o LASlib/lasfilter.o LASlib/lasignore.o LASlib/laskdtree.o LASlib/laswriter_qfit.o LASlib/lasreader_qfit.o LASlib/laswriter.o LASlib/lasreader.o LASlib/lasreader_las.o LASlib/lasreader_ply.o LASlib/lasreader_bin.o LASlib/laswriter_bin.o LASlib/laswriter_txt.o LASzip/laszip.o LASzip/lasindex.o LASzip/arithmeticmodel.o LASzip/laswriteitemcompressed_v1.o LASzip/laswriteitemcompressed_v2.o LASzip/laswriteitemcompressed_v3.o LASzip/laswriteitemcompressed_v4.o LASzip/lasreaditemcompressed_v1.o LASzip/lasreaditemcompressed_v2.o LASzip/lasreaditemcompressed_v3.o LASzip/lasreaditemcompressed_v4.o LASzip/arithmeticdecoder.o LASzip/arithmeticencoder.o LASzip/lasquadtree.o LASzip/laswritepoint.o LASzip/lasreadpoint.o LASzip/integercompressor.o LASzip/lasinterval.o ./rlasstreamer.o ./rlasextrabytesattributes.o ./readLAS.o ./readheader.o ./writeLAS.o ./writeLAX.o ./fast.o ./RcppExports.o -L/opt/R/4.0.2/lib/R/lib -lR
installing to /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-rlas/00new/rlas/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘rlas’
finding HTML links ... done
check html
crs_tools html
extra_bytes_attribute_tools html
las_specification_tools html
public_header_block_tools html
read.las html
read.lasheader html
write.las html
writelax html
** building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘rlas’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-rlas/00new/rlas/libs/rlas.so':
/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-rlas/00new/rlas/libs/rlas.so: undefined symbol: _ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/rlas’
Warning in install.packages :
installation of package ‘rlas’ had non-zero exit status
Could you remember me why you need to use a custom Makevars
? I don't know why Red Hat does not work like every other linux distros. My compilation directives, which are the default not overwritten by a Makevars
, are:
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/jr/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/jr/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c
So you miss at least
std=gnu++14
I guess you are compiling in C++14 anyway otherwise it would have failed earlier-O2
very important, otherwise compiled C++ will be very slow.-fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.5=.
???-fstack-protector-strong
???-Wformat
-Werror=format-security
-Wdate-time
probably not important-D_FORTIFY_SOURCE=2
-g
debbuger. I don't know why, I don't know if it mattersThe linkage is made with
g++ -std=gnu++14 -Wl,-S -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o rlas.so [files.o] -L/usr/lib/R/lib -lR
vs your
gcc -fPIC -shared -L/opt/R/4.0.2/lib/R/lib -L/usr/local/lib -o rlas.so [files.o] -L/opt/R/4.0.2/lib/R/lib -lR
Notice the fPIC
that is here because you used CXX14
instead of CXX14FLAGS
If I don't include a Makevar file I get the error:
Error: C++14 standard requested but CXX14 is not defined
I tried the fPIC
in CXX14FLAGS
and compilation still failed. This post was helpful for that.
Do you think I should add some of the other compilation variables into Makevars?
Yes put the same one than mine
My Makevar file is now:
CXX14 = /opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC
CXX14FLAGS = g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c
But I get the error:
* installing *source* package ‘rlas’ ...
** package ‘rlas’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasreader_txt.cpp -o LASlib/lasreader_txt.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/fopen_compressed.cpp -o LASlib/fopen_compressed.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/laswriter_las.cpp -o LASlib/laswriter_las.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasreaderbuffered.cpp -o LASlib/lasreaderbuffered.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasreadermerged.cpp -o LASlib/lasreadermerged.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/laswriter_wrl.cpp -o LASlib/laswriter_wrl.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasreader_shp.cpp -o LASlib/lasreader_shp.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasreader_asc.cpp -o LASlib/lasreader_asc.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasreaderstored.cpp -o LASlib/lasreaderstored.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasreaderpipeon.cpp -o LASlib/lasreaderpipeon.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasreader_bil.cpp -o LASlib/lasreader_bil.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lastransform.cpp -o LASlib/lastransform.o
LASlib/lastransform.cpp:791:149: warning: multi-character character constant [-Wmultichar]
inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s%c %u ", name(), (rgbi == 0 ? 'R' : (rgbi == 1 ? 'G' : (rgbi == 2 ? 'B' : 'NIR'))), index); };
^~~~~
LASlib/lastransform.cpp:1069:149: warning: multi-character character constant [-Wmultichar]
inline I32 get_command(CHAR* string) const { return sprintf(string, "-%s%c %u ", name(), (rgbi == 0 ? 'R' : (rgbi == 1 ? 'G' : (rgbi == 2 ? 'B' : 'NIR'))), index); };
^~~~~
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/laswaveform13writer.cpp -o LASlib/laswaveform13writer.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/laswaveform13reader.cpp -o LASlib/laswaveform13reader.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/laswritercompatible.cpp -o LASlib/laswritercompatible.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasutility.cpp -o LASlib/lasutility.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasreader_dtm.cpp -o LASlib/lasreader_dtm.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasfilter.cpp -o LASlib/lasfilter.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasignore.cpp -o LASlib/lasignore.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/laskdtree.cpp -o LASlib/laskdtree.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/laswriter_qfit.cpp -o LASlib/laswriter_qfit.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasreader_qfit.cpp -o LASlib/lasreader_qfit.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/laswriter.cpp -o LASlib/laswriter.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasreader.cpp -o LASlib/lasreader.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasreader_las.cpp -o LASlib/lasreader_las.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasreader_ply.cpp -o LASlib/lasreader_ply.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/lasreader_bin.cpp -o LASlib/lasreader_bin.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/laswriter_bin.cpp -o LASlib/laswriter_bin.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASlib/laswriter_txt.cpp -o LASlib/laswriter_txt.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/laszip.cpp -o LASzip/laszip.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/lasindex.cpp -o LASzip/lasindex.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/arithmeticmodel.cpp -o LASzip/arithmeticmodel.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/laswriteitemcompressed_v1.cpp -o LASzip/laswriteitemcompressed_v1.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/laswriteitemcompressed_v2.cpp -o LASzip/laswriteitemcompressed_v2.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/laswriteitemcompressed_v3.cpp -o LASzip/laswriteitemcompressed_v3.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/laswriteitemcompressed_v4.cpp -o LASzip/laswriteitemcompressed_v4.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/lasreaditemcompressed_v1.cpp -o LASzip/lasreaditemcompressed_v1.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/lasreaditemcompressed_v2.cpp -o LASzip/lasreaditemcompressed_v2.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/lasreaditemcompressed_v3.cpp -o LASzip/lasreaditemcompressed_v3.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/lasreaditemcompressed_v4.cpp -o LASzip/lasreaditemcompressed_v4.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/arithmeticdecoder.cpp -o LASzip/arithmeticdecoder.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/arithmeticencoder.cpp -o LASzip/arithmeticencoder.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/lasquadtree.cpp -o LASzip/lasquadtree.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/laswritepoint.cpp -o LASzip/laswritepoint.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/lasreadpoint.cpp -o LASzip/lasreadpoint.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/integercompressor.cpp -o LASzip/integercompressor.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c LASzip/lasinterval.cpp -o LASzip/lasinterval.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c rlasstreamer.cpp -o rlasstreamer.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c rlasextrabytesattributes.cpp -o rlasextrabytesattributes.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c readLAS.cpp -o readLAS.o
In file included from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/mem_fn.hpp:25:0,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/mem_fn.hpp:22,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/function/detail/prologue.hpp:18,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/function.hpp:30,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string/detail/find_iterator.hpp:18,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string/find_iterator.hpp:24,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string/iter_find.hpp:27,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string/split.hpp:16,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/algorithm/string.hpp:23,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/io/wkt/read.hpp:29,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/io/wkt/wkt.hpp:17,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/strategies/cartesian/buffer_end_round.hpp:27,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/strategies/strategies.hpp:46,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/geometry.hpp:58,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry.hpp:17,
from readLAS.cpp:36:
/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/get_pointer.hpp:48:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
template<class T> T * get_pointer(std::auto_ptr<T> const& p)
^~~~~~~~
In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_conv.h:41:0,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/locale:43,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/iomanip:43,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include/RcppCommon.h:52,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include/Rcpp.h:27,
from readLAS.cpp:35:
/opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/scoped_ptr.hpp:13:0,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/index/detail/rtree/query_iterators.hpp:18,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/index/rtree.hpp:90,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/within/multi_point.hpp:35,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/within/implementation.hpp:41,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/covered_by/implementation.hpp:25,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/covered_by.hpp:24,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp:32,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp:29,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/algorithms/buffer.hpp:41,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry/geometry.hpp:63,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/geometry.hpp:17,
from readLAS.cpp:36:
/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/smart_ptr/scoped_ptr.hpp:74:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
explicit scoped_ptr( std::auto_ptr<T> p ) BOOST_SP_NOEXCEPT : px( p.release() )
^~~~~~~~
In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_conv.h:41:0,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/locale:43,
from /opt/rh/devtoolset-7/root/usr/include/c++/7/iomanip:43,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include/RcppCommon.h:52,
from /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include/Rcpp.h:27,
from readLAS.cpp:35:
/opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c readheader.cpp -o readheader.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c writeLAS.cpp -o writeLAS.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c writeLAX.cpp -o writeLAX.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c fast.cpp -o fast.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -I"/opt/R/4.0.2/lib/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c -c RcppExports.cpp -o RcppExports.o
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
/opt/rh/devtoolset-7/root/usr/bin/gcc /opt/rh/devtoolset-7/root/usr/bin/g++ -fPIC -shared -L/opt/R/4.0.2/lib/R/lib -L/usr/local/lib -o rlas.so LASlib/lasreader_txt.o LASlib/fopen_compressed.o LASlib/laswriter_las.o LASlib/lasreaderbuffered.o LASlib/lasreadermerged.o LASlib/laswriter_wrl.o LASlib/lasreader_shp.o LASlib/lasreader_asc.o LASlib/lasreaderstored.o LASlib/lasreaderpipeon.o LASlib/lasreader_bil.o LASlib/lastransform.o LASlib/laswaveform13writer.o LASlib/laswaveform13reader.o LASlib/laswritercompatible.o LASlib/lasutility.o LASlib/lasreader_dtm.o LASlib/lasfilter.o LASlib/lasignore.o LASlib/laskdtree.o LASlib/laswriter_qfit.o LASlib/lasreader_qfit.o LASlib/laswriter.o LASlib/lasreader.o LASlib/lasreader_las.o LASlib/lasreader_ply.o LASlib/lasreader_bin.o LASlib/laswriter_bin.o LASlib/laswriter_txt.o LASzip/laszip.o LASzip/lasindex.o LASzip/arithmeticmodel.o LASzip/laswriteitemcompressed_v1.o LASzip/laswriteitemcompressed_v2.o LASzip/laswriteitemcompressed_v3.o LASzip/laswriteitemcompressed_v4.o LASzip/lasreaditemcompressed_v1.o LASzip/lasreaditemcompressed_v2.o LASzip/lasreaditemcompressed_v3.o LASzip/lasreaditemcompressed_v4.o LASzip/arithmeticdecoder.o LASzip/arithmeticencoder.o LASzip/lasquadtree.o LASzip/laswritepoint.o LASzip/lasreadpoint.o LASzip/integercompressor.o LASzip/lasinterval.o ./rlasstreamer.o ./rlasextrabytesattributes.o ./readLAS.o ./readheader.o ./writeLAS.o ./writeLAX.o ./fast.o ./RcppExports.o -L/opt/R/4.0.2/lib/R/lib -lR
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld: warning: Cannot create .eh_frame_hdr section, --eh-frame-hdr ignored.
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld: error in /opt/rh/devtoolset-7/root/usr/bin/g++(.eh_frame); no .eh_frame_hdr table will be created.
installing to /home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-rlas/00new/rlas/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘rlas’
finding HTML links ... done
check html
crs_tools html
extra_bytes_attribute_tools html
las_specification_tools html
public_header_block_tools html
read.las html
read.lasheader html
write.las html
writelax html
** building package indices
** testing if installed package can be loaded from temporary location
sh: line 1: 20566 Segmentation fault (core dumped) R_TESTS= '/opt/R/4.0.2/lib/R/bin/R' --no-save --no-restore --no-echo 2>&1 < '/tmp/RtmpoNeIye/file4dc7207e7152'
*** caught segfault ***
address 0x7f6f3be70fe8, cause 'invalid permissions'
Traceback:
1: dyn.load(file, DLLpath = DLLpath, ...)
2: library.dynam(lib, package, package.lib)
3: loadNamespace(package, lib.loc)
4: doTryCatch(return(expr), name, parentenv, handler)
5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
6: tryCatchList(expr, classes, parentenv, handlers)
7: tryCatch({ attr(package, "LibPath") <- which.lib.loc ns <- loadNamespace(package, lib.loc) env <- attachNamespace(ns, pos = pos, deps, exclude, include.only)}, error = function(e) { P <- if (!is.null(cc <- conditionCall(e))) paste(" in", deparse(cc)[1L]) else "" msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), P, conditionMessage(e)) if (logical.return) message(paste("Error:", msg), domain = NA) else stop(msg, call. = FALSE, domain = NA)})
8: library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE)
9: withCallingHandlers(expr, packageStartupMessage = function(c) tryInvokeRestart("muffleMessage"))
10: suppressPackageStartupMessages(library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE))
11: doTryCatch(return(expr), name, parentenv, handler)
12: tryCatchOne(expr, names, parentenv, handlers[[1L]])
13: tryCatchList(expr, classes, parentenv, handlers)
14: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L sm <- strsplit(conditionMessage(e), "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && isTRUE(getOption("show.error.messages"))) { cat(msg, file = outFile) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))})
15: try(suppressPackageStartupMessages(library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE)))
16: tools:::.test_load_package("rlas", "/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-rlas/00new")
An irrecoverable exception occurred. R is aborting now ...
ERROR: loading failed
* removing ‘/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/rlas’
Warning in install.packages :
installation of package ‘rlas’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpIPjKaS/downloaded_packages’
you have twice -c
remove -c
from Makevars
I removed duplicates from the Makevars which now looks like this:
CXX14 = /opt/rh/devtoolset-7/root/usr/bin/gcc -fPIC
CXX14FLAGS = /opt/rh/devtoolset-7/root/usr/bin/g++ -std=gnu++14 -DNDEBUG -DNDEBUG -DUNORDERED -DHAVE_UNORDERED_MAP -I./ -I./LASlib/ -I./LASzip/ -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -g -O2 -fdebug-prefix-map=/build/r-base-tRgc13/r-base-4.0.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c
I can compile the package with the warning:
gcc: warning: /opt/rh/devtoolset-7/root/usr/bin/g++: linker input file unused because linking not done
But then the installation errors with:
** building package indices
** testing if installed package can be loaded
Error: package or namespace load failed for ‘rlas’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/rlas/libs/rlas.so':
/home/mblasdel/R/x86_64-pc-linux-gnu-library/4.0/rlas/libs/rlas.so: undefined symbol: _ZSt24__throw_out_of_range_fmtPKcz
Error: loading failed
Execution halted
I think this has to do with the g++
library. The g++
was installed in the same manner as gcc
with a devtools set for RHEL. I had to run scl enable devtoolset-7 bash
which is why I use the specific file path in the CXXFLAGS
.
At this stage I can no longer help you. I tried to reproduce CRAN like compilation with you but at this stage there are too much Red Hat specific stuff. Why R does not compile with all the default option? Why gcc is installed in a special way? Why code definitions are missing (this is the current error)? Too many question and I can't reproduce.
Fair enough. I really appreciate your help on this.
gcc
needs to be installed in a special way because the default gcc
that ships with RHEL is an older version. Hence the need for the devtoolset-7
install. I'll keep trying to work through it with my companies IT.
Again, lidR
is a great package and I've been able to process data on a local laptop, but the RHEL env is proving difficult to work in.
For your information the next version of R (4.1.0) that is coming in April will start compiling in C++14 by default. See https://cran.r-project.org/doc/manuals/r-devel/NEWS.html
The default C++ standard has been changed to C++14 where available (which it is on all currently checked platforms): if not (as before) C++11 is used if available otherwise C++ is not supported.
So, Red Hat user like you will have to deal with that. Ok C++11 can till be used but for how many time?
I have been trying to install
lidR
on RStudio Server and run into a error on therlas
dependency installation. The error actually fills the console beyond the character limit so I can't share the entire error or see where it begins. The error repeats similar lines to;Over and over. I'm not familiar with the
BH
package but all of the errors seem to stem from an issue there. System info:My Makevars file only includes the line:
Wondering if you have ever seen an error like this or have any idea what could be causing it. Any advice would be appreciated.