|
[ home ] [ download ] [ faq ] [ doc ] [ screenshots ] |
|
General:
Compiling:
Using:
General
Please read README for useful general info.
Well we don't know exactly - we, the developers :).
We've been involved in this project because in 4th year at INSA (France) we have to achieve a one-year programming project. The physical theory has been designed by one of our supervisors, Dr. Dominique Deserable. As a computer scientist in relation to physical and civil engineering, he made this theory to be able to conduct computerized experiments on cellular environments.
Hmmm I'm afraid if you're not a cellular physicist, not much...
Well, I can see a main goal from my point of view: hacking around on gtk-- and gnu software in general.
From the user's point of view ? hmm maybe... the fun to see some sand and some water interacting in a silo ?
I think there are two or three things that can be a good starting point for developping:
No, we could not. Because gtk is going to be the leading toolkit around here, we had to use it in order to learn about it. And because the code was done in C++, we had to use a C++ wrapper to gtk because we're not totally darn idiots.
Compiling
point 1: typing ./configure ; make ; make install, IS an AUTOMATED installation. It has been done WONDERFULLY by some NICE guys. This system lets you FREE to install which software you want and even if you own a strange processor/distribution/etc of unix you will be ABLE to install Grany, because it will compile, not only binary-install.
point 2: when a definitive version of Grany will be written we will provide binary distribution for i386 RedHat GNU/Linux, i386 Debian GNU/Linux, and SPARC Solaris 2.5, and you will be happy.
You have probably some code compiled with different libraries. For example if you compiled Gtk-- with one compiler/library, you must compile Grany with the same.
If Gtk-- detects that your compiler is not powerful enough to compile it correctly, it automatically compiles a reduced version! But this version is not enough for Grany. Therefore you shall get a newer compiler (at the time I'm typing, gcc-2.95 is out and has been tested successfully with Grany)
You probably executed `make install' as non-root. The default configure script will attempt to install the software in /usr/local and you must:
Upgrade to GNU tools.
For example on Solaris the `make' program is so much bad it can't understand generated makefiles. Upgrade to GNU make.
You can expect problems from your compiler, also. Upgrade to the latest GNU compiler. (at that time, GNU/egcs, please have a look: http://egcs.cygnus.com)
ld: warning: symbol 'Connection_impl virtual table' has differing sizes: (file BasicWindow.o value=0x10; file wherever-I-installed-gtkmm/libgtkmm.so value=0x20); BasicWindow.o definition taken
You'll probably get a segmentation fault if you try to exec anyway.
Apparently this is expected when some objects to link were compiled with `-fhuge-objects' and some others not.
Now we do not use `-fhuge-objects' anymore because it would oblige user to recompile everything with `-fhuge-objects'. However, if you have compiled part of the libraries needed with this option if will fail.
(thanks to Robert Gasch for this solution)
Using
If you can reproduce your crash, you can try to send:
point 1: yes.
point 2: `Q- Windows/Quake/Anything is slooow. A- buy the new Intel cpu'
Sure.
But remember the software comes under the GPL licence, so: