L
L
lexaxaxa2014-10-06 21:01:51
OpenGL
lexaxaxa, 2014-10-06 21:01:51

How to connect glut in dev cpp under windows7*64?

Hello! Stupid problem: the linker in dev ccp always writes that an undefined reference to.... to one or another function that is in glut.h and in the code. It seems that the files glut.h, glut32.lib and glut32.dill are in the same directories as their "graphic counterparts" from Opengl, with the help of which graphics are displayed without problems. Links for the linker are set automatically when you select the type of project (Glut), like the Opengl project, which is successfully launched. I wonder what is the root of evil? On the Opengl site, I only found instructions that apply to IRIX 6.1. Can they be applied to Windows 7*64 and how?
To build the N32 or N64 GLUT libraries, do the following:
1) Make sure you are running IRIX 6.1 or later.
2) Make sure you have the correct compiler, X11, and OpenGL development
environment installed for the object style library version you wish
to generate.
3) Run "mkmkfiles.sgi" in this directory.
4) Make sure you have built the "lib/glut" directory. Example:
(cd lib/glut; make)
5) Change to one of the N32 or N64 GLUT library directories,
depending on what "object style" you wish to build:
N64 (new 64-bit ABI) - "cd lib/glut .n64"
N32 (new 32-bit ABI) - "cd lib/glut.n32"
6) Execute "make" in the directory.
INSTALLATION
=============
If you want to install the resulting archives into the right system
library directories, do the following:
FOR N32: cp lib/glut.n32/libglut.a /usr/lib32
FOR N64: cp lib/glut.n64/libglut.a /usr/lib64
- Mark Kilgard

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question