libg3d under cygwin

by

Recently I have submitted some patches to libg3d's ml to fix some problems under cygwin. It is a little bit tricky to get a working libg3d installation but if all dependencies are fullfilled it is just the usual ./configure ... && make && make install procedure.

Just do a normal cygwin installation with some extra packages:

  • pkg-config

  • flex

  • libxml2-devel

  • gtk2-x11-devel

  • glib2-devel

  • gcc-core

  • gcc-g++

  • make

I recommend to prepare a meal during the installation procedure. It took approximately 30 minutes over my 2mbit connection to download everything and another 15 minutes to run the (post)install.

Afterwards get the libg3d-0.0.8 release or a current svn snapshot from trunk but do the autogen.sh && ./configure --enable-gtk-doc && make && make dist run under your favourite linux/unix system.

Unpack everything inside a directory which cygwin can access (for example your cygwin-home directory) and run ./configure LEXLIB="-lfl" --prefix=/usr/ && make install - without any doubt a good time to eat your meal. The build took around 40 minutes until it was finished.

If anyone has a better idea to fix the vrml lex problem than including a static yywrap into the lex file then please sent me a mail.