-
Notifications
You must be signed in to change notification settings - Fork 118
BuildingPHD2OnFreebsd
andkem edited this page Aug 3, 2021
·
2 revisions
Building PHD2 on FreeBSD requires its dependencies to be installed in the system. Make sure that the libraries below are available.
- cfitsio
- eigen
- googletest
- wx31-gtk3
- indi
- libusb
Configure the project to use system libraries and build using make. Execute the commands below in the project directory.
cmake . -DUSE_SYSTEM_CFITSIO=ON -DUSE_SYSTEM_EIGEN3=ON -DUSE_SYSTEM_GTEST=ON -DUSE_SYSTEM_LIBINDI=ON -DUSE_SYSTEM_LIBUSB=ON
make
To speed up the build, make -j $threadcount
can be used.