You are not logged in.

#1 2014-04-29 15:56:38

ryzion
Member
From: Germany
Registered: 2012-03-20
Posts: 79

CUDA GL libs not found

While trying to set up my CUDA machine I encountered these errors for every sample program using the gl libraries. All libraries are installed and linked correctly. Non gl programs like vectorAdd are compiling just fine.

crm@acer-dev [07:50:47] [/opt/cuda/samples/2_Graphics/simpleTexture3D] 
-> % make
>>> WARNING - libGL.so not found, refer to CUDA Samples release notes for how to find and install them. <<<
>>> WARNING - libGLU.so not found, refer to CUDA Samples release notes for how to find and install them. <<<
>>> WARNING - libX11.so not found, refer to CUDA Samples release notes for how to find and install them. <<<
>>> WARNING - libXi.so not found, refer to CUDA Samples release notes for how to find and install them. <<<
>>> WARNING - libXmu.so not found, refer to CUDA Samples release notes for how to find and install them. <<<
[@] /opt/cuda/bin/nvcc -ccbin g++ -I../../common/inc -m64 -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -o simpleTexture3D.o -c simpleTexture3D.cpp
[@] /opt/cuda/bin/nvcc -ccbin g++ -I../../common/inc -m64 -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -o simpleTexture3D_kernel.o -c simpleTexture3D_kernel.cu
[@] /opt/cuda/bin/nvcc -ccbin g++ -m64 -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -o simpleTexture3D simpleTexture3D.o simpleTexture3D_kernel.o -L../../common/lib/linux/x86_64 -lGL -lGLU -lX11 -lXi -lXmu -lglut -lGLEW
[@] mkdir -p ../../bin/x86_64/linux/release
[@] cp simpleTexture3D ../../bin/x86_64/linux/release

Offline

#2 2014-04-30 09:18:40

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: CUDA GL libs not found

Looks like an alternative compiler. Did you check your PATH so it can find pkgconfig?


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-05-16 01:00:30

jessejohns
Member
Registered: 2013-11-01
Posts: 6

Re: CUDA GL libs not found

I am having this same problem.  Any advice?

Edit:  I have a GTX 590, with driver version 331.67.

Last edited by jessejohns (2014-05-16 01:04:26)

Offline

#4 2014-05-27 00:06:23

HeadphonesMcGee
Member
Registered: 2012-09-05
Posts: 13

Re: CUDA GL libs not found

I'm having this problem as well. Did anyone ever find a solution to it?

Offline

#5 2014-05-27 22:05:45

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 312

Re: CUDA GL libs not found

try

GLPATH=/usr/lib make

this exaple cannot detect the path of libgl libs properly. see /opt/cuda/samples/2_Graphics/simpleTexture3D/findgllib.mk

Last edited by sl1pkn07 (2014-05-27 22:10:18)

Offline

#6 2014-05-27 22:21:29

HeadphonesMcGee
Member
Registered: 2012-09-05
Posts: 13

Re: CUDA GL libs not found

Thanks for your reply! I will give it a try.

Offline

#7 2014-09-23 19:39:24

HeadphonesMcGee
Member
Registered: 2012-09-05
Posts: 13

Re: CUDA GL libs not found

Quick update: It worked.

Offline

Board footer

Powered by FluxBB