Closed EuAndreh closed 6 years ago
Thank you very much for your interest in cl-cffi-gtk. I am on holiday until next week. I will answer on your problem when I am back from holiday.
Dieter Kaiser
Thank you for your attention. (Oops, accidentally closed the issue, sorry)
I have tried to build an executable from the gtk-demo with SBCL, but I get the same problems as you. The SBCL documentation states that the implementation of saving a core image is not as polished and painless as you might like. Unfortunately, I am not a expert in creating executable Lisp images. For the development I am loading the code from the Lisp prompt. Therefore, I have no workaround at this time.
The warning show that the foreign functions are no longer available. Something is broken, when generating the Lisp executable.
At first, it would be interesting if you can run your application loading it into a Lisp. This should be no problem. You can also try to run the gtk-demo, which is available in the directory /demo/gtk-demo. Load the file "gtk-demo.lisp", change to the package 'gtk-demo and start the demo with the command main.
I know of one working program which uses cl-cffi-gtk and comes with an script to generate the executable. You can find it on github http://github.com/ralph-schleicher/atmosphere-calculator
I will work on this problem further. Perhaps someone else can show a working way of generating a Lisp executable.
Dieter Kaiser
Thank you very much. Should I try it with another compiler?
I'll take a look at the atmosphere-calculator.
Hi there!
I had this problem the other day and posted about it on the Lisp mailing list, but I didn't get many answers, so I came to the source =]
Here's a (edited) copy of the mailing list post:
I'm trying to run a compiled version (with buildapp) of a fully-functional interpreted GUI code, but the compiled code shows some strange messages that I don't know what they mean.
I have a sample app (actually taken from the book tutorial):
The ASDF file:
The main file:
The buildapp command:
The buildapp output:
But when I run the app, it show this message(the entire message is too big to fit here):
What this
Undefined alien
warning means? Why the program doesn't run?Thanks in advance =]