On Thursday 26 May 2005 23:21, Frederic Bouvier wrote:
>
> I found that there are more dynamic libraries under Linux than under
> Windows, and that they are distribution dependant.
> If you can compile something statically, I am ready to put it on
> sourceforge for download.
>
> -Fred
>

Ok, i tried first to compile a normal none static version, but i had the 
following problems.

First, installing CGAL systemwide is a nightmare, so i decided against it to 
do that.
I circumvented it by unpacking cgal in my home directory.
Then i run "install_cgal -i" and built the CGAL Libraries.
After that, i quit the installer and tried
to install FGSD (CVS version) by using the following command
./configure --with-cgal=/home/oliver/CGAL-3.1 && make

Then i had an error message relating CGAL and the file "compiler_config.h".
I fixed it by creating a directory called CGAL in my fgsd directory.
In this CGAL directory i created a symlink to 
/home/oliver/CGAL-3.1/include/CGAL/config/i686_Linux-2.4.27_g++-3.3.4/CGAL/compiler_config.h
 

This solved it, i know this is a cheap hack, but it worked for me. :)


After that i went back to compile fgsd.
But now i get the following compiler error:

make[2]: Entering directory `/home/oliver/x/src/cvs/fgsd/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I..   -I/usr/X11R6/include 
-I/home/oliver/CGAL-3.1/include -I/home/oliver/CGAL-3.1/include/CGAL/config/ 
-DDRAW_WITH_TEXTURES -g -O2 -MT triobject.o -MD -MP -MF ".deps/triobject.Tpo" 
-c -o triobject.o triobject.cpp; \
then mv -f ".deps/triobject.Tpo" ".deps/triobject.Po"; else rm -f 
".deps/triobject.Tpo"; exit 1; fi
triobject.cpp: In member function `bool FGSD_TriangleObject::saveObject(const
   std::string&, const char*, unsigned int)':
triobject.cpp:1422: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [triobject.o] Error 1
make[2]: Leaving directory `/home/oliver/x/src/cvs/fgsd/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/oliver/x/src/cvs/fgsd/src'
make: *** [all-recursive] Error 1

The used gcc version is  3.3.4.


Best Regards,
 Oliver C.







_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to