LeeE wrote: > On Thursday 08 January 2009, Jon Stockill wrote: > >> Chris Perry wrote: >> >>> Hi, >>> I have been using fgfs for a few years and have just downloaded >>> and compiled the new version 1.9.0. >>> >>> I am using a Debian 64bit distribution Etch (AMD64). >>> >>> I had to fiddle the system bit to get everything to compile. >>> After a lot of head scratching and cussing, I have fgfs binary. >>> >>> But alas, I have some run time errors that prevent the program >>> from initialising. >>> >>> I have compiled the OSG, glutl, openAL, plib and simgear >>> ibraries under /usr/local/lib include and lib64 and find it >>> necessary to: export >>> LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64 and then >>> fgfs >>> >>> Specifically the error I get is: >>> Warning: Could not find plugin to read objects from file >>> "/usr/local/share/FlightGear/data/Aircraft/c172p/splash.png". >>> Warning: Could not find plugin to read objects from file >>> "/usr/local/share/FlightGear/data/Aircraft/c172p/Models/interio >>> r.png". osgDB ac3d reader: could not read texture "interior.png" >>> ... >>> Segmentation fault >>> >>> The png files are on the system. The error message from osgDB >>> says it could not find a plugin to read the png files. >>> >>> Can you advise which software component is broken (osg?) and >>> how I might troble-shoot the missing plugin? >>> I recieved one bad message from ./configure when compiling OSG. >>> That was: -- ERROR: wxWidgets was not found. >>> configure completed ok and I went on to make without >>> encountering errors. >>> >>> I also failed 1 of the two test when compiling SimGear v1.9 >>> (make check). I gathered this was ok, or expected. Right? >>> >>> >> The libs (or possibly just the dev package) for png support >> wasn't found, so OSG didn't build the png plugin. >> >> Jon >> > > Yes - check that you have the libpng-dev package installed. It will > probably be called libpngXX-dev, where XX seems to be '12' on etch. > > LeeE > OK, Thanks for the help and sorry for not getting back sooner.
libpng12-dev looks like it will help. I have installed and re-run configure for OSG. Output for that now contains the following new line: Found PNG: /usr/lib64/libpng.so I have compiled OSG and FG and still get the same errors. I would not have thought all the other programs would need recompiling too... Any thoughts? What of the -- ERROR: wxWidgets was not found. Message? Another thing that look a lot of my time when building the system was plib. I removed the correct version for Etch (v1.8.4c2) and replaced it with an Etch backport for v1.8.5. To build it I had to change LIBS="$LIBS $X_PRE_LIBS -lXi -lXmu -lXext -lX11 $X_EXTRA_LIBS -lm" to LIBS="$LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS -lm" In the configure file. I.E. -lXi and -lXmu resulted in config errors, so I removed them. Should I attempt to track down the proper source of these errors? What do I need to put on the system to get plib to configure properly with the -lXi and -lXmu switches? All difficult questions, I know. Any help appreciated. Thanks. Chris. ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users