December 03, 2020, 12:05:21 pm

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Mars with OpenGL

Started by sapero, October 31, 2006, 03:33:59 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sapero

No one is using gl? ;D
I have translated many examples from codesampler site, this one is the latest.
Note: the glaux.dll is a custom build from static library, and packed with upx.

REDEBOLT

When I attempted to compile this program with Aurora RC2 1.0.0.405, I received the following errors:

QuoteCompiling...
glMars.src
No Errors

Linking...
Aurora Linker v1.0 Copyright ÂÃ,©2005,2006 Ionic Wind Software
Unresolved external __imp_glViewport
Error: Unresolved extern __imp_glViewport
Error: Unresolved extern __imp_glMatrixMode
Error: Unresolved extern __imp_glLoadIdentity
Error: Unresolved extern __imp_gluPerspective
Error: Unresolved extern auxDIBImageLoadA
Error: Unresolved extern __imp_glGenTextures
Error: Unresolved extern __imp_glBindTexture
Error: Unresolved extern __imp_glTexParameteri
Error: Unresolved extern __imp_glTexImage2D
Error: Unresolved extern __imp_wglCreateContext
Error: Unresolved extern __imp_wglMakeCurrent
Error: Unresolved extern __imp_glClearColor
Error: Unresolved extern __imp_glEnable
Error: Unresolved extern __imp_glDeleteTextures
Error: Unresolved extern __imp_wglDeleteContext
Error: Unresolved extern __imp_glBegin
Error: Unresolved extern __imp_glVertex3f
Error: Unresolved extern __imp_glEnd
Error: Unresolved extern __imp_glNormal3f
Error: Unresolved extern __imp_glTexCoord2f
Error: Unresolved extern __imp_glDeleteLists
Error: Unresolved extern __imp_glGenLists
Error: Unresolved extern __imp_glNewList
Error: Unresolved extern __imp_glEndList
Error: Unresolved extern __imp_glClear
Error: Unresolved extern __imp_glTranslatef
Error: Unresolved extern __imp_glRotatef
Error: Unresolved extern __imp_glPolygonMode
Error: Unresolved extern __imp_glCallList
Error: Unresolved extern __imp_glInterleavedArrays
Error: Unresolved extern __imp_glDrawArrays
Error: Unresolved extern beginRenderText
Error: Unresolved extern __imp_glColor3f
Error: Unresolved extern renderText
Error: Unresolved extern endRenderText
Error(s) in linking \\Delldocker\e\File Server\Installs\AURORA\glMars\glMars.exe


What did I do wrong?
I copied the incs and libs to the appropriate folders.
Regards,
Bob

sapero

Bob, it links fine, without single warning. Maybe you have removed libs from projest?

Ionic Wind Support Team

You probably didn't update the project when you first loaded it.
Ionic Wind Support Team

REDEBOLT

Thanks, Sapero and Paul.

I got it working.

;D
Regards,
Bob