Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compilando com OpenGL e GLUT [resolvido]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
vfpamp
n00b
n00b


Joined: 26 Apr 2006
Posts: 4

PostPosted: Wed Apr 26, 2006 12:47 am    Post subject: Compilando com OpenGL e GLUT [resolvido] Reply with quote

Olá Pessoal

Estou com problemas com uma compilação com opengl no gentoo.

Aparentemente está tudo instalado corretamente (fiz com o emerge). Os arquivos gl.h, glu.h, glut.h entre outros estão corretamente no /usr/include/GL/* . Porém, numa compilação com g++ o compilador nunca encontra o gl.h e o glut.h. Mesmo eu configurando o path de includes e libs para o /usr/include e /usr/lib.

erro:

Code:
../src/main.cpp:1:21: GL\glut.h: Arquivo ou diretório não encontrado
../src/main.cpp:2:19: GL\gl.h: Arquivo ou diretório não encontrado


Já pensei em privilégios nos arquivos .h, mas as permissões estão corretas.

A única diferença para um ambiente windows de compilação é que existe um arquivo libglut.a no library path. No meu gentoo tem apenas esses no /usr/lib
Code:

libglut.la        libglut.so        libglut.so.3      libglut.so.3.7.1


Não sei mais o que tentar, se vcs puderem me ajudar, qualquer dica é válida.
_________________
Vitor Fernando Pamplona
http://www.javafree.org


Last edited by vfpamp on Thu Apr 27, 2006 1:00 am; edited 1 time in total
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Wed Apr 26, 2006 2:54 am    Post subject: Reply with quote

GL\ ? Será que editar o fonte e colocar GL/ não resolve o problema?
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
vfpamp
n00b
n00b


Joined: 26 Apr 2006
Posts: 4

PostPosted: Thu Apr 27, 2006 12:53 am    Post subject: Reply with quote

8O 8O

:evil: :evil:

Caraca!! hueeuheehuhuee..

Eu já tava ficando doido... quem manda ficar compartilhando projetos windows e linux... tsc tsc tsc

Valeu ae, era só isso mesmo.
_________________
Vitor Fernando Pamplona
http://www.javafree.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum