Hi!
I’m trying to compile (and then hopefully execute) this program.
First of all, I would point out that I didn’t write this code and that this belong to the legitimate author (you can find his name and contact in the README file of the project).
I’m working in a Ubuntu 16.04 (64 bit) environment, on a virtual machine.
This are the steps I did and where I stopped.
After uncompressed the archive, I moved in the directory crane-0.1 and ran this command
$ ./configure; make; make install
the configuration phase failed
...
checking GL/glut.h usability... no
checking GL/glut.h presence... no
checking for GL/glut.h... no
configure: error: Can't find glut.h,install libglut3-dev first!
so I installed the required packages and re-ran the installation command
$ sudo apt-get install freeglut3 freeglut3-dbg freeglut3-dev
...
$ ./configure; make; make install
this time the configure phase terminated correctly, but I got this error in the make phase
so I added the line
#include <unistd.h>
at the file src/ClawCrane.cpp and this solved the problem with the usleep function, but the make phase gave another problem
so I changed the line #167 in the src/Makefile from
crane_LDFLAGS = -lglut -lGLU -lGL --allow-multiple-definition
to
crane_LDFLAGS = -lglut -lGLU -lGL -z muldefs
this solved the last problem, so I ran the make phase again but I got others errors
This is the point where I now stopped. I see that something is wrong with dependency of some library, but i don’t know well how to move from here.
Thank you for reading and for any help!