Compilation error of plop r172 on sbcl 1.0.50

10 views
Skip to first unread message

Bejer

unread,
Jul 31, 2011, 12:10:45 PM7/31/11
to plop-dev
Hi,

I got the following compilation error:
CL-USER> (asdf:operate 'asdf:load-op 'os-plop)
; compiling file "/some/path/plop-read-only/src/problem.lisp" (written
31 JUL 2011 05:16:27 PM):
; compiling (IN-PACKAGE :PLOP)
; compiling (PLOP-OPT-SET)
; compiling (DEFINE-CONSTANT +SOLUTION-FAIL-VALUE+ ...)
; compiling (DEFTYPE SCORE-SEQ ...)
; compiling (DEFUN MAKE-SCORE-SEQ ...)
; compiling (DEFSTRUCT (SCORE #) ...)

#<SB-C:TN PLOP::ERR!1> is not valid as the second argument to VOP:
SB-VM::RAW-INSTANCE-INIT/DOUBLE
Primitive type: T
SC restrictions:
(SB-VM::DOUBLE-REG)
The primitive type disallows these loadable SCs:
(SB-VM::DOUBLE-REG)

[Condition of type SIMPLE-ERROR]

Backtrace:
0: (SB-C::BAD-COERCE-ERROR #<SB-C:TN-REF :TN #<SB-C:TN PLOP::ERR!
1> :WRITE-P NIL :VOP SB-VM::RAW-INSTANCE-INIT/DOUBLE>)
1: (SB-C::EMIT-COERCE-VOP ..)
2: (SB-C::COERCE-VOP-OPERANDS #<SB-C::VOP :INFO SB-VM::RAW-INSTANCE-
INIT/DOUBLE :ARGS # :RESULTS NIL :CODEGEN-INFO (4 0)>)
3: (SB-C::EMIT-MOVES-AND-COERCIONS #<SB-C::IR2-BLOCK :START-VOP
# :LAST-VOP #>)
4: (SB-C::SELECT-REPRESENTATIONS #<SB-C:COMPONENT :NAME (SB-C::HAIRY-
ARG-PROCESSOR PLOP::MAKE-SCORE) {1003E19E61}>)
5: (SB-C::%COMPILE-COMPONENT #<SB-C:COMPONENT :NAME (SB-C::HAIRY-ARG-
PROCESSOR PLOP::MAKE-SCORE) {1003E19E61}>)
6: (SB-C::COMPILE-COMPONENT #<SB-C:COMPONENT :NAME (SB-C::HAIRY-ARG-
PROCESSOR PLOP::MAKE-SCORE) {1003E19E61}>)
7: (SB-C::%COMPILE ..)
8: (SB-C::FOPCOMPILE-FUNCTION ..)
9: (SB-C::FOPCOMPILE ..)
10: (SB-C::CONVERT-AND-MAYBE-COMPILE ..)
.
.
.
Related to lines 30-38 in problem.lisp (as far as I can tell)

I would also like to hear what your take is on using plop to generate
game playing AI (stochastic environment, perception and action etc.);
will it be a very daunting task or "somewhat simple" to do? (Given I
have been reading up on MOSES and related literature)

Best regards,
Bejer
Reply all
Reply to author
Forward
0 new messages