D
D
dstdfx2014-12-18 20:41:46
linux
dstdfx, 2014-12-18 20:41:46

Connecting the glut library to qt creator to work with the header?

I have :
debian wheezy 7.7
Qt Creator 3.2.1 (opensource)
(Qt 5.3.2 (GCC 4.6.1, 64 bit) )
I would like to know how to include this library?
906b1fcc951c4946b639f0ae27cb472f.png8d2d0c039c514659b1b685529cf963dc.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Armenian Radio, 2014-12-18
@gbg

It seems like after connecting to the openGL project (QT+=opengl in *.pro), all other heads will connect themselves.

A
asd111, 2014-12-19
@asd111

glut is not ice, he suffered with it himself, it's better to take SDL or the usual qt opengl windows.
But in fact the problem seems to be that you do not have glut.h installed. You will also need to specify the -lglut flag when compiling.
To install glut on Debian
apt-get install libglut3-dev

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question