Thread: nehe opengl prob

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Flash Animator, OF DOOOOM bluehead's Avatar
    Join Date
    Nov 2001
    Posts
    269

    nehe opengl prob

    Linker options.

    I followed instructions on a post i found through search, but it didn't help..

    it told me to link the first 5 library items in /lib/ , and then a 6th. but i still have


    Code:
    Compiler: Default compiler
    Building Makefile: "C:\Dev-Cpp\bin\Makefile.win"
    Executing  make...
    make.exe -f "C:\Dev-Cpp\bin\Makefile.win" all
    g++.exe main.o  -o "opengl_bs.exe" -L"C:/Dev-Cpp/lib" -mwindows ../lib/libgdi32.a ../lib/libavifil32.a ../lib/libaclui.a ../lib/libadvapi32.a ../lib/libapcups.a ../lib/libavicap32.a  
    
    main.o(.text+0x31):main.cpp: undefined reference to `glViewport@16'
    main.o(.text+0x40):main.cpp: undefined reference to `glMatrixMode@4'
    main.o(.text+0x48):main.cpp: undefined reference to `glLoadIdentity@0'
    main.o(.text+0x76):main.cpp: undefined reference to `gluPerspective@32'
    main.o(.text+0x85):main.cpp: undefined reference to `glMatrixMode@4'
    main.o(.text+0x8d):main.cpp: undefined reference to `glLoadIdentity@0'
    main.o(.text+0xa2):main.cpp: undefined reference to `glShadeModel@4'
    main.o(.text+0xcd):main.cpp: undefined reference to `glClearColor@16'
    main.o(.text+0xda):main.cpp: undefined reference to `glClearDepth@8'
    main.o(.text+0xe9):main.cpp: undefined reference to `glEnable@4'
    main.o(.text+0xf8):main.cpp: undefined reference to `glDepthFunc@4'
    main.o(.text+0x10f):main.cpp: undefined reference to `glHint@8'
    main.o(.text+0x12c):main.cpp: undefined reference to `glClear@4'
    main.o(.text+0x134):main.cpp: undefined reference to `glLoadIdentity@0'
    main.o(.text+0x192):main.cpp: undefined reference to `wglMakeCurrent@8'
    main.o(.text+0x1cd):main.cpp: undefined reference to `wglDeleteContext@4'
    main.o(.text+0x725):main.cpp: undefined reference to `wglCreateContext@4'
    main.o(.text+0x787):main.cpp: undefined reference to `wglMakeCurrent@8'
    collect2: ld returned 1 exit status
    
    make.exe: *** [opengl_bs.exe] Error 1
    
    Execution terminated
    Last edited by bluehead; 03-23-2005 at 12:15 AM.
    Code:
    #if _emo
      #define stereo_type_i_dislike
    #endif

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenGL prob
    By HQSneaker in forum Game Programming
    Replies: 18
    Last Post: 06-22-2006, 12:55 PM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  3. NeHe OpenGL Tut Dont Compile.
    By oobootsy1 in forum C++ Programming
    Replies: 3
    Last Post: 03-08-2004, 10:21 PM
  4. opengl Nehe tutorial errors when compiling
    By gell10 in forum Game Programming
    Replies: 4
    Last Post: 07-14-2003, 08:09 PM
  5. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM