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

Ensuring right version of gcc is used when building packages that use CUDA #57

Closed
smgutstein opened this issue Jun 16, 2013 · 1 comment
Labels

Comments

@smgutstein
Copy link

I'm not entirely certain this is the best place for this comment, but it was the best I found.

When first trying to install openbr, from source on an Ubuntu 13.04 system with an Nvidia graphics card, I ran into a problem when installing OpenCV. Apparently, CUDA does not support (as of 6/13/13) gcc4.7. So, before running the cmake cmd, I used update-alternatives to temporarily let gcc4.6 be the compiler version used to build Opencv.

Hope this helps ......

@jklontz
Copy link
Member

jklontz commented Jun 17, 2013

GCC 4.6 should work fine, I just tested 4.7 as it was the default on Ubuntu
13.04. OpenBR doesn't use the opencv GPU module anyway, so there are
probably many ways to get around any GPU issues.
-Josh
On 15 Jun 2013 23:38, "smgutstein" notifications@github.com wrote:

I'm not entirely certain this is the best place for this comment, but it
was the best I found.

When first trying to install openbr, from source on an Ubuntu 13.04 system
with an Nvidia graphics card, I ran into a problem when installing OpenCV.
Apparently, CUDA does not support (as of 6/13/13) gcc4.7. So, before
running the cmake cmd, I used update-alternatives to temporarily let gcc4.6
be the compiler version used to build Opencv.

Hope this helps ......


Reply to this email directly or view it on GitHubhttps://github.com//issues/57
.

@jklontz jklontz closed this as completed Jun 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants