Hello Freesurfer experts,

I am trying to compile FreeSurfer to make use of its CUDA capabilities. The 
precompiled version does not run on my system. But when I try to compile 
FreeSurfer I get the following error:

# ./configure --with-pkgs-dir=/usr/local/centos6-x86_64-packages 
--enable-fermi-gpu
...
configure: Getting OpenGL info...
checking GL directory... gl directory is /usr/include
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for OpenGL library... no
configure: error: FATAL: GL not found, but needed for  tcltkapps XawPlusapps 
kwwapps wxwapps. Use --with-gl-dir=... to specify


But OpenGL is installed:

# ll /usr/lib64/libGL.so*
lrwxrwxrwx 1 root root     14 Jan 15 23:35 /usr/lib64/libGL.so -> 
libGL.so.1.2.0*
lrwxrwxrwx 1 root root     14 Jan 15 23:35 /usr/lib64/libGL.so.1 -> 
libGL.so.1.2.0*
-rwxr-xr-x 1 root root 452752 Jan 15 23:37 /usr/lib64/libGL.so.1.2.0*
# ll /usr/include/GL/gl.h
-rw-r--r-- 1 root root 80615 Jan 15 23:35 /usr/include/GL/gl.h
#


The configure script did not ask for CUDA, yet. But CUDA is also installed in 
/usr/lib64:

# ll /usr/lib64/libcuda*
-rw-r--r-- 1 root root 556000 Jan 13  2017 /usr/lib64/libcudadevrt.a
lrwxrwxrwx 1 root root     16 Jan 13  2017 /usr/lib64/libcudart.so -> 
libcudart.so.8.0*
lrwxrwxrwx 1 root root     19 Jan 13  2017 /usr/lib64/libcudart.so.8.0 -> 
libcudart.so.8.0.61*
-rwxr-xr-x 1 root root 415432 Jan 13  2017 /usr/lib64/libcudart.so.8.0.61*
-rw-r--r-- 1 root root 775162 Jan 13  2017 /usr/lib64/libcudart_static.a
#


Adding the option  "--with-gl-dir=/usr/lib64" to the configure script does not 
help. What else could I try?

Regards,

Markus



_______________________________________________________________

Evangelisches Klinikum Bethel gGmbH
Akademisches Lehrkrankenhaus der Universität Münster

Sitz der Gesellschaft
Kantensiek 11 | 33617 Bielefeld

Amtsgericht Bielefeld HRB 30169

Geschäftsführer
Dr. Rainer Norden (Vorsitz)
Dr. Matthias Ernst
Dr. Maren Thäter

Vorsitzender des Aufsichtsrates
Pastor Ulrich Pohl


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to