I\'ve been working on porting one of my games to Linux and can\'t seem to figure out the reasons for the errors I\'m received. The game was originally written in Visual Studio 2
As pointed out by Dietmar Kühl in the comments, I was using gcc
to link, rather than g++
.
Upon amending the linking command, I received ...undefined reference to 'gluLookAt'
which was fixed by adding -lGLU
.
As pointed out earlier by Dietmar Kühl in the comments,
you should change the linker command from gcc
to g++
.