QiangF / glvis

Automatically exported from code.google.com/p/glvis
GNU Lesser General Public License v2.1
0 stars 0 forks source link

installing glvis on Mac OS 10.8 #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Dear all, I am trying to install glvis on my iMac where I see X11, GL and GLU 
dynamic lib in the folder /usr/X11R6/lib

I don't see header file directories in X11R6.
So, I would like to know what is the way to modify makefile in order to install 
glvis.
Currently, I have the following error:
make
cd lib; g++  -I/usr/X11R6/include -O3 -DGLVIS_MULTISAMPLE=4 
-DGLVIS_MS_LINEWIDTH=1.4 -I../../mfem-68e941f8fe -c aux_gl.cpp
aux_gl.cpp:40:22: error: X11/Xlib.h: No such file or directory
aux_gl.cpp:41:23: error: X11/Xutil.h: No such file or directory
aux_gl.cpp:42:24: error: X11/keysym.h: No such file or directory
aux_gl.cpp:43:20: error: GL/glx.h: No such file or directory
aux_gl.cpp:44:19: error: GL/gl.h: No such file or directory
….  

Could you help me?
Thanks a lot, Pasqua

Original issue reported on code.google.com by pasqua.d...@gmail.com on 29 May 2014 at 9:53

GoogleCodeExporter commented 9 years ago
Hi Pasqua,

Do you have XQuartz installed on your system? Can you check if the include 
files are in /opt/X11/include?

Cheers,
Tzanio

Original comment by tzanio on 29 May 2014 at 4:35

GoogleCodeExporter commented 9 years ago
Hi Tzanio, I checked in the folder /opt, but I don't have a folder X11
there.
Do I have to install XQuartz?
Thanks a lot, Pasqua

2014-05-29 18:35 GMT+02:00 <glvis@googlecode.com>:

Original comment by pasqua.d...@gmail.com on 3 Jun 2014 at 7:32

GoogleCodeExporter commented 9 years ago
Hi Pasqua,

Yes, you need to install XQuarz if it is not already on your system.

The website is http://xquartz.macosforge.org. On my machine the header files 
were installed in /opt/X11/include/GL

Cheers,
Tzanio

Original comment by tzanio on 3 Jun 2014 at 7:47

GoogleCodeExporter commented 9 years ago
Hi Tzanio. I installed xquartz and modified makefile. glvis does work! I
only need to improve my using...Thanks, Pasqua

2014-06-03 21:47 GMT+02:00 <glvis@googlecode.com>:

Original comment by pasqua.d...@gmail.com on 4 Jun 2014 at 2:56

GoogleCodeExporter commented 9 years ago
Hi Pasqua,

I am glad to hear you got it working. Let us know if you run into any problems.

Cheers,
Tzanio

Original comment by tzanio on 4 Jun 2014 at 4:52