[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] OpenGL



Sune Fischer wrote:
> 
> Okay, her kommer så hele smøren, linksne var faktisk
> forkerte, men nu er de vist rettet, alligevel får jeg
> samme fejlmeddelse.
.....
> 
> sslug@sslug Star]$ gcc -I/usr/local/include/GL
> star.c -lglut -lGLU -lGL -L/usr/local/lib -lXi -lXmu
> -lXext -lm
> star.c: In function `main':
> star.c:302: warning: return type of `main' is not
> `int'
> /usr/bin/ld: cannot open -lXi: No such file or
> directory
> collect2: ld returned 1 exit status

Det er da ikke samme fejlmeddelelse! Nu er det Xi biblioteket,
der mangler!

Der skulle nok stå:

gcc -I/usr/local/include/GL star.c -lglut -lGLU -lGL -L/usr/X11R6/lib
-lXi -lXmu -lXext -lm

Mogens
-- 
Mogens Kjaer, Carlsberg Laboratory, Dept. of Chemistry
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: sslug@sslug Homepage: http://www.crc.dk


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *