PDA

View Full Version : Compiling lcd module for gpsim



zcx2007
April 30th, 2009, 05:06 PM
Has anyone managed to successfully compile the lcd module for gpsim?

http://www.dattalo.com/gnupic/lcd.html

I have successfully compiled gpsim-0.23.0 using sources from...

http://sourceforge.net/project/showfiles.php?group_id=2341&package_id=2303&release_id=669748

But have had no luck compiling lcd-0.2.1 from...

http://www.dattalo.com/gnupic/lcd-0.2.1.tar.gz

./configure seems to work OK but make fails...

In file included from lcdgui.cc:24:
lcd.h:64: error: expected class-name before ‘{’ token
lcd.h:77: error: expected class-name before ‘{’ token
lcd.h:109: error: expected class-name before ‘{’ token
lcd.h:114: error: expected `)' before ‘*’ token
lcd.h:124: error: expected `)' before ‘*’ token
lcd.h:223: error: expected class-name before ‘{’ token
lcd.h:342: error: ISO C++ forbids declaration of ‘ExternalModule’ with no type
lcd.h:342: error: expected ‘;’ before ‘*’ token
lcd.h:394: error: ISO C++ forbids declaration of ‘ExternalModule’ with no type
lcd.h:394: error: expected ‘;’ before ‘*’ token
make[1]: *** [lcdgui.lo] Error 1

Any ideas?

zcx

zcx2007
May 1st, 2009, 09:36 PM
Solved.

Got lcd-0.2.10 from svn which compiles correctly and runs.

zcx