Dev C++ GLUT not compiling

I am programming in a Linux Operating System, if that changes anything (I'm using WINE just to get my compiler started). Dev C++ (5.0.2.1) is my compiler. I made a program that used to work, but now, changing NOTHING, I run into many linker issues. I checked my links, and they point to actual libraries that worked before. Here are the errors:

1
2
3
4
5
6
7
8
9
10
11
   [Linker error] main - game2.o:main - game2.cpp:(.text+0xec): undefined reference to `glutSwapBuffers' 
   [Linker error] main - game2.o:main - game2.cpp:(.text+0x10e): undefined reference to `glutInit' 
   [Linker error] main - game2.o:main - game2.cpp:(.text+0x122): undefined reference to `glutInitWindowSize' 
   [Linker error] main - game2.o:main - game2.cpp:(.text+0x136): undefined reference to `glutInitWindowPosition' 
   [Linker error] main - game2.o:main - game2.cpp:(.text+0x142): undefined reference to `glutInitDisplayMode' 
   [Linker error] main - game2.o:main - game2.cpp:(.text+0x14e): undefined reference to `glutCreateWindow' 
   [Linker error] main - game2.o:main - game2.cpp:(.text+0x15a): undefined reference to `glutDisplayFunc' 
   [Linker error] main - game2.o:main - game2.cpp:(.text+0x166): undefined reference to `glutIdleFunc' 
   [Linker error] main - game2.o:main - game2.cpp:(.text+0x16b): undefined reference to `glutMainLoop' 
   collect2: ld returned 1 exit status 
  Z:\media\FLASH DRIVE\MyWeb\C++\tools\OPENGL\Makefile.win [Error] [game2.exe] Error 1 (if this is the only error: please check your library includes)  


any ideas?
Sorry, I had a wrong version of the library. The program now works perfectly fine
Topic archived. No new replies allowed.