info-inventor
[Top] [All Lists]

Compiling on FC2 AMD64

To: info-inventor@xxxxxxxxxxx
Subject: Compiling on FC2 AMD64
From: Phil Fong <fongpwf@xxxxxxxxx>
Date: Mon, 14 Jun 2004 12:20:27 -0700 (PDT)
Sender: info-inventor-bounce@xxxxxxxxxxx
Hi,
  I managed to compile Open Inventor 2.1.5-10 on a
dual Opteron system running Fedora Core 2 after making
the following changes.  The demos seem to work but I
want to make sure there isn't something hidden that
will fail.
  Please let me know if I've missed something obvious.

1. In libFL/ang/flfreetype.h, comment out "#include
<freetype/freetype.h>" and put in "#include
<ft2build.h>"
Freetype versions after 2.1.6 require this.

2. In make/ivcommondefs, change the line "X11LIBDIR =
$(X11DIR)/lib" in the linux section to "X11LIBDIR =
$(X11DIR)/lib64" so it finds the 64 bit X libraries.

3. In lib/database/include/machine.h,
lib/database/src/so/SoOutput.c++,
lib/interaction/src/draggers/SoDragger.c++, 
lib/nodekits/src/nodekits/SoNkCatalog.c++,
lib/nodekits/src/upgraders/SoV1NkCatalog.c++,
libSoXt/src/SoXtRsrc.c++, add __x86_64__ to any #if
lines involving __ia64 or __ia64__.

  This compiles without any problems with gcc 3.3.3 in
64 bit mode.  However, parallel building with make -j
2 does not work.  It gives an error about the
jobserver being unavailable.  The makefile invokes
submakes incorrectly so it ends up running serially.

Phil


        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

<Prev in Thread] Current Thread [Next in Thread>
  • Compiling on FC2 AMD64, Phil Fong <=