🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.api.opengl
Article #71

Trying to start with Mesa2.5, Help.

#71
From: Ctrl-Alt-Delete
Date: Tue, 09 Dec 1997 00:00
99 lines
4703 bytes

Hi,

I recently got Mesa2.5 since 3Dfx is making a lot of fuss about it's
OGL Beta, SDK.
http://www-hmw.caribel.pisa.it/fxmesa/index.shtml

Once unzipped, I prepared the way to compile it for my voodoo rush board.
Using VC++5.0, I got the glide libs and headers in the defailt VC++ LIB
and HEADERS dir.  Eventually ;)...I managed to get the "makefx" batchfile
to compile the mesa version:

OPENGL32 DLL       535,040  12-09-97  1:07a OpenGL32.DLL
OPENGL32 LIB       269,690  12-09-97  1:07a OpenGL32.lib
OPENGL32 EXP        47,383  12-09-97  1:07a OpenGL32.exp
GLU32    DLL        65,024  12-09-97  1:09a GLU32.dll
GLU32    LIB        30,300  12-09-97  1:09a GLU32.lib
GLU32    EXP         5,596  12-09-97  1:09a GLU32.exp
GLUT32   DLL       155,136  12-09-97  1:12a GLUT32.dll
GLUT32   LIB        69,580  12-09-97  1:12a GLUT32.lib
GLUT32   EXP        13,382  12-09-97  1:12a GLUT32.exp
FXTK     LIB       183,848  12-09-97  1:17a fxTK.lib

I found-out that I had to get the 3Dfx DEMOS from another ZIP file
So I unzipped "MesaDemos-2_4.zip" and transfered the "3Dfx" dir into
mesa-2.5 directory.  I was now able to try to compile the demos.
But I soon noticed the makefile.fx was not using the correct libs.
Here is the linking statement of the demo makefile.fx


LINK=   /link $(MESALIB)\fxMesa.lib $(MESALIB)\fxGLU.lib \
        $(MESALIB)\fxGLUT.lib $(MESALIB)\fxTK.lib \
        glide2x.lib texus.lib kernel32.lib user32.lib gdi32.lib winmm.lib

So, I changed the name to what the Mesa had just compiled:

LINK=   /link $(MESALIB)\OpenGL32.lib $(MESALIB)\GLU32.lib \
        $(MESALIB)\GLUT32.lib $(MESALIB)\fxTK.lib \
        glide2x.lib texus.lib kernel32.lib user32.lib gdi32.lib winmm.lib

Now it should use the proper MESA version, I thought !

But, unfortunately I have LINK errors.  Can you please help me Starting
with this superb perspective of having accelerated 3Dfx GL.
That's all I need to start writing cool 3D Freeware and Sharewares. :)
I must admit, I'v been out of the programming league for a while so,
so this one might seem obvious to you.

You are welcomed to email-me at:
Ben
bjsoft@videotron.caNOSPAM-PLEASE
alias Ctrl-Alt-Delete ;)

P.S.  I know 3dfx.opengl group exists, but I have no easy access to
      this newsgroup, Please respond in all, or by mail.

--------------- LINK Problem attached ----------------

teapot.c
image.c
dteapot.c
shadow.c
Generating Code...
Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022
Copyright (C) Microsoft Corp 1992-1997. All rights reserved.

/out:teapot.exe 
..\..\lib\OpenGL32.lib 
..\..\lib\GLU32.lib 
..\..\lib\GLUT32.lib 
..\..\lib\fxTK.lib 
glide2x.lib 
texus.lib 
kernel32.lib 
user32.lib 
gdi32.lib 
winmm.lib 
teapot.obj 
image.obj 
dteapot.obj 
shadow.obj 
teapot.obj : error LNK2001: unresolved external symbol _glutMainLoop
teapot.obj : error LNK2001: unresolved external symbol _glutIdleFunc
teapot.obj : error LNK2001: unresolved external symbol _glutSpecialFunc
teapot.obj : error LNK2001: unresolved external symbol _glutKeyboardFunc
teapot.obj : error LNK2001: unresolved external symbol _glutDisplayFunc
teapot.obj : error LNK2001: unresolved external symbol _glutReshapeFunc
teapot.obj : error LNK2001: unresolved external symbol _glutCreateWindow
teapot.obj : error LNK2001: unresolved external symbol _glutInitDisplayMode
teapot.obj : error LNK2001: unresolved external symbol _glutInitWindowSize
teapot.obj : error LNK2001: unresolved external symbol _glutSwapBuffers
teapot.obj : error LNK2001: unresolved external symbol _glutBitmapHelvetica10
teapot.obj : error LNK2001: unresolved external symbol _glutBitmapHelvetica18
teapot.obj : error LNK2001: unresolved external symbol _glutBitmapCharacter
teapot.obj : error LNK2001: unresolved external symbol _glutBitmapTimesRoman24
teapot.exe : fatal error LNK1120: 14 unresolved externals

--------------------- End of error log -------------------------
Technical Details
Message-ID: <66k86i$18t$1@walton.videotron.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 101278,538aa48cc1620e70,start
X-Google-Attributes: gid101278,public
X-Google-Thread: f65bb,538aa48cc1620e70,start
X-Google-Attributes: gidf65bb,public
X-Google-Thread: 100291,538aa48cc1620e70,start
X-Google-Attributes: gid100291,public
X-Google-Thread: 10a47c,538aa48cc1620e70,start
X-Google-Attributes: gid10a47c,public
From: NOSPAMbjsoft@videotron.ca (Ctrl-Alt-Delete)
Subject: Trying to start with Mesa2.5, Help.
Date: 1997/12/09
Message-ID: <66k86i$18t$1@walton.videotron.net>
X-Deja-AN: 296695673
Organization: Try-It
Newsgroups: comp.graphics.api.opengl,comp.os.ms-windows.programmer.graphics,3dfx.opengl,3dfx.products