Re: Running examples from REPL

Pascal Bourguignon <pjb-jNDFPZUTrfRkIYSJMME8NAC/[email protected]>
Newsgroups gmane.lisp.ecl.general
Message-ID <[email protected]>
> On 4 Jun 2017, at 23:15, Ivan Truskov <[email protected]> wrote:
> 
> Hello
> I am trying to have a go with ECL. I have built ECL on windows 10
> machine with 64-bit Visual Studio (community version) and i am trying to
> run example on build that comes with the source code.
> 
> In open window of ecl.exe, i go to the folder, and call load on
> "readme.lisp". Then, on the first lines of it, i recieve the following
> error and the execution stops. Error as follows:
> 
> 
>> Condition of type: SIMPLE-ERROR
>> In COMPILE-FILE-PATHNAME, the type OBJECT is unsupported.
>> Available restarts:
>> 
>> 1. (RESTART-TOPLEVEL) Go back to Top-Level REPL.
>> 
>> Broken at SI:BYTECODES. [Evaluation of: (C::COMPILER-CC "hello_aux.c"
>> (COMPILE-FILE-PATHNAME "hello_aux.c" :TYPE :OBJECT))] In: #<process
>> TOP-LEVEL>.
>> File:
>> #P"C:/Users/Kurvivor/Development/ecl-16.1.3/examples/build/readme.lisp"
>> (Position #1054)
> 
> How can i get past this error?
> Related question: how do i set up the compiler used and compiler
> environment? How do i check it (determine what current setings are)?

Works for me.

I have (require :cmp) in ~/.eclrc ; perhaps that’s what you’re missing?



-- 
__Pascal J. Bourguignon__
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.