DPVO
DPVO copied to clipboard
GCC Version
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.
If you're still having issues setting up DPVO, we just created a docker for it: https://github.com/princeton-vl/DPVO_Docker
@lahavlipson That's great, thanks.
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.