Results 1 to 7 of 7

Thread: Compiling the simple programs

  1. #1

    Compiling the simple programs

    Hi
    I want to compile a simple program that uses from the UG files.
    I have added the ug.lib to my library; But i receive many linking errors for ug functions.How can i solve this problem?
    type of Project: Win32 consol application
    Compiler: VC++6.0--I haven't the service pack 5.0 of it.

    Regards,
    Ehsan

  2. #2
    Senior Member
    Join Date
    Sep 2003
    Location
    Seattle, WA
    Posts
    246

    Re: Compiling the simple programs

    Which distribution of UG are you refering to? The one that comes with the reference implementation or the one that comes with Vincent?

    - HM

  3. #3

    Re: Compiling the simple programs

    I have downloaded it from the following path: http://sourceforge.net/projects/ogl-es
    After unzipping, All the following folders consist of the ug.lib file:
    ...\ogl-es-bin-0.83\dist\bin\arm\releas
    ...\ogl-es-bin-0.83\dist\bin\arm\debug

    ...\ogl-es-bin-0.83\dist\bin\xscale\release
    ...\ogl-es-bin-0.83\dist\bin\xscale\debug

    ...\ogl-es-bin-0.83\dist\bin\emu\debug

    So which ug.lib should i use?
    in summery i have used from the suggested files in your site.
    Regards,
    Ehsan

  4. #4
    Senior Member
    Join Date
    Sep 2003
    Location
    Seattle, WA
    Posts
    246

    Re: Compiling the simple programs

    Well, none of them is for VC 6/Win32.

    All the versions you can download are for Windows Mobile, either actual devices (ARM, XScale) or the Emulator (emu).

    You might be able to adapt the source code though.

    Hope that helps.

    HM

  5. #5

    Re: Compiling the simple programs

    Hi
    1)As i have understood, the UG is the equivalent API for the GLUT or GLAUX. is it true?
    2)If we want to write an OpenGL Win32 application program, we must use from the WGL--for windows.For OpenGL|ES, which API do we use?
    3)Can we compile our OpenGL|ES programs with VC++6.0--in windows XP?Is there any UG library for VC++6.0?
    Regards,
    Ehsan

  6. #6
    Senior Member
    Join Date
    Sep 2003
    Location
    Seattle, WA
    Posts
    246

    Re: Compiling the simple programs

    1. yes
    2. The egl... functions are the equivalent.
    3. I a not aware of a Win32 desktop version of UG; as said, you should be able to adjust the sources for Windows Mobile. What implementation of OpenGL ES are you using?

    - HM

  7. #7

    Re: Compiling the simple programs

    OK.I'm using from the OpenGL|ES 1.1.
    So should i compile my programs in the pocket PC?--I haven't it and in our country there's no such windows mobiles.
    Regards,
    Ehsan

Similar Threads

  1. rebuilding programs
    By bienator in forum OpenCL
    Replies: 2
    Last Post: 02-24-2010, 07:02 AM
  2. Compiling the OpenML programs
    By ehsan2004 in forum OpenML Coding & Technical Issues
    Replies: 2
    Last Post: 11-20-2004, 11:53 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
  •