Results 1 to 3 of 3

Thread: Need help for a newbie

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    9

    Need help for a newbie

    Dear all,

    I am very new to OpenGL ES. I know a bit about OpenGL and want to learn OpenGL ES. I downloaded "gerbera-2.0.4-es-1.1-win32-bin-non-commercial".

    I had VC++ 6 install in my notebook.

    I copile "sample.c". It could be compiled but when I click build it shows many errors.

    sample.obj : error LNK2001: unresolved external symbol __imp__eglTerminate
    sample.obj : error LNK2001: unresolved external symbol __imp__eglDestroySurface
    sample.obj : error LNK2001: unresolved external symbol __imp__eglDestroyContext
    sample.obj : error LNK2001: unresolved external symbol __imp__eglMakeCurrent
    sample.obj : error LNK2001: unresolved external symbol __imp__eglCreateWindowSurface
    sample.obj : error LNK2001: unresolved external symbol __imp__eglCreateContext
    sample.obj : error LNK2001: unresolved external symbol __imp__eglChooseConfig
    sample.obj : error LNK2001: unresolved external symbol __imp__eglInitialize
    sample.obj : error LNK2001: unresolved external symbol __imp__eglGetConfigs
    sample.obj : error LNK2001: unresolved external symbol __imp__eglGetDisplay
    sample.obj : error LNK2001: unresolved external symbol __imp__eglSwapBuffers
    sample.obj : error LNK2001: unresolved external symbol __imp__glDrawElements
    sample.obj : error LNK2001: unresolved external symbol __imp__glRotatef
    sample.obj : error LNK2001: unresolved external symbol __imp__glTranslatef
    sample.obj : error LNK2001: unresolved external symbol __imp__glLoadIdentity
    sample.obj : error LNK2001: unresolved external symbol __imp__glMatrixMode
    sample.obj : error LNK2001: unresolved external symbol __imp__glNormalPointer
    sample.obj : error LNK2001: unresolved external symbol __imp__glVertexPointer
    sample.obj : error LNK2001: unresolved external symbol __imp__glClear
    sample.obj : error LNK2001: unresolved external symbol __imp__glClearColor
    sample.obj : error LNK2001: unresolved external symbol __imp__glEnableClientState
    sample.obj : error LNK2001: unresolved external symbol __imp__glColor4x
    sample.obj : error LNK2001: unresolved external symbol __imp__glShadeModel
    sample.obj : error LNK2001: unresolved external symbol __imp__glHint
    sample.obj : error LNK2001: unresolved external symbol __imp__glClearDepthf
    sample.obj : error LNK2001: unresolved external symbol __imp__glDepthMask
    sample.obj : error LNK2001: unresolved external symbol __imp__glDisable
    sample.obj : error LNK2001: unresolved external symbol __imp__glEnable
    sample.obj : error LNK2001: unresolved external symbol __imp__glMaterialfv
    sample.obj : error LNK2001: unresolved external symbol __imp__glLightfv
    sample.obj : error LNK2001: unresolved external symbol __imp__glScissor
    sample.obj : error LNK2001: unresolved external symbol __imp__glViewport
    sample.obj : error LNK2001: unresolved external symbol __imp__glFrustumf
    LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
    Debug/sample.exe : fatal error LNK1120: 34 unresolved externals
    Error executing link.exe.

    sample.exe - 35 error(s), 0 warning(s)

    Could anyone help me to solve this problem?

    Thank you very much.

    Sophea

  2. #2
    Junior Member
    Join Date
    Feb 2005
    Posts
    5

    Re: Need help for a newbie

    Paste the .lib file into the vc6 lib folder.
    Bye.
    --eminemence.

  3. #3
    Junior Member
    Join Date
    Jul 2004
    Posts
    9

    Re: Need help for a newbie

    I already copied "libGLES_CM.lib" to the lib folder in VC++. It could be compiled but when i click build it generates errors as shown below:

    --------------------Configuration: sample - Win32 Debug--------------------
    Linking...
    LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
    Debug/sample.exe : fatal error LNK1120: 1 unresolved externals
    Error executing link.exe.

    sample.exe - 2 error(s), 0 warning(s)

    Could you help me to fix this problem?

    Thank you very much.

    Sophea

Similar Threads

  1. Newbie needs your help
    By MichaelS in forum OpenGL ES general technical discussions
    Replies: 5
    Last Post: 01-26-2007, 05:05 AM
  2. Help a newbie
    By wmpang in forum OpenGL ES general technical discussions
    Replies: 6
    Last Post: 01-13-2005, 03:50 AM

Posting Permissions

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