Static link potree converter with laszip

pull/43/head
Piero Toffanin 2018-06-30 20:45:35 -04:00
rodzic 862a6017f0
commit b0d1b0056c
2 zmienionych plików z 5 dodań i 8 usunięć

Wyświetl plik

@ -15,15 +15,13 @@ RUN git clone https://github.com/pierotofy/LAStools /staging/LAStools && \
mkdir build && \ mkdir build && \
cd build && \ cd build && \
cmake -DCMAKE_BUILD_TYPE=Release .. && \ cmake -DCMAKE_BUILD_TYPE=Release .. && \
make && \ make
make install && \
ldconfig
RUN git clone https://github.com/pierotofy/PotreeConverter /staging/PotreeConverter RUN git clone https://github.com/pierotofy/PotreeConverter /staging/PotreeConverter
RUN cd /staging/PotreeConverter && \ RUN cd /staging/PotreeConverter && \
mkdir build && \ mkdir build && \
cd build && \ cd build && \
cmake -DCMAKE_BUILD_TYPE=Release -DLASZIP_INCLUDE_DIRS=/staging/LAStools/LASzip/dll -DLASZIP_LIBRARY=/staging/LAStools/LASzip/build/src/liblaszip.so .. && \ cmake -DCMAKE_BUILD_TYPE=Release -DLASZIP_INCLUDE_DIRS=/staging/LAStools/LASzip/dll -DLASZIP_LIBRARY=/staging/LAStools/LASzip/build/src/liblaszip.a .. && \
make && \ make && \
make install make install

Wyświetl plik

@ -49,15 +49,14 @@ cd LAStools/LASzip
mkdir build mkdir build
cd build cd build
cmake -DCMAKE_BUILD_TYPE=Release .. cmake -DCMAKE_BUILD_TYPE=Release ..
sudo make && sudo make install make
sudo ldconfig
git clone https://github.com/pierotofy/PotreeConverter /staging/PotreeConverter git clone https://github.com/pierotofy/PotreeConverter /staging/PotreeConverter
cd /staging/PotreeConverter cd /staging/PotreeConverter
mkdir build mkdir build
cd build cd build
cmake -DCMAKE_BUILD_TYPE=Release -DLASZIP_INCLUDE_DIRS=/staging/LAStools/LASzip/dll -DLASZIP_LIBRARY=/staging/LAStools/LASzip/build/src/liblaszip.so .. cmake -DCMAKE_BUILD_TYPE=Release -DLASZIP_INCLUDE_DIRS=/staging/LAStools/LASzip/dll -DLASZIP_LIBRARY=/staging/LAStools/LASzip/build/src/liblaszip.a ..
sudo make && sudo make install make && sudo make install
``` ```
2) Install gdal2tiles.py script, node.js and npm dependencies 2) Install gdal2tiles.py script, node.js and npm dependencies