[gambit-list] Trying to get gambc40b15 compiled and running under Visual Studio 2003

Mark H. Shirley mshirley at mail.arc.nasa.gov
Tue Dec 20 18:54:14 EST 2005


At 02:44 PM 12/20/2005, Christian wrote:
>At 14:18 Uhr -0800 20.12.2005, Mark H. Shirley wrote:
>>I've gotten it to compile and link with no errors, but when I run
>>the executable, I get repeated errors like these:
>>
>>     (peek-char '#<input-output-port #2 (console)>)
>>     > *** ERROR -- Error code 11
>
>a) syntax: what about (peek-char #2) ?
>
>b) would peek-char with an output port work?
>    Maybe you rather wanted (peek-char (current-input-port)).
>
>Christian.

Christian,
     Thank you very much for replying.  Sorry for being unclear.
Once my gambit executable starts, it opens a console window and
then prints the two lines above over and over again.  I haven't typed
anything.  Therefore, I think the peek-char line is part of the error
message (e.g., it's showing the current form).  Also, it's not my code,
but part of, I think, the read-eval-print loop that gsc is running.
  Thanks,
     Mark
Dr. Mark Shirley
NASA Ames Research Center
MS 269-2
Moffett Field, CA 94035
650 604 3389
Mark.H.Shirley at nasa.gov





More information about the Gambit-list mailing list