DPVO icon indicating copy to clipboard operation
DPVO copied to clipboard

GCC Version

Open reynoldscem opened this issue 2 years ago • 3 comments

Not an issue as such, but I had difficulty building this on Ubuntu 22.04. What ended up working was using gcc-10 / g++-10 as the CC and CXX compilers respectively. Seems something about GCC-11 wasn't letting the extensions be built.

reynoldscem avatar Aug 10 '22 15:08 reynoldscem

If you're still having issues setting up DPVO, we just created a docker for it: https://github.com/princeton-vl/DPVO_Docker

lahavlipson avatar Sep 11 '22 21:09 lahavlipson

@lahavlipson That's great, thanks.

reynoldscem avatar Sep 12 '22 08:09 reynoldscem

I'm testing it on Ubuntu 16.04 which default gcc version is 5.4. But cuda 11 requires gcc version >6 and < 10. And I found a solution here https://seanlaw.github.io/2019/01/17/pip-installing-wheels-with-conda-gcca conda install gcc_linux-64 gxx_linux-64, for me, the default install version is 9.3. Then export CC=/path/to/anaconda3/envs/dpvo/bin/x86_64-conda_cos6-linux-gnu-gcc export CXX=/path/to/anaconda3/envs/dpvo/bin/x86_64-conda_cos6-linux-gnu-g++ Finally pip install . worked well. Just for someone who want to use conda.

xiesc avatar Nov 02 '22 03:11 xiesc