Re: OpenGL libraries

2018-11-15 Thread Mark Brethen
No runtime errors. Sent from my iPhone > On Nov 15, 2018, at 10:32 AM, wrote: > > > >> On Nov 14, 2018, at 8:33 PM, Mark Brethen wrote: >> >> I was able to build and install the program but it doesn’t render any OpenGL >> graphics in XQuartz. Not sure what’s broke but there were some "fun

Re: OpenGL libraries

2018-11-15 Thread mf2k
> On Nov 14, 2018, at 8:33 PM, Mark Brethen wrote: > > I was able to build and install the program but it doesn’t render any OpenGL > graphics in XQuartz. Not sure what’s broke but there were some "function is > deprecated …” statements in the build log. Were there any runtime errors on the

Re: OpenGL libraries

2018-11-14 Thread Mark Brethen
The calculix source builds it’s own glut-3.5. Glut wants to link to GL3, but the calculix source links to GL. So I patched the Makefile to link to /opt/local/include, /opt/local/include/GL and /opt/local/lib and installed libGLU. I was able to build and install the program but it doesn’t render

Re: OpenGL libraries

2018-11-14 Thread Ryan Schmidt
On Nov 12, 2018, at 13:17, Mark Brethen wrote: > Per the attached Calculix-cgx Makefile, I needed to modify it to indicate the > OpenGL framework. I tried this: > > CFLAGS = -O2 -Wall -Wno-narrowing \ > -I./ \ > -I/usr/include \ > -I../../libSNL/src \ > -I../../glut-3.5/src \ > -I/usr/X1

OpenGL libraries

2018-11-12 Thread Mark Brethen
Per the attached Calculix-cgx Makefile, I needed to modify it to indicate the OpenGL framework. I tried this: CFLAGS = -O2 -Wall -Wno-narrowing \ -I./ \ -I/usr/include \ -I../../libSNL/src \ -I../../glut-3.5/src \ -I/usr/X11/include LFLAGS = \ -framework OpenGL -lGL -lGLU \ -lX11