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

ErrorinitializingOpenGL #3

Open
DavidQiuChao opened this issue Nov 14, 2017 · 2 comments
Open

ErrorinitializingOpenGL #3

DavidQiuChao opened this issue Nov 14, 2017 · 2 comments

Comments

@DavidQiuChao
Copy link

I have meet a problem when I run the code ''./build_release/mvfcn.bin --skip-testing --do-only-rendering --train-meshes-path /home/qiuchao/Codes/labeled_meshes/PSB_COSEG_MESHES/cosegGoblets --pretraining-batch-splits 4''
default

@bitsauce
Copy link

If anyone is having trouble with this issue, here is a hacky solution which worked for us:

  1. Download Nvidia's latest driver from their repo
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-390
  1. Copy and overwrite all of nvidias OpenGL library files directory into the directory containing the mesa library files.
    cp -R /usr/lib/nvidia-390/* /usr/lib/x86_64-linux-gnu/mesa/

  2. Recompile.

There is probably a way to modify the Makefiles to look for the OpenGL library files in nvidias directory in the first place, but at least this works if you are in a hurry.

@pczebra
Copy link

pczebra commented Jul 5, 2018

Have you solved this issue, which files nvidia-390 contains

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