When compiling with this command
"gcc cyl.cpp -lglut -lGLU -lGL -o cyl"
I get these errors:
/tmp/ccTmVLQZ.o: In function `main':
cyl.cpp:(.text+0x7d): undefined reference to `gfxInit()'
/tmp/ccTmVLQZ.o: In function `displayFunc()':
cyl.cpp:(.text+0xb6): undefined reference to `CylVertexArray'
cyl.cpp:(.text+0xf2): undefined reference to `CylFaceArray'
cyl.cpp:(.text+0xfc): undefined reference to `CylNofFaceVertex'
cyl.cpp:(.text+0x122): undefined reference to `CylNofFaceVertex'
collect2: ld returned 1 exit status
I really do not know what -lglut,-lGL and that stuff mean, but I thought that i got these errors because of the wrong usage of extern function.
Any suggestions?