Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling with cmake under Ubuntu is literally a torture. #23

Open
ClaraSchumann opened this issue Sep 28, 2024 · 0 comments
Open

Compiling with cmake under Ubuntu is literally a torture. #23

ClaraSchumann opened this issue Sep 28, 2024 · 0 comments

Comments

@ClaraSchumann
Copy link

I've spent a whole afternoon try compiling these code under Ubuntu 20, with g++ and gcc default to g++-9 and gcc-9, respectively. And following the instructions, I use miniconda to manage the environment. After numerous failures, I successfully compiled the code, without modifications to the CMakeCache.txt. Here are some small tips for later users.

  1. If you have eigen, fftw or gdal system-wide, DO NOT INSTALL AGAIN FROM CONDA.
  2. Install pybind-11 with conda, along the other packages.
  3. If the system cmake and git is too old, feel free to get them from conda.

I believe the official instructions for Ubuntu 18 needs some modification.

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

No branches or pull requests

1 participant