To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 3788
3787  |  3789
Subject: 
Re: ldglite (ldlite for OpenGL and Linux) new stuff
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 26 Jan 2000 23:38:08 GMT
Viewed: 
1281 times
  
In lugnet.cad.dev, Don Heyse writes:
See what happens when you remove -L/usr/X11R6/lib from the ldglite: line in
the makefile and then relink.

$ make -f makefile.linux
gcc -c -g -DUNIX -DUSE_OPENGL ldliteVR_main.c
gcc -c -g -DUNIX -DUSE_OPENGL stub.c
stub.c: In function `init_zimage':
stub.c:1062: warning: comparison of distinct pointer types lacks a cast
stub.c: In function `zClear':
stub.c:1596: warning: passing arg 1 of `zReset' from incompatible pointer type
stub.c:1596: warning: passing arg 2 of `zReset' from incompatible pointer type
gcc -c -g -DUNIX -DUSE_OPENGL y.tab.c
y.tab.c: In function `yyparse':
y.tab.c:1550: warning: assignment makes pointer from integer without a cast
y.tab.c:1576: warning: assignment makes pointer from integer without a cast
gcc -c -g -DUNIX -DUSE_OPENGL lex.yy.c
gcc -c -g -DUNIX -DUSE_OPENGL qbuf.c
gcc -c -g -DUNIX -DUSE_OPENGL main.c
main.c: In function `platform_setpath':
main.c:46: warning: assignment makes pointer from integer without a cast
main.c:53: warning: assignment makes pointer from integer without a cast
gcc -g -DUNIX -DUSE_OPENGL ldliteVR_main.o stub.o y.tab.o lex.yy.o qbuf.o
main.o -o ldglite -lglut -lGLU -lGL -lX11 -lXi -lXext -lXmu -lm
/usr/bin/ld: cannot open -lX11: No such file or directory
collect2: ld returned 1 exit status
make: *** [ldglite] Error 1

--Todd



Message is in Reply To:
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) Hmmm, perhaps now we're onto something. My executable is only 189110 bytes. Significantly smaller! ;^) I don't think the executable is supposed to be statically linked. I didn't add anything to the makefile to do that. Do you have the .a files (...) (24 years ago, 26-Jan-00, to lugnet.cad.dev)

70 Messages in This Thread:



















Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR