LINUX.ORG.RU

История изменений

Исправление saufesma, (текущая версия) :

$ make -f tut
g++ -I. -c -MD meshSurf.c
In file included from cgx.h:25:0,
                 from meshSurf.c:30:
extUtil.h:37:12: fatal error: GL/glut_cgx.h: No such file or directory
   #include <GL/glut_cgx.h>
            ^~~~~~~~~~~~~~~
compilation terminated.
tut:17: recipe for target 'meshSurf.o' failed
make: *** [meshSurf.o] Error 1

и моя идея с заменой #include <> на #include «» не сработала

$ make -f tut
g++ -I. -c -MD meshSurf.c
In file included from cgx.h:25:0,
                 from meshSurf.c:30:
extUtil.h:37:12: fatal error: GL/glut_cgx.h: No such file or directory
   #include "GL/glut_cgx.h"
            ^~~~~~~~~~~~~~~
compilation terminated.
tut:17: recipe for target 'meshSurf.o' failed
make: *** [meshSurf.o] Error 1

и грубишь

Неправильно, отсеиваю не нужных людей.

Ты вроде на С++ пишешь. C makefile можешь помочь.

Исходная версия saufesma, :

$ make -f tut
g++ -I. -c -MD meshSurf.c
In file included from cgx.h:25:0,
                 from meshSurf.c:30:
extUtil.h:37:12: fatal error: GL/glut_cgx.h: No such file or directory
   #include <GL/glut_cgx.h>
            ^~~~~~~~~~~~~~~
compilation terminated.
tut:17: recipe for target 'meshSurf.o' failed
make: *** [meshSurf.o] Error 1

и моя идея с заменой #include <> на #include «» не сработала

$ make -f tut
g++ -I. -c -MD meshSurf.c
In file included from cgx.h:25:0,
                 from meshSurf.c:30:
extUtil.h:37:12: fatal error: GL/glut_cgx.h: No such file or directory
   #include "GL/glut_cgx.h"
            ^~~~~~~~~~~~~~~
compilation terminated.
tut:17: recipe for target 'meshSurf.o' failed
make: *** [meshSurf.o] Error 1

и грубишь

Неправильно, отсеиваю не нужных людей.