Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_pre.php on line 387

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_pre.php on line 387

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 337

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 339

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 341

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 343
opengl tut compile problem - link error

Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jun 2007
    Posts
    72

    Talking opengl tut compile problem - link error

    Hello, Iīm trying to do an opengl tutorial "first OpneGL Program" from http://www.cprogramming.com/

    . While trying to
    compile the first big box of code. This is the error message I get:

    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__glPopMatrix@0
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__glEnd@0
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__glVertex3f@12
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__glBegin@4
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__glPushMatrix@0
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__glScalef@12
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__glTranslatef@12
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__glColor3f@12
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__glRotatef@16
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__glFlush@0
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__glLoadIdentity@0
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__glClear@4
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__glClearColor@16
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__glEnable@4
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__wglCreateContext@4
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    _gluPerspective@32
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__glMatrixMode@4
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__glViewport@16
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__wglDeleteContext@4
    main.obj : error LNK2001: Nichtaufgeloestes externes Symbol
    __imp__wglMakeCurrent@8


    Searched the web and msdn but couldnīt find a resolution (although its
    100 percent beginner fault, probably the fault in searching is up to
    me :). The answers I found were to link the gl lib or donīt link the lib twice, I mean with the default link and a newer SDK. Tried both ways but nothing positive happened to me ???. Iīm using vc6. Any help is apreciated.

  2. #2
    Coders NightGhost's Avatar
    Join Date
    Apr 2006
    Posts
    658

    Re: opengl tut compile problem - link error

    link the opengl library.

  3. #3
    Member
    Join Date
    Jun 2007
    Posts
    72

    Re: opengl tut compile problem - link error

    Got it with ur help, thx. For the shame of mine have to be honest and say: asked nearly the same questions a few weeks ago ;D.Just remembered as I read ur posts - will think more about next time - feeling silly when I look at the time I spent to solve the problem instead of reading the old thread >. Have to say sorry to u mates. But thx to everyone who read my question and thought a sec about it. Please donīt blame me

Similar Threads

  1. compile error
    By bArtjeeeeeeee in forum Basics
    Replies: 1
    Last Post: August 30th, 2008, 21:14
  2. Compile error
    By Varath. in forum Basics
    Replies: 2
    Last Post: December 18th, 2007, 22:59
  3. [HELP] /Zm Compile Error
    By siLenCer in forum Basehooks / Sources
    Replies: 4
    Last Post: November 9th, 2007, 23:46
  4. Compile error
    By Artificiose in forum Call of Duty 2 Cheats
    Replies: 6
    Last Post: July 5th, 2007, 16:57
  5. Compile error or somethink missing??
    By SiLenCe in forum Client Hooks
    Replies: 3
    Last Post: June 27th, 2007, 11:31

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •