Open dvolkmer opened 2 years ago
Hello, and sorry for the late answer.
I actually had similar trouble when installing GDIS on an Opensuse LEAP 15.1 distribution for a workshop some times ago.
You need to modify the file makefile.linux
in the src
directory:
change the line:
LDFLAGS = -lm
into
LDFLAGS = -lGLU -lm
then it should work.
To my knowledge, Opensuse is the only Linux distribution that requires such a change.
If it helps, I had libGLU1
, libglut3
, freeglut-devel
, and glu-devel
packages installed at that time, thought I do not know which one(s) is(are) necessary.
Best,
Hi,
when trying to compile GDIS with Opensuse Leap 15.3 I obtain the following error message:
Use of uninitialized value $ARGV[0] in string eq at ./install line 21. Must specify package names on the command line Use of uninitialized value $ARGV[0] in string eq at ./install line 54. /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: gl_main.o: in function
gl_init_projection': /home/dirk/Downloads/gdis-master/gdis-master/src/gl_main.c:239: undefined reference to
gluLookAt' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /home/dirk/Downloads/gdis-master/gdis-master/src/gl_main.c:268: undefined reference togluPerspective' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: gl_main.o: in function
gl_project': /home/dirk/Downloads/gdis-master/gdis-master/src/gl_main.c:436: undefined reference togluUnProject' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: gl_main.o: in function
gl_unproject': /home/dirk/Downloads/gdis-master/gdis-master/src/gl_main.c:447: undefined reference to `gluProject' collect2: error: ld returned 1 exit status make: *** [makefile:16: gdis] Fehler 1Any tip how to resolve this problem ?
Kind regards, Dirk