🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Mesa + 3DFX

#45
From: Paul Richards
Date: Sun, 30 May 1999 00:00
78 lines
5009 bytes
Hi,
I built Mesa ok and all the examples work fine with the 3DFX card.  I
tried to build one of the examples myself to see if I could do it.  I
make a project in MS VC++ 6 and added to it the files mesa\3dfx\demos\
fire.c and image.c.  I also linked in these libraries: kernel32.lib
user32.lib gdi32.lib opengl32.lib glu32.lib glut32.lib glide2x.lib
winmm.lib.

They compile ok (with one or two warnings mind) but I get several linker
errors:
Linking...
fire.obj : error LNK2001: unresolved external symbol _glutMainLoop
fire.obj : error LNK2001: unresolved external symbol _glutReshapeFunc
fire.obj : error LNK2001: unresolved external symbol _glutIdleFunc
fire.obj : error LNK2001: unresolved external symbol _glutDisplayFunc
fire.obj : error LNK2001: unresolved external symbol _glutSpecialFunc
fire.obj : error LNK2001: unresolved external symbol _glutKeyboardFunc
fire.obj : error LNK2001: unresolved external symbol _glFogf
fire.obj : error LNK2001: unresolved external symbol _glFogfv
fire.obj : error LNK2001: unresolved external symbol _glFogi
fire.obj : error LNK2001: unresolved external symbol _glBlendFunc
fire.obj : error LNK2001: unresolved external symbol _glEnable
fire.obj : error LNK2001: unresolved external symbol _glShadeModel
fire.obj : error LNK2001: unresolved external symbol _glutCreateWindow
fire.obj : error LNK2001: unresolved external symbol
_glutInitDisplayMode
fire.obj : error LNK2001: unresolved external symbol _glutInit
fire.obj : error LNK2001: unresolved external symbol _glutInitWindowSize
fire.obj : error LNK2001: unresolved external symbol
_glutInitWindowPosition
fire.obj : error LNK2001: unresolved external symbol _gluPerspective
fire.obj : error LNK2001: unresolved external symbol _glLoadIdentity
fire.obj : error LNK2001: unresolved external symbol _glMatrixMode
fire.obj : error LNK2001: unresolved external symbol _glViewport
fire.obj : error LNK2001: unresolved external symbol _glutSwapBuffers
fire.obj : error LNK2001: unresolved external symbol _glPopMatrix
fire.obj : error LNK2001: unresolved external symbol _glRasterPos2i
fire.obj : error LNK2001: unresolved external symbol _glColor3f
fire.obj : error LNK2001: unresolved external symbol _glOrtho
fire.obj : error LNK2001: unresolved external symbol _glColor4fv
fire.obj : error LNK2001: unresolved external symbol _glVertex3f
fire.obj : error LNK2001: unresolved external symbol _glAlphaFunc
fire.obj : error LNK2001: unresolved external symbol _glEnd
fire.obj : error LNK2001: unresolved external symbol _glVertex3fv
fire.obj : error LNK2001: unresolved external symbol _glTexCoord2fv
fire.obj : error LNK2001: unresolved external symbol _glBegin
fire.obj : error LNK2001: unresolved external symbol _glBindTexture
fire.obj : error LNK2001: unresolved external symbol _glColor4f
fire.obj : error LNK2001: unresolved external symbol _gluLookAt
fire.obj : error LNK2001: unresolved external symbol _glPushMatrix
fire.obj : error LNK2001: unresolved external symbol _glClear
fire.obj : error LNK2001: unresolved external symbol _glClearColor
fire.obj : error LNK2001: unresolved external symbol _glDepthMask
fire.obj : error LNK2001: unresolved external symbol _glDisable
fire.obj : error LNK2001: unresolved external symbol _glTexCoord2f
fire.obj : error LNK2001: unresolved external symbol
_glutBitmapCharacter
fire.obj : error LNK2001: unresolved external symbol _glRecti
fire.obj : error LNK2001: unresolved external symbol __imp__joyGetPos
fire.obj : error LNK2001: unresolved external symbol _glTexEnvf
fire.obj : error LNK2001: unresolved external symbol _glTexParameterf
fire.obj : error LNK2001: unresolved external symbol _gluErrorString
fire.obj : error LNK2001: unresolved external symbol _gluBuild2DMipmaps
fire.obj : error LNK2001: unresolved external symbol _glPixelStorei
fire.obj : error LNK2001: unresolved external symbol _glGenTextures
Debug/fire.exe : fatal error LNK1120: 51 unresolved externals
Error executing link.exe.

fire.exe - 52 error(s), 0 warning(s)

I have copied the include/lib files into the VC ones for both Mesa and
the Glide2x SDK.  I'm using Win95.

TIA
-- 
Paul Richards (AKA Pauldoo)
mailto:paul@dunvegan1.demon.co.uk
http://www.dunvegan1.demon.co.uk/paul/
Technical Details
Message-ID: <fYtVlAA7wZU3EwX8@dunvegan1.demon.co.uk>
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: 100291,43be08220709ec81,start
X-Google-Attributes: gid100291,public
X-Google-Thread: f65bb,43be08220709ec81,start
X-Google-Attributes: gidf65bb,public
From: Paul Richards <Paul@dunvegan1.demon.co.uk>
Subject: Mesa + 3DFX
Date: 1999/05/30
Message-ID: <fYtVlAA7wZU3EwX8@dunvegan1.demon.co.uk>
X-Deja-AN: 483845186
X-NNTP-Posting-Host: dunvegan1.demon.co.uk:193.237.111.243
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 928095329 nnrp-09:18090 NO-IDENT dunvegan1.demon.co.uk:193.237.111.243
Organization: Paul's house
MIME-Version: 1.0
Reply-To: Paul Richards <paul@dunvegan1.demon.co.uk>
Newsgroups: comp.graphics.api.opengl,3dfx.opengl