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

GCC Version #2

Open
reynoldscem opened this issue Aug 10, 2022 · 3 comments
Open

GCC Version #2

reynoldscem opened this issue Aug 10, 2022 · 3 comments

Comments

@reynoldscem
Copy link

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.

@lahavlipson
Copy link
Collaborator

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

@reynoldscem
Copy link
Author

@lahavlipson That's great, thanks.

@xiesc
Copy link

xiesc commented Nov 2, 2022

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.

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

3 participants