Matt Tober
02-17-04, 11:10 AM
Number 1: I'm not really really good at programming and stuff. So go easy on me.
I use Dev C++ v4.9.8.7 -
I'm interestied in working with graphics, and have libraries/includes/etc. for OpenGL. Now I am sure I have all the right files to compile a simple graphics program, like the one I'm trying here which contains:
#include <GL/glut.h>
Now I have the glut.h include file, and I copied the GL directory from the OpenGL distribution to my C:\Dev-Cpp\include directory.
This allowed the compiler to find the various function definitions.
But, the linker throws a fit... with stuff like:
[Linker error] undefined reference to `glutInitDisplayMode'
[Linker error] undefined reference to `glutInitWindowSize'
[Linker error] undefined reference to `glutCreateWindow'
In fact... alot of messages like that.
So - near as I can gather, I never learned how to properly and professionally integrate distributions of SDK (Software developer Kits and the like) into my compiler.
Can someone take me from no talent-hack to enlightened compiling guru in simple and easy to follow directions?
- Matt
I use Dev C++ v4.9.8.7 -
I'm interestied in working with graphics, and have libraries/includes/etc. for OpenGL. Now I am sure I have all the right files to compile a simple graphics program, like the one I'm trying here which contains:
#include <GL/glut.h>
Now I have the glut.h include file, and I copied the GL directory from the OpenGL distribution to my C:\Dev-Cpp\include directory.
This allowed the compiler to find the various function definitions.
But, the linker throws a fit... with stuff like:
[Linker error] undefined reference to `glutInitDisplayMode'
[Linker error] undefined reference to `glutInitWindowSize'
[Linker error] undefined reference to `glutCreateWindow'
In fact... alot of messages like that.
So - near as I can gather, I never learned how to properly and professionally integrate distributions of SDK (Software developer Kits and the like) into my compiler.
Can someone take me from no talent-hack to enlightened compiling guru in simple and easy to follow directions?
- Matt