Skip to content

PotreeConverter binary compiled on MacOS Mojave 10.14.2 using gcc 8.2.0_3

License

Notifications You must be signed in to change notification settings

GeospatialPython/MacOS-PotreeConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MacOS-PotreeConverter

MacOS binary for PotreeConverter which can be tricky to compile.

It was compiled on MacOS Mojave 10.14.2 (18C54) using gcc gcc8 8.2.0_3 installed via MacPorts.

You will also need to copy the resources directory from the original repository which must be in the same directory as the executable.

You may also run into this error which is easy to fix: potree/PotreeConverter#281

The following steps were used to compile.

sudo port install gcc8
sudo port select --set gcc mp-gcc8
cd ~/Downloads
mkdir lastools
cd lastools
git clone https://github.com/m-schuetz/LAStools.git master
cd master/LASzip
mkdir build
cd build
/opt/local/bin/cmake -DCMAKE_BUILD_TYPE=Release ..
make

cd ~/Downloads
mkdir PotreeConverter
cd PotreeConverter
git clone https://github.com/potree/PotreeConverter.git master
cd master
mkdir build
cd build
/opt/local/bin/cmake -DCMAKE_BUILD_TYPE=Release -DLASZIP_INCLUDE_DIRS=/Users/<username>/Downloads/lastools/master/LASzip/dll/ -DLASZIP_LIBRARY=/Users/<username>/Downloads/lastools/master/LASzip/build/src/liblaszip.dylib -DCMAKE_C_COMPILER=/opt/local/bin/gcc -DCMAKE_CXX_COMPILER=/opt/local/bin/g++ ..
make

About

PotreeConverter binary compiled on MacOS Mojave 10.14.2 using gcc 8.2.0_3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published