Skip to content

Commit

Permalink
Fix PCL building on Windows - upgrade PCL to v1.13.0 (#163)
Browse files Browse the repository at this point in the history
* Check if pcl is built when compiling RGL with pcl extension

* Update vcpkg tag to fix PCL building. PCL version upgraded 1.12.0 > 1.13.0
  • Loading branch information
msz-rai authored Jul 5, 2023
1 parent 72fb12c commit 11fc1ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Config:
CUDA_MIN_VER_PATCH = 0
CMAKE_GENERATOR = "'Unix Makefiles'"
VCPKG_INSTALL_DIR = os.path.join("external", "vcpkg")
VCPKG_TAG = "2022.08.15"
VCPKG_TAG = "2023.06.20"
VCPKG_EXEC = "vcpkg"
VCPKG_BOOTSTRAP = "bootstrap-vcpkg.sh"
VCPKG_PLATFORM_SPEC = ""
Expand Down Expand Up @@ -102,6 +102,10 @@ def is_cuda_version_ok():
if os.environ["OptiX_INSTALL_DIR"] == "":
raise RuntimeError("OptiX not found! Make sure you have exported environment variable OptiX_INSTALL_DIR")

# Check extension requirements
if args.with_pcl and not os.path.isdir(cfg.VCPKG_INSTALL_DIR):
raise RuntimeError("PCL extension requires dependencies to be installed: run this script with --install-pcl-deps flag")

# Go to script directory
os.chdir(sys.path[0])

Expand Down

0 comments on commit 11fc1ef

Please sign in to comment.