Results 1 to 4 of 4

Thread: Problem with rasteroid+glutes in emulator of visual studio

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Posts
    1

    Problem with rasteroid+glutes in emulator of visual studio

    HI!

    I try the tutorial of ZeusCMD http://www.zeuscmd.com/tutorials/opengles/index.php
    with Hybrid's Rasteroid Implementation and Glut es in Visual Studio 2005, but when I build for emulator, I have a lot of unresolved external symbol like this:

    ------ Rebuild All started: Project: 16DirectionalLighting, Configuration: Debug Pocket PC 2003 (ARMV4) ------
    Deleting intermediate and output files for project '16DirectionalLighting', configuration 'Debug|Pocket PC 2003 (ARMV4)'
    Compiling...
    main.cpp
    Compiling resources...
    Linking...
    main.obj : error LNK2019: unresolved external symbol __imp_glMultMatrixf referenced in function gluPerspectivef
    main.obj : error LNK2019: unresolved external symbol __imp_glMultMatrixx referenced in function gluPerspectivex
    main.obj : error LNK2019: unresolved external symbol __imp_glTranslatef referenced in function gluLookAtf
    main.obj : error LNK2019: unresolved external symbol __imp_glTranslatex referenced in function gluLookAtx
    glutes_static.lib(glutes_font.obj) : error LNK2001: unresolved external symbol __imp_glTranslatex
    main.obj : error LNK2019: unresolved external symbol __imp_glShadeModel referenced in function "void __cdecl init(void)" (?init@@YAXXZ)
    main.obj : error LNK2019: unresolved external symbol __imp_glClearDepthf referenced in function "void __cdecl init(void)" (?init@@YAXXZ)
    main.obj : error LNK2019: unresolved external symbol __imp_glClearColor referenced in function "void __cdecl init(void)" (?init@@YAXXZ)
    main.obj : error LNK2019: unresolved external symbol __imp_glDepthFunc referenced in function "void __cdecl init(void)" (?init@@YAXXZ)
    main.obj : error LNK2019: unresolved external symbol __imp_glLightf referenced in function "void __cdecl init(void)" (?init@@YAXXZ)
    main.obj : error LNK2019: unresolved external symbol __imp_glLightfv referenced in function "void __cdecl init(void)" (?init@@YAXXZ)
    main.obj : error LNK2019: unresolved external symbol __imp_glMaterialf referenced in function "void __cdecl init(void)" (?init@@YAXXZ)
    main.obj : error LNK2019: unresolved external symbol __imp_glMaterialfv referenced in function "void __cdecl init(void)" (?init@@YAXXZ)
    main.obj : error LNK2019: unresolved external symbol __imp_glEnable referenced in function "void __cdecl init(void)" (?init@@YAXXZ)
    glutes_static.lib(glutes_font.obj) : error LNK2001: unresolved external symbol __imp_glEnable
    main.obj : error LNK2019: unresolved external symbol __imp_glFlush referenced in function "void __cdecl display(void)" (?display@@YAXXZ)
    glutes_static.lib(glutes_display.obj) : error LNK2001: unresolved external symbol __imp_glFlush
    main.obj : error LNK2019: unresolved external symbol __imp_glColor4f referenced in function "void __cdecl display(void)" (?display@@YAXXZ)
    main.obj : error LNK2019: unresolved external symbol __imp_glRotatef referenced in function "void __cdecl display(void)" (?display@@YAXXZ)
    main.obj : error LNK2019: unresolved external symbol __imp_glLoadIdentity referenced in function "void __cdecl display(void)" (?display@@YAXXZ)
    glutes_static.lib(glutes_font.obj) : error LNK2001: unresolved external symbol __imp_glLoadIdentity
    main.obj : error LNK2019: unresolved external symbol __imp_glClear referenced in function "void __cdecl display(void)" (?display@@YAXXZ)
    main.obj : error LNK2019: unresolved external symbol __imp_glViewport referenced in function "void __cdecl reshape(int,int)" (?reshape@@YAXHH@Z)
    glutes_static.lib(glutes_main.obj) : error LNK2001: unresolved external symbol __imp_glViewport
    main.obj : error LNK2019: unresolved external symbol __imp_glMatrixMode referenced in function "void __cdecl reshape(int,int)" (?reshape@@YAXHH@Z)
    glutes_static.lib(glutes_font.obj) : error LNK2001: unresolved external symbol __imp_glMatrixMode
    main.obj : error LNK2019: unresolved external symbol __imp_glDisable referenced in function "void __cdecl menu(int)" (?menu@@YAXH@Z)
    glutes_static.lib(glutes_font.obj) : error LNK2001: unresolved external symbol __imp_glDisable
    main.obj : error LNK2019: unresolved external symbol __imp_glIsEnabled referenced in function "void __cdecl menu(int)" (?menu@@YAXH@Z)
    glutes_static.lib(glutes_display.obj) : error LNK2019: unresolved external symbol __imp_eglSwapBuffers referenced in function glutSwapBuffers
    glutes_static.lib(glutes_main.obj) : error LNK2001: unresolved external symbol __imp_eglSwapBuffers
    glutes_static.lib(glutes_menu.obj) : error LNK2001: unresolved external symbol __imp_eglSwapBuffers
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glDisableClientState referenced in function __glutBitmapCharacter
    glutes_static.lib(glutes_shape.obj) : error LNK2001: unresolved external symbol __imp_glDisableClientState
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glEnableClientState referenced in function __glutBitmapCharacter
    glutes_static.lib(glutes_shape.obj) : error LNK2001: unresolved external symbol __imp_glEnableClientState
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glVertexPointer referenced in function __glutBitmapCharacter
    glutes_static.lib(glutes_shape.obj) : error LNK2001: unresolved external symbol __imp_glVertexPointer
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glDrawElements referenced in function __glutBitmapCharacter
    glutes_static.lib(glutes_shape.obj) : error LNK2001: unresolved external symbol __imp_glDrawElements
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glAlphaFuncx referenced in function __glutBitmapCharacter
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glOrthox referenced in function glutBitmapCharacterPoints
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glPushMatrix referenced in function glutBitmapCharacterPoints
    glutes_static.lib(glutes_shape.obj) : error LNK2001: unresolved external symbol __imp_glPushMatrix
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glPopMatrix referenced in function glutBitmapCharacterPoints
    glutes_static.lib(glutes_shape.obj) : error LNK2001: unresolved external symbol __imp_glPopMatrix
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_eglQuerySurface referenced in function glutTrueTypeStringPoints
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glGenTextures referenced in function glutBitmapCharacterTex
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glBindTexture referenced in function glutBitmapCharacterTex
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glTexImage2D referenced in function glutBitmapCharacterTex
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glTexParameterx referenced in function glutBitmapCharacterTex
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glTexEnvx referenced in function glutBitmapCharacterTex
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glTexParameterxv referenced in function glutBitmapCharacterTex
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glDrawTexxOES referenced in function glutBitmapCharacterTex
    glutes_static.lib(glutes_font.obj) : error LNK2019: unresolved external symbol __imp_glDeleteTextures referenced in function glutBitmapCharacterTex
    glutes_static.lib(glutes_shape.obj) : error LNK2019: unresolved external symbol __imp_glDrawArrays referenced in function glutSolidTorus
    glutes_static.lib(glutes_shape.obj) : error LNK2019: unresolved external symbol __imp_glNormalPointer referenced in function glutSolidTorus
    glutes_static.lib(glutes_shape.obj) : error LNK2019: unresolved external symbol __imp_glNormal3f referenced in function glutSolidBox
    glutes_static.lib(glutes_shape.obj) : error LNK2019: unresolved external symbol __imp_glScalef referenced in function glutSolidTeapot
    glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp_eglCreateContext referenced in function __glCreateContext
    glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp_eglGetError referenced in function __glCreateContext
    glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp_eglChooseConfig referenced in function __glCreateContext
    glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp_eglMakeCurrent referenced in function __glBindContext
    glutes_static.lib(glutes_window.obj) : error LNK2001: unresolved external symbol __imp_eglMakeCurrent
    glutes_static.lib(glutes_init.obj) : error LNK2001: unresolved external symbol __imp_eglMakeCurrent
    glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp_eglDestroySurface referenced in function __glDestroySurface
    glutes_static.lib(glutes_window.obj) : error LNK2001: unresolved external symbol __imp_eglDestroySurface
    glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp_eglCreatePbufferSurface referenced in function __glCreateSurface
    glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp_eglCreatePixmapSurface referenced in function __glCreateSurface
    glutes_static.lib(glutes_main.obj) : error LNK2019: unresolved external symbol __imp_eglCreateWindowSurface referenced in function __glCreateSurface
    glutes_static.lib(glutes_init.obj) : error LNK2019: unresolved external symbol __imp_eglGetDisplay referenced in function __glInit
    glutes_static.lib(glutes_init.obj) : error LNK2019: unresolved external symbol __imp_eglInitialize referenced in function __glInit
    glutes_static.lib(glutes_init.obj) : error LNK2019: unresolved external symbol __imp_eglTerminate referenced in function __glDestroy
    glutes_static.lib(glutes_state.obj) : error LNK2019: unresolved external symbol __imp_glGetIntegerv referenced in function glutGet
    Pocket PC 2003 (ARMV4)\Debug/16DirectionalLighting.exe : fatal error LNK1120: 56 unresolved externals
    Build log was saved at "file://c:\Documents and Settings\Morgana\Desktop\Tesina\OpenGL ES\OpenGL ES Visual Studio 2005 poject\Draw Sphere Glute NEW\Pocket PC 2003 (ARMV4)\Debug\BuildLog.htm"
    16DirectionalLighting - 75 error(s), 0 warning(s)
    ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

    These symbols are functions declared in egl.h and gl.h (Rasteroid).
    These file are in linker's option as Additional Library Directories.

    If I compile for device is all ok...

    Can you help me?
    What is the problem??

    Thanks

    Martina

  2. #2
    Junior Member
    Join Date
    Aug 2007
    Posts
    1
    Hi,
    i think you have a pb with library, forget or wrong version (glues.lib ?).
    I try to compile and run directional lightning on my computer (vista, visual 2005 WM 5.0 emulator), it works. If you want, I can send you the visual project with all lib and dll (GlutES and rasteroid).


    ludo.

  3. #3
    Hey luod33,

    may you send me this project? Visual Studio 2005+Rasteroid+GlutES?
    wendel12345@yahoo.com.br

    Thank you

  4. #4
    Junior Member
    Join Date
    Mar 2008
    Posts
    15
    in Additional Library Directories, you put the path of the library (*.lib) and not (*.h). Then you have to precise the .lib files (libEGL.lib, libGLES_CM_NoE.lib ...) in Additional Dependencies. The .h last files have to be declared as #include <X> with the path in Additional Include Directories.

Similar Threads

  1. Visual studio problem with cl_vector types
    By zeland in forum OpenCL
    Replies: 2
    Last Post: 01-27-2011, 03:49 PM
  2. Replies: 4
    Last Post: 04-15-2010, 01:12 PM

Posting Permissions

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