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 / 8925
8924  |  8926
Subject: 
Re: Building LDGLite for off-screen rendering only
Newsgroups: 
lugnet.cad.dev
Date: 
Sun, 18 May 2003 12:30:47 GMT
Viewed: 
1229 times
  
In lugnet.cad.dev, Dan Boger writes:
$ gcc -g -DUNIX -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8
-DNEED_MIN_MAX -DUSE_PNG  -DTILE_RENDER_OPTION -DOSMESA_OPTION
-IMesa-5.0.1/include  ldliteVR_main.o platform.o dirscan.o gleps.o
camera.o f00QuatC.o quant.o stub.o lcolors.o y.tab.o lex.yy.o qbuf.o
main.o ldglpr.o L3Edit.o L3Math.o L3Input.o L3View.o hoser.o tr.o
osmglut.o -o ldglite -lpng -lz  -static -LMesa-5.0.1/src/.libs
-LMesa-5.0.1/src-glu/.libs -LMesa-5.0.1/src/OSmesa/.libs -lOSMesa  -lGLU
-lGL -dynamic -lpthread -lm -L/usr/local/lib -L/usr/local/lib/pth
lex.yy.o: In function `start_include_file':
.../ldglite/lex.yy.c:1966: undefined reference
to `stricmp'

and this I'm not sure what to do...  seems like we're missing some
standard library?

Standard?  Not unless you're a Microsoft follower.  However, I must
admit I'm baffled by this one.  The -DUNIX is supposed to tell
platform.h to define some flags which cause the stricmp and strnicmp
functions in platform.c to get built.  You've got the -DUNIX and
are linking with platform.o so I don't see the problem.  I suppose
you could remove the #if LACKS_STRICMP and LACKS_STRNICMP checks
in platform.c and remove platform.o to cause it to rebuild with
the missing string functions.

What does "strings platform.o | grep stricmp" print out?

Don



Message has 1 Reply:
  Re: Building LDGLite for off-screen rendering only
 
(...) That did fix the problem. the make finished successfully! and it works! (URL) need to get Steve to teach me how to use it :) (...) nothing - no match. Thank you so much for your help :) Dan (22 years ago, 18-May-03, to lugnet.cad.dev)

Message is in Reply To:
  Re: Building LDGLite for off-screen rendering only
 
(...) ok, cool - got that, now I get this: $ gmake -f makefile.osmesa gcc -g -DUNIX -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8 -DNEED_MIN_MAX -DUSE_PNG -DTILE_RENDER_OPTION -DOSMESA_OPTION -IMesa-5.0.1/include ldliteVR_main.o platform.o dirscan.o (...) (22 years ago, 18-May-03, to lugnet.cad.dev)

21 Messages in This Thread:





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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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