Hi folks,
I've been a bit busy lately but I'm pleased to announce that after a
great deal of headache setting up a new Linux machine at home, I've
been able to build OpenGC successfully. I received several emails from
people that I did not respond to because of not having a machine to
test things on, so hopefully this will address those questions. There
were two changes I had to make to the source (in the opengcnew
repository) to allow compilation, and I also made the following notes:
FLTK built fine (version 1.1.4).
Freetype built fine (version 2.1.7).
When building FTGL (version 2.07 I think) I had to create a symlink in
the X11 libraries directory to libGL.la installed under /usr/lib. This
may be a peculiarity of the NVidia graphics driver I installed, but
it's something to keep in mind.
When building Plib (version 1.6) I needed to install the libmesaglut
and libmesaglut-devel libraries first - we do not need the glut
dependent portion of plib but unfortunately there's no obvious way to
turn it off.
A few people have asked about CMake. Under Linux if you do a "make
install" on Freetype, FTGL, and Plib CMake should find the relevant
files _automatically_. You will need to manually specify
"Plib_INCLUDE_DIR", which as the ccmake interface notes means "What is
the path where the file ssgconf.h can be found". On my machine, which
is probably typical of most linux boxes, this is /usr/include/plib. I
also had to manually edit one of the plib library names, but I forget
which offhand.
You should _never_ need to edit a CMakelists.txt file in order to get
OpenGC to build. If you need to, either you're doing something wrong or
I've set things up incorrectly. Please let me know if you have trouble.
As a final note, I have not tested any of the data sources under Linux,
so I have not idea what is working and what isn't. Hopefully I'll be
able to check on this in the next week or so.
Cheers,
-Damion-
|