isce-framework / isce-framework/isce3
Compiling with cmake under Ubuntu is literally a torture.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 239
- Forks
- 90
- Avg merge
- 13d 1h
- Merged PRs (30d)
- 5
Description
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.
- If you have eigen, fftw or gdal system-wide, DO NOT INSTALL AGAIN FROM CONDA.
- Install pybind-11 with conda, along the other packages.
- 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Ubuntu 18 build instructions and reviewing the reported dependency guidance for Eigen, FFTW, GDAL, pybind11, CMake, and Git. Verify the instructions against Ubuntu 20 with the stated Conda environment. Done means the documentation reflects the required setup and a clean build can follow it without CMakeCache.txt changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, python, ubuntu
- Domain
- build-system, documentation, operating-systems
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100