[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linking cygwin and opengl
From: |
Bernd Strieder |
Subject: |
Re: Linking cygwin and opengl |
Date: |
Mon, 24 Oct 2005 16:39:23 +0200 |
User-agent: |
KNode/0.9.2 |
Hello,
Odalrick wrote:
> $g++ -I../../src/include -I../../src/tcl_lite/include -I../../src
> -ansi -pipe -Wall -O2 -o ../firstTestWindow firstTestWindow.o
> -L../../lib -lUserInterface -lTheatre -lColour -lLighting -lWireframe
> -lBody -glut32 -lglu32 -lopengl32
Perhaps -lglut32 instead of -glut32 and -lglu32 ?
Try to find all *.dll containing glut or gl.
> firstTestWindow.o:firstTestWindow.cc:(.text+0x75): undefined reference
> to `_glutInit'
> firstTestWindow.o:firstTestWindow.cc:(.text+0x104): undefined
> reference to `_glutMainLoop'
> ../../lib/libUserInterface.a(Window.o):Window.cc:(.text+0x19):
> undefined reference to `_glutInitDisplayMode'
Bernd Strieder