LPG on Eclipse in Windows
0. flex and bison in Cygwin works for the lex and yacc files.
1. install CDT, don't just unzip, but use software updates under Help in Eclipse
Install cygwin, set windows path to include c:/cygwin/bin, available in system, advanced, environment variable setting
2. compiling is a hassle. First use -D__WINLPG__ option for compile. Look at properties,C/C++ build, Settings,Cygwin C Compiler, Symbols to do this
use cygwin compilre, MinGW does not work
Second, replace values.h to limits.h
In ff.h define, MAXINT as INT_MAX
In case some file asks MAXFLOAT, include math.h
3. running with gdb is another hassle
In the debug configurations, uncheck automatically loading shared libraries.
Follow the direction here
Now you are ready to roll
using FF
FF has no problem in compiling but to use lex and yacc, in Ubuntu, you must install flex-old
QobiScheme
Qobischeme is a good software to convert Scheme codes to C executables. Results in much speed up. FF-Replan is built on QobiScheme. In the makefile, change i486 compile option to -mtune=i486
Visit www.gagsports.com