plib-users Mailing List for PLIB (Page 94)
Brought to you by:
sjbaker
You can subscribe to this list here.
2000 |
Jan
|
Feb
(24) |
Mar
(54) |
Apr
(29) |
May
(58) |
Jun
(29) |
Jul
(675) |
Aug
(46) |
Sep
(40) |
Oct
(102) |
Nov
(39) |
Dec
(40) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(45) |
Feb
(23) |
Mar
(30) |
Apr
(64) |
May
(28) |
Jun
(61) |
Jul
(55) |
Aug
(35) |
Sep
(24) |
Oct
(23) |
Nov
(21) |
Dec
(67) |
2002 |
Jan
(98) |
Feb
(23) |
Mar
(13) |
Apr
(23) |
May
(43) |
Jun
(45) |
Jul
(54) |
Aug
(5) |
Sep
(56) |
Oct
(17) |
Nov
(53) |
Dec
(26) |
2003 |
Jan
(67) |
Feb
(36) |
Mar
(22) |
Apr
(35) |
May
(26) |
Jun
(35) |
Jul
(10) |
Aug
(49) |
Sep
(17) |
Oct
(3) |
Nov
(30) |
Dec
(10) |
2004 |
Jan
(12) |
Feb
(18) |
Mar
(52) |
Apr
(50) |
May
(22) |
Jun
(13) |
Jul
(16) |
Aug
(23) |
Sep
(21) |
Oct
(29) |
Nov
(6) |
Dec
(26) |
2005 |
Jan
(9) |
Feb
(19) |
Mar
(13) |
Apr
(19) |
May
(12) |
Jun
(8) |
Jul
(6) |
Aug
(10) |
Sep
(22) |
Oct
(3) |
Nov
(6) |
Dec
(17) |
2006 |
Jan
(10) |
Feb
(8) |
Mar
(5) |
Apr
(5) |
May
(6) |
Jun
(8) |
Jul
(8) |
Aug
(13) |
Sep
(2) |
Oct
(1) |
Nov
(9) |
Dec
(6) |
2007 |
Jan
(3) |
Feb
(4) |
Mar
(12) |
Apr
(2) |
May
(6) |
Jun
|
Jul
(22) |
Aug
|
Sep
(9) |
Oct
(13) |
Nov
|
Dec
|
2008 |
Jan
(1) |
Feb
(6) |
Mar
(2) |
Apr
(4) |
May
(15) |
Jun
(28) |
Jul
(8) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2009 |
Jan
(5) |
Feb
(5) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(2) |
Apr
(7) |
May
(4) |
Jun
(2) |
Jul
(5) |
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
2011 |
Jan
(7) |
Feb
(2) |
Mar
(1) |
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
(1) |
Nov
(4) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Steve B. <sjb...@ai...> - 2000-05-25 00:10:07
|
Paolo Leoncini wrote: > > Such complete answer from Steve offer the opportunity for arising an > important quest for a better documentation for plib, Yep - you are right - I hang my head in shame. Part of the problem is that the documents are not under CVS. -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |
From: Anne-Marie M. <a-m...@li...> - 2000-05-24 20:55:52
|
I have Mandrake 7.0, Mesa and glut-3.5 and I can't compile plib-1.1.11. I get the error message: in file included from puLocal.h:24 from pu.cxx:2: pu.h: In method 'puFont::puFont()': pu.h:87:'GLUT_BIPMAP_8_BY_13' undeclared (first use this function) and so on with 'GLUT_WINDOW_HEIGHT', 'GLUT_WINDOW_WIDTH'........ I am a beginner so I am really lost. My son would like to try Tux, a = Quest.... What is wrong? Mesa3.0 is rpm and glut compiled fine. Thank you for your help! Anne-Marie a-m...@li... |
From: Brad C. <bco...@ac...> - 2000-05-24 16:08:39
|
Steve, In version 1.0.20 doing a search on all files I was unable to find a reference to sgInvertMat4. Do I have a wrong version? Is it safe to use this function to get the inverse of the projection matrix? Thanks, Brad ----- Original Message ----- From: "Steve Baker" <sjb...@ai...> To: <pli...@li...> Sent: Wednesday, May 24, 2000 5:12 AM Subject: Re: [Plib-users] Invert? > Brad Colbert wrote: > > > What happened to the matrix inversion routines that are in the sg documentation? > > *Nothing* happened! They are alive and well...I use them all the time. > > For general matrices: > > void sgInvertMat4 ( sgMat4 dst, const sgMat4 src ) ; > void sgInvertMat4 ( sgMat4 dst ) ; > > But *much* faster - if you know that the matrix is a simple > rotate+translate then: > > void sgTransposeNegateMat4 ( sgMat4 dst, const sgMat4 src ) ; > void sgTransposeNegateMat4 ( sgMat4 dst ) ; > > ...and of course there are double-precision versions. > > Hmmm - the documentation seems to be correct...they work OK... > > What's your problem?!? > > -- > Steve Baker http://web2.airmail.net/sjbaker1 > sjb...@ai... (home) http://www.woodsoup.org/~sbaker > sj...@ht... (work) > > _______________________________________________ > plib-users mailing list > pli...@li... > http://lists.sourceforge.net/mailman/listinfo/plib-users > |
From: Paolo L. <p.l...@ci...> - 2000-05-24 13:31:14
|
Such complete answer from Steve offer the opportunity for arising an important quest for a better documentation for plib, and in particular for ssg as the most used library in the pool. The example is the method getByName() as shown at work in the Steve's code: ssgEntity *my_animation_node = root -> getByName ( "my_animation" ) ; Of course, not to mention, I wrote such a function by my own (in several variants, but for sure some graph structure would not be supported). Ok, it all goes in the experience knapsack, but many of you know how one feels when have worked on something already available (somewhere there, rather hidden, though). Stop there, Steve! I'm not asking you directly to write improved doc, nor anybody else in particular. I just want to say that plib, for the large interest that is going to draw, and for the quality code it relies upon, would deserve a better treatment on the doc side, and we should think about it just after 1.2. Greetings - Paolo > -----Messaggio originale----- > Da: pli...@li... > [mailto:pli...@li...]Per conto di Steve Baker > Inviato: mercoledì 24 maggio 2000 14.13 > A: pli...@li... > Oggetto: Re: [Plib-users] Loading ASE file > > > > Dave McClurg wrote: > > > > > I see that there is some form of animation in the ase loader. > > > How can I use this. Like play the animation back once its loaded? > > Well, *if* they were supported by the loader, then you'd attach > a textual name to the object in the modeller (dunno how you do > that in ASE files - but that kind of thing is generally > quite easy in most modellers). Then you can load the model > and using the 'root' node that the loader returned: > > root = ssgLoad ( "my_file.ase" ) ; > > ... > > ssgEntity *my_animation_node = root -> getByName ( "my_animation" ) ; > > if ( my_animation_node == NULL ) > fprintf ( stderr, "My_animation is missing!\n" ) ; > else > if ( ! my_animation_node -> isAKindOf ( ssgTypeTimedSelector () ) ) > fprintf ( stderr, "My_animation *isn't* an animation?!?\n" ) ; > else > { > ((ssgTimedSelector *)my_animation_node) -> control > SSG_ANIM_START ) ; > ...or whatever... > } > > > ssgSelector and its derivations only support up to 32 frames. > > That limits what could quickly be done with MESH_ANIMATION. > > But MESH_ANIMATION is much more convenient than managing multiple > > shapes as files and should be added to PLIB as soon as needed. > > We need to do something about that. I'd originally only intended > ssgSelector to be a simple switch-like mechanism - and the idea for > an ssgTimedSelector came along much later. There are ways to fake > an animation with more kids than that yourself using callback functions. > > The folding paper demo I posted a week or so ago has HUNDREDS of > animation steps - implemented by pointing an ssgBranch node at a > different child node each frame in the application code. Not > elegant - but it *does* work. > > It should be quite easy to fix ssgSelector to have more child nodes, > we just need to be careful to preserve the current API for people > who don't need more than 32 nodes. > > -- > Steve Baker http://web2.airmail.net/sjbaker1 > sjb...@ai... (home) http://www.woodsoup.org/~sbaker > sj...@ht... (work) > > _______________________________________________ > plib-users mailing list > pli...@li... > http://lists.sourceforge.net/mailman/listinfo/plib-users > |
From: Steve B. <sjb...@ai...> - 2000-05-24 12:10:16
|
> Dave McClurg wrote: > > > I see that there is some form of animation in the ase loader. > > How can I use this. Like play the animation back once its loaded? Well, *if* they were supported by the loader, then you'd attach a textual name to the object in the modeller (dunno how you do that in ASE files - but that kind of thing is generally quite easy in most modellers). Then you can load the model and using the 'root' node that the loader returned: root = ssgLoad ( "my_file.ase" ) ; ... ssgEntity *my_animation_node = root -> getByName ( "my_animation" ) ; if ( my_animation_node == NULL ) fprintf ( stderr, "My_animation is missing!\n" ) ; else if ( ! my_animation_node -> isAKindOf ( ssgTypeTimedSelector () ) ) fprintf ( stderr, "My_animation *isn't* an animation?!?\n" ) ; else { ((ssgTimedSelector *)my_animation_node) -> control ( SSG_ANIM_START ) ; ...or whatever... } > ssgSelector and its derivations only support up to 32 frames. > That limits what could quickly be done with MESH_ANIMATION. > But MESH_ANIMATION is much more convenient than managing multiple > shapes as files and should be added to PLIB as soon as needed. We need to do something about that. I'd originally only intended ssgSelector to be a simple switch-like mechanism - and the idea for an ssgTimedSelector came along much later. There are ways to fake an animation with more kids than that yourself using callback functions. The folding paper demo I posted a week or so ago has HUNDREDS of animation steps - implemented by pointing an ssgBranch node at a different child node each frame in the application code. Not elegant - but it *does* work. It should be quite easy to fix ssgSelector to have more child nodes, we just need to be careful to preserve the current API for people who don't need more than 32 nodes. -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |
From: Steve B. <sjb...@ai...> - 2000-05-24 12:10:01
|
Brad Colbert wrote: > What happened to the matrix inversion routines that are in the sg documentation? *Nothing* happened! They are alive and well...I use them all the time. For general matrices: void sgInvertMat4 ( sgMat4 dst, const sgMat4 src ) ; void sgInvertMat4 ( sgMat4 dst ) ; But *much* faster - if you know that the matrix is a simple rotate+translate then: void sgTransposeNegateMat4 ( sgMat4 dst, const sgMat4 src ) ; void sgTransposeNegateMat4 ( sgMat4 dst ) ; ...and of course there are double-precision versions. Hmmm - the documentation seems to be correct...they work OK... What's your problem?!? -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |
From: Dave M. <Dav...@dy...> - 2000-05-24 00:31:55
|
> I see that there is some form of animation in the ase loader. > How can I use this. Like play the animation back once its loaded? > There are two types of animation in an ASE file. TM_ANIMATION - transforms MESH_ANIMATION - changes all the vertex data Currently, there is *no* support for these in the ssgLoadASE.cxx loader ssgSelector and its derivations only support up to 32 frames. That limits what could quickly be done with MESH_ANIMATION. But MESH_ANIMATION is much more convenient than managing multiple shapes as files and should be added to PLIB as soon as needed. For TM_ANIMATION, a new ssgTransformSelector entity would be needed. I've done some preliminary work on this but my work schedule hasn't permitted me to finish it. Are you interested in helping out? Do you have any models that have animation in them? --Dave McClurg |
From: Larry H. <va...@gt...> - 2000-05-24 00:04:35
|
I see that there is some form of animation in the ase loader. How can I use this. Like play the animation back once its loaded? |
From: Brad C. <bco...@ac...> - 2000-05-23 21:58:50
|
Steve, What happened to the matrix inversion routines that are in the sg documentation? ;) Brad Colbert GreyStone Technology, Inc. bco...@ac... (858) 874-7000 |
From: Steve B. <sjb...@ai...> - 2000-05-20 04:40:25
|
the...@ex... wrote: > > Hi, > > I'm trying to install PLIB in order to install FlightGear. When I run > configure and make, it's not finding gl.h and other files in GL. gl.h is > present in /usr/X11R6/include/GL, but I'm not sure how to tell the compiler > to find it there. Any help would be appreciated. > > FYI I am running RH 6.2 distribution. RedHat have installed gl.h in the wrong place. The standard is defined by section 4 of this document: http://oss.sgi.com/projects/ogl-sample/ABI So OpenGL headers should be in /usr/include/GL/gl.h and glu.h (GLUT headers should be in the same place). The libraries should be in /usr/lib/libGL.so and libGLU.so - with GLUT in /usr/lib/libglut.so The simplest thing is to create a couple of symbolic links pointing from the correct place to wherever RH dropped them. -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |
From: <the...@ex...> - 2000-05-20 04:05:53
|
Hi, I'm trying to install PLIB in order to install FlightGear. When I run configure and make, it's not finding gl.h and other files in GL. gl.h is present in /usr/X11R6/include/GL, but I'm not sure how to tell the compiler to find it there. Any help would be appreciated. FYI I am running RH 6.2 distribution. Messages from make: ../../src/fnt/fnt.h:11: GL/gl.h: No such file or directory ../../src/fnt/fnt.h:12: GL/glu.h: No such file or directory Thanks, Dave _______________________________________________________ Get 100% FREE Internet Access powered by Excite Visit http://freelane.excite.com/freeisp |
From: Weining Gu <cr...@us...> - 2000-05-11 06:00:16
|
From the web site of Flight Gear, there's a README.Unix, ftp://ftp.aem.umn.edu/pub/fgfs/Source/Snapshots/FlightGear-0.7.3/docs-mini Need I use the following steps to compile plib and FlighrGear-0.7.3? sh$ CC="cc -Xcpluscomm" CXX=CC ./configure find . -name Makefile -exec ./irix-hack.pl {} \; make su make install Actually, I can compile Plib files only using: ./configure make su make install Thanks. -Wein P.S. IV. Procedure to build FGFS with Native SGI Irix Compilers from CVS Sources ==================================================================== (Contributed by Todd Smith <ms...@si...> with modifications and updates by Curt Olson) Download the latest version of plib (1.1.11) from: http://www.woodsoup.org/~sbaker/plib/ Configure it with the default prefix of /usr/local which places everthing in a tree rooted at /usr/local/plib: sh$ CC="cc -Xcpluscomm" CXX=CC ./configure *Before* running make, fix up the plib Makefiles using the script provided with the Flight Gear distribution: find . -name Makefile -exec .../src/FlightGear-0.7.x/irix-hack.pl {} \; This applies a fix in all the Makefiles to the lib creation command (to use CC -ar rather than ar) as per a tip in the SGI pipeline periodical. Now, make and install plib. Download the latest fgfs source snapshot from: ftp://ftp.flightgear.org/pub/fgfs/Source/Snapshots/ Configure and build fgfs as you did plib: sh$ CC="cc -Xcpluscomm" CXX=CC ./configure sh$ find . -name Makefile -exec .../src/FlightGear-0.7.x/irix-hack.pl {} \; ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 |
From: Oliver B. <sh...@ih...> - 2000-05-10 04:37:45
|
A stray old version of plib was sitting somewhere where it shouldnt have been - I still get the wierdness even after that frustum code so it cant be that ... I transform the "center" of each quad then I put it into a new sphere with the required radius then i test if its in the frustum but when I turn around to face the origin they all dissapear but come back if I roll upside down ... I am transforming with the same matrix as given to opengl then subtracting the camera position as given to gltranslate I cant see what im doing wrong :( Oliver On Wed, 10 May 2000, you wrote: > oops sorry > it is in there I looked in the header file ... so why it does that I > dont know .. > > _______________________________________________ > plib-users mailing list > pli...@li... > http://lists.sourceforge.net/mailman/listinfo/plib-users |
From: Steve B. <sjb...@ai...> - 2000-05-10 04:27:48
|
Oliver Batchelor wrote: > view.cpp:42: no matching function for call to `sgFrustum::getMat4 ()' > all the other sg functions work fine so ? Well, sg.h, line 871 inside the sgFrustum definition: void getMat4 ( sgMat4 dst ) { sgCopyMat4 ( dst, mat ) ; } ...um - I wonder if that was added sometime recently? What PLIB version do you have? -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |
From: Oliver B. <sh...@ih...> - 2000-05-10 04:14:32
|
oops sorry it is in there I looked in the header file ... so why it does that I dont know .. |
From: Oliver B. <sh...@ih...> - 2000-05-10 04:11:49
|
view.cpp:42: no matching function for call to `sgFrustum::getMat4 ()' all the other sg functions work fine so ? On Wed, 10 May 2000, you wrote: > Oliver Batchelor wrote: > > > > I have a function for setting up a view frustum I want to know if > > its getting the right values to be setup the same as the opengl one > > ... > > I am getting some wierd results in my landscape renderer - > > If I roll around etc everything dissapears but I cant see whats > > going wrong ... > > > > here is the setup code ... > > > > void View::Set(float angle, float near, float far) { > > glMatrixMode(GL_PROJECTION); > > glLoadIdentity(); // Reset The Projection Matrix > > > > gluPerspective(angle, 640.0/480.0, near, far); // Calculate The Aspect Ratio Of The Window > > glMatrixMode(GL_MODELVIEW); > > > > frustum.setFOV(angle, angle) ; > ^^^^^^^^^^^^ > That's going to set the HFOV and VFOV to the > same values - but you (seem to) have a 640x480 > window. Try using (angle,-1) - and we'll compute > the second angle for you assuming a 3:4 aspect > ratio. > > Dunno if that's enough to account for your wierdness. > > You could also use a sgFrustum::getMat4 to grab the matrix out > of the sgFrustum - then you can use glLoadMatrix to put it > onto the projection stack - no messing with gluPerspective - and > it guarantees a good match. > > -- > Steve Baker http://web2.airmail.net/sjbaker1 > sjb...@ai... (home) http://www.woodsoup.org/~sbaker > sj...@ht... (work) > > _______________________________________________ > plib-users mailing list > pli...@li... > http://lists.sourceforge.net/mailman/listinfo/plib-users |
From: Steve B. <sjb...@ai...> - 2000-05-10 03:22:16
|
Oliver Batchelor wrote: > > I have a function for setting up a view frustum I want to know if > its getting the right values to be setup the same as the opengl one > ... > I am getting some wierd results in my landscape renderer - > If I roll around etc everything dissapears but I cant see whats > going wrong ... > > here is the setup code ... > > void View::Set(float angle, float near, float far) { > glMatrixMode(GL_PROJECTION); > glLoadIdentity(); // Reset The Projection Matrix > > gluPerspective(angle, 640.0/480.0, near, far); // Calculate The Aspect Ratio Of The Window > glMatrixMode(GL_MODELVIEW); > > frustum.setFOV(angle, angle) ; ^^^^^^^^^^^^ That's going to set the HFOV and VFOV to the same values - but you (seem to) have a 640x480 window. Try using (angle,-1) - and we'll compute the second angle for you assuming a 3:4 aspect ratio. Dunno if that's enough to account for your wierdness. You could also use a sgFrustum::getMat4 to grab the matrix out of the sgFrustum - then you can use glLoadMatrix to put it onto the projection stack - no messing with gluPerspective - and it guarantees a good match. -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |
From: Steve B. <sjb...@ai...> - 2000-05-10 02:48:17
|
Oliver Batchelor wrote: > > for a frustum cull I need to transform a sgSphere each frame by a > matrix but If I use the orthoXform then it gets changed each frame ? > how can I avoid this ? I think you need to make a copy of the sphere and transform that. > the sphere::getCentre how do I use that also It returns a pointer to > a sgfloat but I cant make it equal to a sgVec3 and If I make it > equal to a float * then use it like > > variable[0] variable[1] variable[2] for the x y and z it > contains rubish ... I'm not sure I understand your problem - but those routines are only a couple of lines each - so "Use the Source Luke". -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |
From: Oliver B. <sh...@ih...> - 2000-05-10 02:34:39
|
I have a function for setting up a view frustum I want to know if its getting the right values to be setup the same as the opengl one ... I am getting some wierd results in my landscape renderer - If I roll around etc everything dissapears but I cant see whats going wrong ... here is the setup code ... void View::Set(float angle, float near, float far) { glMatrixMode(GL_PROJECTION); glLoadIdentity(); // Reset The Projection Matrix gluPerspective(angle, 640.0/480.0, near, far); // Calculate The Aspect Ratio Of The Window glMatrixMode(GL_MODELVIEW); frustum.setFOV(angle, angle) ; frustum.setNearFar(near, far) ; GetGLError("View::Set()"); } the code which acts wierd looks like : center=bounds.getCenter(); sgFullXformPnt3(tform, center, land->camera->rotation); tform[0]-=land->camera->position[0]; tform[1]-=land->camera->position[1]; tform[2]-=land->camera->position[2]; temp->setCenter(tform); temp->setRadius(bounds.getRadius()); if(!land->view->frustum.contains(temp)) return; and the code for setting up the bouds sphere is : for(a=0; a<4; a++) bounds.extend(&land->Vertices[Vertex[a]*3]); Thanks a heap Oliver Batchelor |
From: Oliver B. <sh...@ih...> - 2000-05-09 09:03:27
|
for a frustum cull I need to transform a sgSphere each frame by a matrix but If I use the orthoXform then it gets changed each frame ? how can I avoid this ? the sphere::getCentre how do I use that also It returns a pointer to a sgfloat but I cant make it equal to a sgVec3 and If I make it equal to a float * then use it like variable[0] variable[1] variable[2] for the x y and z it contains rubish ... thanks, Oliver Batchelor |
From: Per L. <li...@ho...> - 2000-05-08 22:14:02
|
On Fri, 05 May 2000, Trent Gamblin wrote: > * Steve Baker <sjb...@ai...> wrote: > > This is *very* strange...I've never heard anything like this before. > > I had the same problem, but it's easily fixed. Look in example.cxx > around line 50 or so. It's trying to load /u/steve/fhead.wav, and > loading wheeee.ub is commented out. Yes, this fixed the example program...thanks. Upgrading the SB Live module also gives me sound in FG and Torcs. I guess the drivers shipped with SuSE 6.3 were just too old. Regards, Per Liedman -- / Per Liedman / li...@ho... / www.mdstud.chalmers.se/~md6pl / 031-825659 / 0705-520455 |
From: Steve B. <sjb...@ai...> - 2000-05-07 15:45:28
|
Wein Gui wrote: > > remove config.cache and try again. Yep - always good advice. That cache is generally more trouble than it's worth. I wish there was a way to permenantly disable it. I wrote a script that I run instead of ./configure that removes the cache before it configures things. > By the way, I hope to learn some detail things about config.cache, > variable setting, etc. Where can I find some web sites to explain > these? I already knew one: http://www.gnu.org/manual/manual.html The autoconf and automake manuals are the best places to find this stuff - don't have an exact URL - but they aren't hard to find. > Anything else? When things go wrong in configure (like when it just told you that cc -Wall didn't work), look at the file 'config.log' - which shows you what exactly the configure script was trying to do - and what errors it got when it tried. ...my next suggestion was going to be "Mail me config.log" - but then you fixed it. BTW: If you are having trouble getting FGFS to compile with the SGI C++ compiler, I'm sure Curt will want to know about it. The native C++ is quite a bit faster than G++ on IRIX/MIPS machines. -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |
From: Wein G. <cr...@us...> - 2000-05-07 09:02:40
|
> > checking for gcc... (cached) cc > > checking whether the C compiler (cc -Wall ) works... no > > configure: error: installation or configuration problem: C compiler cannot > > create executables. > > $ > > > > Any further suggestion? Thanks again. > > remove config.cache and try again. > > config.cache should always be removed if you have changed > the CC, CXX, CFLAGS or CXXFLAGS environment vars. Great! No compile problems in my SGI system. I can use either SGI C++ compiler or Gnu gcc/g++ compiler. Sounds PLIB is a more reliable software. Thank you again! By the way, I hope to learn some detail things about config.cache, variable setting, etc. Where can I find some web sites to explain these? I already knew one: http://www.gnu.org/manual/manual.html Anything else? Best regards, -Wein ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 |
From: Bram S. <br...@ch...> - 2000-05-07 07:56:02
|
Wein Gui wrote: > checking for gcc... (cached) cc > checking whether the C compiler (cc -Wall ) works... no > configure: error: installation or configuration problem: C compiler cannot > create executables. > $ > > Any further suggestion? Thanks again. remove config.cache and try again. config.cache should always be removed if you have changed the CC, CXX, CFLAGS or CXXFLAGS environment vars. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Bram Stolk "Linux - Why use windows, if there is a door?" work: br...@sa... priv: br...@ch... |
From: Wein G. <cr...@us...> - 2000-05-07 07:38:58
|
>> When using SGI c/c++ compiler 7.3 to compile plib and FlightGear`s >> code, I met many errors, and couldn`t continue compiling it. > > I have compiled PLIB under SGI`s C++ compiler (dunno if it was v7.3 or > not though). Could you tell me what the errors were - I`d like for it > to compile under SGI`s compiler. After I modified some codes according to you last answer, plib can be compiled without errors in my SGI Irix 6.5.7 with SGI C++ compiler. Thank you so much. Because of some errors in compiling FlightGear in SGI C++, I need to re-compile both plib and FlightGear in GNU gcc/g++. >> Therefore, I must change to GNU platform. But, I don`t know how to >> change autoconf(configure.in, etc.) to my case, i.e. to use gcc/g++ >> instead of former cc/CC of original SGI compiler. By the way, >> I already installed a gcc-2.95.2 Compiler Suite. > > For GNU, you could do: > > export CC=gcc > export CXX=g++ > export CFLAGS=-Wall > export CXXFLAGS=-Wall > ./configure Some errors appears after I followed this way: 1% sh $ export CC=gcc $ export CXX=g++ $ export CFLAGS=-Wall $ export CXXFLAGS=-Wall $ ./configure loading cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing includedir changed to ${prefix}/include/plib libdir is ${exec_prefix}/lib checking for gcc... (cached) cc checking whether the C compiler (cc -Wall ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. $ Any further suggestion? Thanks again. -Wein ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 |