I should have read the tutorial of application builder before I posted the question.
I read the tutorial and, I write down the example script.
************************************************************************
(capi:define-interface demo ()
()
(:panes
(page-up capi:push-button
:text "Page Up"
:selection-callback 'scroll-up)
(page-down capi:push-button
:text "Page Down"
:selection-callback 'scroll-down)
(open-file capi:push-button
:text "Open File"
:selection-callback 'file-choice)
(viewer capi:editor-pane
:title "File:"
:text "No file selected."
:visible-min-height '(:character 8)
:reader viewer-pane))
(:layouts
(main-layout capi:column-layout
'(row-of-buttons row-with-editor-pane))
(row-of-buttons capi:row-layout
'(page-up page-down open-file))
(row-with-editor-pane capi:row-layout
'(viewer)))
(:menus
(file-menu "File"
(("Open"))
:selection-callback 'file-choice)
(page-menu "Page"
(("Page Up"
:selection-callback 'scroll-up)
("Page Down"
:selection-callback 'scroll-down))))
(:menu-bar file-menu page-menu)
(:default-initargs :title "Demo"))
(capi:display (make-instance 'demo))
***************************************************************************
I loaded the script on Application builder and set demo as the starting function,
then the building script was made.
*****************************************************************************
;;; Automatically generated delivery script
(in-package "CL-USER")
(load-all-patches)
;;; Load the application:
(load "//Mac/Home/Documents/test3.lisp")
(compile-system 'capi :load t)
(deliver 'demo "//Mac/Home/Desktop/test" 0
:interface :capi)
*****************************************************************************
I loaded the building script and I tried to build.
But I faced the same error again.
I cannot find the good tutorial of the application builder.
Does anyone know the good tutorial?
I'd appreciate your help.
- Hiroki N.