1 |
Oi, |
2 |
|
3 |
É mais um chute que estou sugerindo; em vez de |
4 |
gcc -Wall -O3 area.o -lglut -lglu -lgl -o area |
5 |
se fizer |
6 |
gcc -Wall -O3 area.o -lglut -lGLU -lGL -o area |
7 |
nao rodaria nao? |
8 |
|
9 |
Nelson |
10 |
|
11 |
|
12 |
|
13 |
Raphael MD wrote: |
14 |
> Ola sei que essa não é a lista de gcc nem de opengl |
15 |
> |
16 |
> mas ja não sei mais onde perguntar |
17 |
> |
18 |
> quero compilar um pequeno programinha de teste para aprender opengl |
19 |
> quando entro com o comando make retorna assim: |
20 |
> |
21 |
> gcc -MM voronoi.c -o voronoi.d |
22 |
> gcc -MM texture.c -o texture.d |
23 |
> gcc -MM strip.c -o strip.d |
24 |
> gcc -MM starfield.c -o starfield.d |
25 |
> gcc -MM rotate.c -o rotate.d |
26 |
> gcc -MM qix.c -o qix.d |
27 |
> gcc -MM null.c -o null.d |
28 |
> gcc -MM nii.c -o nii.d |
29 |
> gcc -MM multiview.c -o multiview.d |
30 |
> gcc -MM maiden.c -o maiden.d |
31 |
> gcc -MM area.c -o area.d |
32 |
> gcc -c -Wall -O3 area.c -o area.o |
33 |
> gcc -Wall -O3 area.o -lglut -lglu -lgl -o area |
34 |
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lglu |
35 |
> collect2: ld returned 1 exit status |
36 |
> make: *** [area] Error 1 |
37 |
> |
38 |
> O problema parece ser essa biblioteca glu |
39 |
> fui nos diretórios /usr/X11R6/lib, e eu tenho a libGLU.so |
40 |
> tem ela tb em usr/lib |
41 |
> mas o compilador não acha a libGLU |
42 |
> os links tb estão ok. |
43 |
> |
44 |
> |
45 |
> |
46 |
> |
47 |
> Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com. |
48 |
> http://br.new.mail.yahoo.com/addresses |
49 |
> |
50 |
|
51 |
-- |
52 |
--- |
53 |
visite stoa.usp.br |
54 |
--- |
55 |
Software Livre: Oque e isso? |
56 |
www.softwarelivre.gov.br/tire-suas-duvidas/o-que-e-software-livre |
57 |
--- |
58 |
yunakaof(a)usp.br Nelson Yunaka +551130916313 |
59 |
Universidade de Sao Paulo - USP ( SCSERED/DTO/CCE ) |
60 |
--- |
61 |
AVISO: |
62 |
Esta mensagem pode conter informacao confidencial ou privilegiada. |
63 |
Se voce nao for o destinatario ou a pessoa autorizada a receber |
64 |
esta mensagem, nao pode usar, copiar ou divulgar as informacoes |
65 |
nela contidas ou tomar qualquer acao baseada nessas informacoes. |
66 |
Se voce recebeu esta mensagem por engano, favor avisar o remetente |
67 |
imediatamente, respondendo o e-mail e em seguida apague-a. |
68 |
Obrigado pela cooperacao. |
69 |
DISCLAIMER: |
70 |
This message may contain confidential and/or privileged information. |
71 |
If you are not the addressee or authorized to receive this for the |
72 |
addressee, you must not use, copy, disclose or take any action based |
73 |
on any information herein. If you have received this message in |
74 |
error, please advise the sender immediately by replying to this |
75 |
e-mail and delete this message. Thank you for your cooperation. |