Created
February 26, 2023 22:07
-
-
Save sladg/b8cc45d32d2e0f1b1da8bff56c233e16 to your computer and use it in GitHub Desktop.
Build CloudCompare with Conda (Qt5, GDAL, PDAL support). Compiles from source, CLI works.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# meta.yaml (use conda build ./path-to-directory-with-this-file | |
package: | |
name: cloudcompare | |
version: v2.12.4 | |
source: | |
git_url: https://github.com/CloudCompare/CloudCompare.git | |
git_rev: v2.12.4 | |
build: | |
number: 0 | |
requirements: | |
build: | |
- cmake | |
- gdal | |
- pdal | |
- qt | |
run: | |
- gdal | |
- pdal | |
- qt | |
# -------------------------------------------------------- | |
# build.sh (same directory) | |
#!/bin/bash | |
# RECIPE_DIR, PREFIX, SRC_DIR, and BUILD_PREFIX are all defined by conda-build | |
cmake -B ${SRC_DIR}/build ${SRC_DIR} | |
make -C ${SRC_DIR}/build -j $(nproc) | |
cp ${SRC_DIR}/build/PotreeConverter ${PREFIX}/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment