View Full Version : Compiling the simple programs
12-04-2004, 11:55 AM
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.
12-04-2004, 03:47 PM
Which distribution of UG are you refering to? The one that comes with the reference implementation or the one that comes with Vincent?
12-05-2004, 02:34 AM
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:
So which ug.lib should i use?
in summery i have used from the suggested files in your site.
12-05-2004, 08:57 AM
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.
12-05-2004, 10:11 AM
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?
12-05-2004, 11:08 AM
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?
12-06-2004, 02:35 AM
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.