Skip to content

Update install.sh to fix Ubuntu compilation and dependencies#3

Open
fdenzinger wants to merge 1 commit into
gseg-ethz:mainfrom
fdenzinger:fix-ubuntu-install
Open

Update install.sh to fix Ubuntu compilation and dependencies#3
fdenzinger wants to merge 1 commit into
gseg-ethz:mainfrom
fdenzinger:fix-ubuntu-install

Conversation

@fdenzinger

Copy link
Copy Markdown

This PR updates the install.sh script to resolve the compilation and dependency errors on Ubuntu setups, as discussed in the #2 .

Changes included:

  • Isolated the CUDA/C++ toolchain: Added the full toolchain (cuda-toolkit, gcc_linux-64=13) to Conda and isolated it with export CUDA_HOME=$CONDA_PREFIX to prevent conflicts with Ubuntu's system compilers.

  • Added missing build dependencies: Added explicit conda install for cmake, swig, pcl>=1.13, and vtk from conda-forge so the cpp_core wrappers build correctly.

  • Fixed Boost Python linker errors: Added a sed command to dynamically replace the hardcoded boost_python311 in CMakeLists.txt to match the actual Python 3.8 environment.

  • Updated Git clone protocol: Switched the superpoint_transformer clone URL to HTTPS to prevent SSH permission denied errors.

  • Added fail-fast & cleanup: Added set -e so the script halts immediately on failure, and a cleanup command for FRNN artifacts to prevent caching issues on repeated runs.

Fixes #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Installation issue when building pcd_tiling

1 participant