isce-framework / isce-framework/isce3

Compiling with cmake under Ubuntu is literally a torture.

Open
#23 0 comments 1 reaction 0 assignees View on GitHub

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.

  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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.