gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: Re: popt and other MIssing Headers
From: Scott Dattalo
Date: Sun, 26 Oct 2003 08:11:01 -0800 (PST)

On Sun, 26 Oct 2003, Scott Dattalo wrote:

> On Sat, 25 Oct 2003, Martin McCormick wrote:
> 
> > 	I guess I'm getting tired.  The missing file is 
> > paraface.h:30: gtk/gtk.h: No such file or directory
> 
> 
> Martin,
> 
> This is a bug in gpsim.
> 
> The problem is that the --disable-gui option is not carried over to 
> gpsim's modules. The modules are separate entities like LCD displays that 
> expand gpsim's simulation capabilities. Give me a couple of hours to fix 
> this.

Martin,

it would've been too difficult to describe what would need to change to 
get around this problem. So I fixed the code and created a new tarball. 

http://www.dattalo.com/gnupic/gpsim-0.21.0.tar.gz

You should be able to configure gpsim without the gui and build it now. 
Note, to get this to work, I had to inhibit certain modules like the LEDs, 
LCDs, boolean logic, and switches. A better approach would be to go 
through and implement the textual equivalence of the graphical output.

I guess I could've just put the fix into CVS and pointed you to that. 
However, I got tired of forcing everyone to go to CVS to get the latest 
stuff. So, starting now, I'm going to start making releases of gpsim 
again.

Caveat -- this particular version does have some experimental code with 
regards to the way simulated time is handled. There's a good chance that 
a bug may be there. When completed, this change will enable gpsim to 
better handle multiple time sources. e.g. the time for the processor can 
be separated from the time of modules. This way, the PIC processor clock 
can vary (or even stop) while the modules can continue on.

Scott


gnupic@linuxhacker.org