Compiling under MacOS 10.2/Darwin
Question:
Answer:
MacOS 10.2/Darwin is not yet a supported platform. However, it is possible to compile BALL if you use a recent snapshot (after 04/16/03). There's lots of trouble with the standard C headers provided with Darwin (for example, you cannot include math.h and cmath or you run into trouble with isnan and related functions, xdr.h seems to be broken, etc.). To compile just the core, grab a recent snapshot and configure with:
./configure --without-xdr --without-BALLVIEW
Then, you will have to build static libraries:
make depend make staticlibs ranlib libBALL.a make install.static
There's also a fixed version of xdr.h here , which has to be placed in a directory BALL/include/BALL/rpc (you will have to create this one). With this file you should be able to compile with XDR support. We still have some trouble getting BALL to work with dynamic libraries -- any help appreciated. We haven't tested BALL with QT/X11 yet. There's some reason to believe it should work if you call configure with:
./configure --with-qt-incl=/sw/include/qt/ --with-qt-libs=/sw/lib/ --with-qt-mt
Please let us know if you are interested in this platform or know how to improve things. Thanks!