Yesterday I wrote a simple program. The problem is that g++ won't compile it -
main.cpp: In function ‘void display()’:
main.cpp:32:21: error: ‘loadObj’ was not declared in this scope
loadObj("model.obj");
I don't understand why - everything has been included. I'm trying to build it with this command
g++ -Wall -o main objLoader.cpp main.cpp -lGL -lglut -lGLU
There is a link to source: CLICK
Any ideas?