kaveh808 / kons-9

Common Lisp 3D Graphics Project
MIT License
586 stars 33 forks source link

Failed to build on ECL #176

Open Hellseher opened 2 years ago

Hellseher commented 2 years ago

Hi,

While preparing your project for Guix I've found the issue during attempt to build with ECL implemintatiation:

;;; Internal error:
;;;   ** There is no package with the name SB-IMPL.An error occurred during initialization:
COMPILE-FILE-ERROR while
compiling #<cl-source-file "kons-9" "src/graphics/opengl/ui-widgets">.
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "/gnu/store/cawsqjfnnv7qd0qdjq7jmlqp440jqx8m-ecl-21.2.1/bin/ecl" arguments: ("--eval" "(require :asdf)" "--eval" "(asdf:initialize-source-registry (list :source-registry (list :tree (uiop:ensure-pathname \"/gnu/store/hngk7x1h6rz3h4srb8kf19spcii677y5-ecl-kons-9-0.0.0-0.9f9c1ad/share/common-lisp/ecl/kons\" :truenamize t :ensure-directory t)) :inherit-configuration))" "--eval" "(asdf:load-system \"kons-9\")" "--eval" "(asdf:load-system \"kons-9/testsuite\")" "--eval" "(quit)") exit-status: 1 term-signal: #f stop-signal: #f>
kaveh808 commented 2 years ago

Hi,

Thanks for testing against ECL.

I hooked into the SBCL inspector for our GUI inspector, hence the SBCL-specific call.

Have to admit once we discarded CCL for SBCL I haven't much considered running kons-9 on other implementations. You might try commenting out the ui-inspector code entirely and see if that will build.

kaveh808 commented 2 years ago

@marengo-zed Sounds like a good idea if we can also support ECL without much extra work. Maybe have a way of embedding kons-9 in C/C++ applications?

Please let me know how your investigation goes.

And Happy Thanksgiving!