From dmurray at jsbsystems.com Wed Jan 2 16:53:24 2008 From: dmurray at jsbsystems.com (David N Murray) Date: Wed, 02 Jan 2008 11:53:24 -0500 (EST) Subject: [Pal-devel] Can't run examples/hello.lisp Message-ID: Hi, I'm test-driving pal and can't seem to get hello.lisp to run. From the command prompt, I get this: dnm at fili:~/lisp/pal/examples$ sbcl This is SBCL 1.0.13, an implementation of ANSI Common Lisp. More information about SBCL is available at . SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. * (load "hello") ; I modified hello to do the asdf call ; loading system definition from /home/dnm/lisp/systems/pal.asd into ; # ; registering # as PAL ; loading system definition from /home/dnm/lisp/systems/cffi.asd into ; # ; registering # as CFFI T * (hello-1) ALSA lib confmisc.c:560:(snd_determine_driver) could not open control for card 0 ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:955:(snd_func_refer) error evaluating name ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:3948:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2090:(snd_pcm_open_noupdate) Unknown PCM default ALSA lib confmisc.c:560:(snd_determine_driver) could not open control for card 0 ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:955:(snd_func_refer) error evaluating name ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:3948:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2090:(snd_pcm_open_noupdate) Unknown PCM default (:VENDOR "NVIDIA Corporation" :RENDERED "Quadro2 MXR/AGP/SSE2" :VERSION "1.2 (1.5.3)" :EXTENSIONS "GL_ARB_imaging GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_stencil_wrap GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_IBM_texture_mirrored_repeat GL_NV_blend_square GL_NV_point_sprite GL_NV_texgen_reflection GL_NV_texture_rectangle GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays " :MAX-TEXTURE-SIZE 2048) debugger invoked on a TYPE-ERROR in thread #: The value #(#S(PAL::GLYPH :CHAR #\ :POS #S(PAL:VEC :X 0.0 :Y 0.0) :WIDTH 1 :HEIGHT 1 :XOFF 0) #S(PAL::GLYPH :CHAR #\ :POS #S(PAL:VEC :X 0.0 :Y 0.0) :WIDTH 1 :HEIGHT 1 :XOFF 0) #S(PAL::GLYPH :CHAR #\ :POS #S(PAL:VEC :X 0.0 :Y 0.0) :WIDTH 1 :HEIGHT 1 :XOFF 0) #S(PAL::GLYPH :CHAR #\ :POS #S(PAL:VEC :X 0.0 :Y 0.0) :WIDTH 1 :HEIGHT 1 :XOFF 0) #S(PAL::GLYPH :CHAR #\ :POS #S(PAL:VEC :X 0.0 :Y 0.0) :WIDTH 1 :HEIGHT 1 :XOFF 0) #S(PAL::GLYPH :CHAR #\ :POS #S(PAL:VEC :X 0.0 :Y 0.0) :WIDTH 1 :HEIGHT 1 :XOFF 0) #S(PAL::GLYPH :CHAR #\ :POS #S(PAL:VEC :X 0.0 :Y 0.0) :WIDTH 1 :HEIGHT 1 :XOFF 0) #S(PAL::GLYPH :CHAR #\ :POS #S(PAL:VEC :X 0.0 :Y 0.0) :WIDTH 1 :HEIGHT 1 :XOFF 0) #S(PAL::GLYPH :CHAR #\ :POS #S(PAL:VEC :X 0.0 :Y 0.0) :WIDTH 1 :HEIGHT 1 :XOFF 0) #S(PAL::GLYPH :CHAR #\ :POS #S(PAL:VEC :X 0.0 :Y 0.0) :WIDTH 1 :HEIGHT 1 :XOFF 0) #S(PAL::GLYPH :CHAR #\ :POS #S(PAL:VEC :X 0.0 :Y 0.0) :WIDTH 1 :HEIGHT 1 :XOFF 0) #S(PAL::GLYPH :CHAR #\ :POS #S(PAL:VEC :X 0.0 :Y 0.0) :WIDTH 1 :HEIGHT 1 :XOFF 0) ...) is not of type (OR (MEMBER T NIL) (SIMPLE-VECTOR 255)). Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [ABORT] Exit debugger, returning to top level. (PAL-FFI:MAKE-FONT) 0] I get a similar error when running it under slime: The value #(#1=#S(PAL::GLYPH :CHAR #\ :POS #S(PAL:VEC :X 0.0 :Y 0.0) :WIDTH 1 :HEIGHT 1 :XOFF 0) #1# #1# #1# #1# #1# #1# #1# #1# #1# ...) is not of type (OR (MEMBER T NIL) (SIMPLE-VECTOR 255)). [Condition of type TYPE-ERROR] Restarts: 0: [ABORT-REQUEST] Abort handling SLIME request. 1: [TERMINATE-THREAD] Terminate this thread (#) Backtrace: 0: (PAL-FFI:MAKE-FONT) 1: (PAL:LOAD-FONT #) 2: (HELLO-1) 3: (SB-INT:SIMPLE-EVAL-IN-LEXENV (HELLO-1) #) --more-- In both cases, it creates the frame with a title and black background. My environment is a slackware linux box hosting sbcl and the libraries, but I'm accessing it via a windows box using ssh (PuTTY) and my X-server is Xming. I have no problem running other X apps in this environment. BTW, the graphics card identified by pal is the graphics card on my windows box, which makes sense. It looks like it can't find/create/use a default font. Thoughts? TIA, Dave From tomi.neste at netikka.fi Wed Jan 2 20:08:27 2008 From: tomi.neste at netikka.fi (Tomi Neste) Date: Wed, 02 Jan 2008 22:08:27 +0200 Subject: [Pal-devel] Can't run examples/hello.lisp In-Reply-To: References: Message-ID: David N Murray kirjoitti Wed, 02 Jan 2008 18:53:24 +0200: > Hi, > > I'm test-driving pal and can't seem to get hello.lisp to run. From the > command prompt, I get this: > > The value > #(#1=#S(PAL::GLYPH > :CHAR #\ > :POS #S(PAL:VEC :X 0.0 :Y 0.0) > :WIDTH 1 > :HEIGHT 1 > :XOFF 0) > #1# #1# #1# #1# #1# #1# #1# #1# #1# ...) > is not of type > (OR (MEMBER T NIL) (SIMPLE-VECTOR 255)). > [Condition of type TYPE-ERROR] > > Restarts: > 0: [ABORT-REQUEST] Abort handling SLIME request. > 1: [TERMINATE-THREAD] Terminate this thread (# {B953131}>) > > Backtrace: > 0: (PAL-FFI:MAKE-FONT) > 1: (PAL:LOAD-FONT #) > 2: (HELLO-1) > 3: (SB-INT:SIMPLE-EVAL-IN-LEXENV (HELLO-1) #) > --more-- > > In both cases, it creates the frame with a title and black background. Looks like I made a good old off-by-one error on ffi.lisp. Should be fixed in the cvs, or you could just change the font structure declaration in ffi.lisp to look like: (defstruct font (file nil) (image nil :type (or boolean image)) (glyphs nil :type (or boolean (simple-vector 256))) (height 0 :type u11)) For some reason the error doesn't always show up... Let me know if this helps you get any further. > My > environment is a slackware linux box hosting sbcl and the libraries, but > I'm > accessing it via a windows box using ssh (PuTTY) and my X-server is > Xming. > I have no problem running other X apps in this environment. BTW, the > graphics card identified by pal is the graphics card on my windows box, > which makes sense. > I have used pal before with similar setup, so it _should_ work. But for some reason I'm not able to get work right now that I tried it :( Probably just something wrong with my xming settings, I hope. And remember that the performance might not be too good, maybe enough for dev-work though. Let me know if you get it working :) -- tomppa From dmurray at jsbsystems.com Wed Jan 2 20:42:20 2008 From: dmurray at jsbsystems.com (David N Murray) Date: Wed, 02 Jan 2008 15:42:20 -0500 (EST) Subject: [Pal-devel] Can't run examples/hello.lisp In-Reply-To: References: Message-ID: Tomppa, thanks for the quick reply. More below. On Jan 2, Tomi Neste scribed: > > Looks like I made a good old off-by-one error on ffi.lisp. Should be fixed > in the cvs, or you could just change the font structure declaration in > ffi.lisp to look like: > > (defstruct font > (file nil) > (image nil :type (or boolean image)) > (glyphs nil :type (or boolean (simple-vector 256))) > (height 0 :type u11)) I made this change. Maybe I should be looking at the CVS since I'm still having problems. > > For some reason the error doesn't always show up... Let me know if this > helps you get any further. > I still am seeing a frame with the correct title, a black background, but no text. I also tried the example from the manual pp. 7. In order to get that example to work, I had to do (use-package :pal) (It might be because I'm using an old ASDF). That got the example to compile, but again, no text. I also looked up the params to clear-screen and changed the color to (127 127 127) and (255 255 255), but I still only saw a black background with no text. Hitting Enter makes the window disappear, so (wait-for-keypress) is working :-) According to my handy-dandy html color chart, I was expecting a yellow background initially, then in my tests a > > My > > environment is a slackware linux box hosting sbcl and the libraries, but > > I'm > > accessing it via a windows box using ssh (PuTTY) and my X-server is > > Xming. > > I have no problem running other X apps in this environment. BTW, the > > graphics card identified by pal is the graphics card on my windows box, > > which makes sense. > > > I have used pal before with similar setup, so it _should_ work. But for > some reason I'm not able to get work right now that I tried it :( Probably > just something wrong with my xming settings, I hope. > And remember that the performance might not be too good, maybe enough for > dev-work though. Let me know if you get it working :) > > > -- > tomppa > From dmurray at jsbsystems.com Wed Jan 2 20:52:40 2008 From: dmurray at jsbsystems.com (David N Murray) Date: Wed, 02 Jan 2008 15:52:40 -0500 (EST) Subject: [Pal-devel] Can't run examples/hello.lisp Message-ID: (sorry, inadvertantly hit send too soon) Tomppa, thanks for the quick reply. More below. On Jan 2, Tomi Neste scribed: > > Looks like I made a good old off-by-one error on ffi.lisp. Should be fixed > in the cvs, or you could just change the font structure declaration in > ffi.lisp to look like: > > (defstruct font > (file nil) > (image nil :type (or boolean image)) > (glyphs nil :type (or boolean (simple-vector 256))) > (height 0 :type u11)) I made this change. Maybe I should be looking at the CVS since I'm still having problems. > > For some reason the error doesn't always show up... Let me know if this > helps you get any further. > I still am seeing a frame with the correct title, a black background, but no text. I also tried the example from the manual p. 7. In order to get that example to work, I had to do (use-package :pal) (It might be because I'm using an old ASDF). That got the example to compile, but again, no text when I run it. I also looked up the params to clear-screen and changed the color to (127 127 127) and (255 255 255), but I still only saw a black background with no text. Hitting Enter makes the window disappear, so (wait-for-keypress) is working :-) According to my handy-dandy html color chart, I was expecting a yellow background initially, then in my tests a (I'm not sure what color) and then a white background. Any additional thoughts would be appreciated. I'm using the latest SDL, but whatever my slackware install has for OpenGL, which looks like OpenGL version string: 1.2 (1.5.3) (per glxinfo). The OpenGL website talks about version 2.1, but I haven't come across a downloads link. Looks like its heavily integrated into X. Any additional thoughts? TIA, Dave From tomi.neste at netikka.fi Wed Jan 2 21:10:12 2008 From: tomi.neste at netikka.fi (Tomi Neste) Date: Wed, 02 Jan 2008 23:10:12 +0200 Subject: [Pal-devel] Can't run examples/hello.lisp In-Reply-To: References: Message-ID: David N Murray kirjoitti Wed, 02 Jan 2008 22:52:40 +0200: > > I still am seeing a frame with the correct title, a black background, but > no text. I also tried the example from the manual p. 7. In order to get > that example to work, I had to do (use-package :pal) (It might be because > I'm using an old ASDF). That got the example to compile, but again, no > text when I run it. I also looked up the params to clear-screen and > changed the color to (127 127 127) and (255 255 255), but I still only > saw > a black background with no text. Hitting Enter makes the window > disappear, so (wait-for-keypress) is working :-) According to my > handy-dandy html color chart, I was expecting a yellow background > initially, then in my tests a (I'm not sure what color) and then a white > background. > Looks like event handling is working fine but for some reason window update is not working. Just to be sure try to upgrade to the cvs head version. (Note: Colors are handled a bit differently in the latest version; instead of (clear-screen 255 255 255) you should use (clear-screen (color 255 255 255)). But some functions still take separate rgba values, it is a bit messy atm...) I'll see if I can get it working on my own xming setup. > Any additional thoughts would be appreciated. I'm using the latest SDL, > but whatever my slackware install has for OpenGL, which looks like > > OpenGL version string: 1.2 (1.5.3) > > (per glxinfo). The OpenGL website talks about version 2.1, but I haven't > come across a downloads link. Looks like its heavily integrated into X. > That should work just fine. -- tomppa From dmurray at jsbsystems.com Wed Jan 2 21:55:05 2008 From: dmurray at jsbsystems.com (David N Murray) Date: Wed, 02 Jan 2008 16:55:05 -0500 (EST) Subject: [Pal-devel] Can't run examples/hello.lisp In-Reply-To: References: Message-ID: On Jan 2, Tomi Neste scribed: > > Looks like event handling is working fine but for some reason window > update is not working. Just to be sure try to upgrade to the cvs head > version. (Note: Colors are handled a bit differently in the latest > version; instead of (clear-screen 255 255 255) you should use > (clear-screen (color 255 255 255)). But some functions still take separate > rgba values, it is a bit messy atm...) > > I'll see if I can get it working on my own xming setup. I've upgraded to cvs head, but no change in the results. I don't have a monitor on the linux box, so I can't really try it locally. Is there a function call result I could look at? Thanks, Dave From tomi.neste at netikka.fi Wed Jan 2 22:27:13 2008 From: tomi.neste at netikka.fi (Tomi Neste) Date: Thu, 03 Jan 2008 00:27:13 +0200 Subject: [Pal-devel] Can't run examples/hello.lisp In-Reply-To: References: Message-ID: David N Murray kirjoitti Wed, 02 Jan 2008 23:55:05 +0200: > On Jan 2, Tomi Neste scribed: > >> >> Looks like event handling is working fine but for some reason window >> update is not working. Just to be sure try to upgrade to the cvs head >> version. (Note: Colors are handled a bit differently in the latest >> version; instead of (clear-screen 255 255 255) you should use >> (clear-screen (color 255 255 255)). But some functions still take >> separate >> rgba values, it is a bit messy atm...) >> >> I'll see if I can get it working on my own xming setup. > > I've upgraded to cvs head, but no change in the results. I don't have a > monitor on the linux box, so I can't really try it locally. Is there a > function call result I could look at? > Well, there are a few things you could try from the repl (in pal package), just to see how much works. (open-pal :paths "/path/to/my/images/") ;; opens pal window with default settings (clear-screen +white+) (update-screen) ;; update display, should signal in case of opengl error (wait-keypress) ;; to see if event handling works (draw-image (load-image "some.png") (v 0 0)) ;; loads and draws an image from "path/to/my/images" (screen-to-array (v 0 0) 100 100) ;; this should return part of the window as an array of rgba values. E.g. after (clear-screen +white+) it should return all 255s. I'm not sure if it really should work in this situation but might as well try. Other than that it is really hard to say where the problem might be. I just tried some of the more demanding X11 apps remotely with xming/win32 and xorg/linux and the result were quite random, from total hang to problems with screen update so it might be a general problem with SDL apps. With my setup PAL hangs completely at open-pal :( Assuming you are on Windows PAL should work natively there. But then of course the environment isn't as nice... -- tomppa From dmurray at jsbsystems.com Thu Jan 3 01:51:06 2008 From: dmurray at jsbsystems.com (David N Murray) Date: Wed, 02 Jan 2008 20:51:06 -0500 (EST) Subject: [Pal-devel] Can't run examples/hello.lisp In-Reply-To: References: Message-ID: On Jan 3, Tomi Neste scribed: > Well, there are a few things you could try from the repl (in pal package), > just to see how much works. > > (open-pal :paths "/path/to/my/images/") ;; opens pal window with default > settings CL-USER> (open-pal :paths "/home/dnm/tr/") ("/home/dnm/tr/" #P"/home/dnm/lisp/" #P"/home/dnm/lisp/pal/") ; frame appears, title PAL, black background > > (clear-screen +white+) CL-USER> (clear-screen +white+) NIL ; no change in frame > > (update-screen) ;; update display, should signal in case of opengl error > CL-USER> (update-screen) NIL ; no change in frame > (wait-keypress) ;; to see if event handling works > CL-USER> (wait-keypress) :KEY-MOUSE-1 > (draw-image (load-image "some.png") (v 0 0)) ;; loads and draws an image > from "path/to/my/images" CL-USER> (draw-image (load-image "bars.png") (v 0 0)) NIL ; no change in frame CL-USER> (update-screen) NIL ; no change in frame > > (screen-to-array (v 0 0) 100 100) > ;; this should return part of the window as an array of rgba values. E.g. > after (clear-screen +white+) it should return all 255s. I'm not sure if it > really should work in this situation but might as well try. CL-USER> (screen-to-array (v 0 0) 100 100) #2A(((0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255) (0 0 0 255)) [repeat above array 99 times]) now that's interesting: the frame really is black (assuming the first 3 values in the above are R G B. > > Other than that it is really hard to say where the problem might be. I > just tried some of the more demanding X11 apps remotely with xming/win32 > and xorg/linux and the result were quite random, from total hang to > problems with screen update so it might be a general problem with SDL > apps. With my setup PAL hangs completely at open-pal :( > > Assuming you are on Windows PAL should work natively there. But then of > course the environment isn't as nice... I really don't want to develop in Windows (I'm trying to break the addiction :-), but I'll probably look into it. I'm also trying to get garnet to compile. That's fun. Thanks, Dave From madjestic13 at gmail.com Tue Jan 15 23:03:43 2008 From: madjestic13 at gmail.com (Lopatin Vladimir) Date: Wed, 16 Jan 2008 02:03:43 +0300 Subject: [Pal-devel] title window hanging Message-ID: <77ca20d90801151503p190714c2wcc3e9f865e839ea5@mail.gmail.com> Hey everybody, This is my post here and I am not even sure is I am posting it right. I am having a similar issue as described by someone not long ago, when trying to run examples from pal/examples: the window with a title pops up and hangs, it doesn't show anything, doesn't respond to events, Windows sais that the application is not responding. Meanwhile the listener sais "FFI:FOREIGN-CALL-OUT: 0 cannot be converted to the foreign type SINGLE-FLOAT". I also have to use (in-package: pal) before I can run any examples. I use windows XP, AMDX2 64bit, nVidia GTX7800, Clisp-2.43. I can use Linux to and probably using a Linux PAL setup or SBCL would solve the issues, dunno. Maybe that's too much to ask - but is it possible to write some checking program that would check if everything, required by PAL, is installed and works fine? I am really new to Lisp and it would be fantastic to use PAL. Thanks for the great work! Regards, Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomi.neste at netikka.fi Wed Jan 16 12:12:45 2008 From: tomi.neste at netikka.fi (Tomi Neste) Date: Wed, 16 Jan 2008 14:12:45 +0200 Subject: [Pal-devel] title window hanging In-Reply-To: <77ca20d90801151503p190714c2wcc3e9f865e839ea5@mail.gmail.com> References: <77ca20d90801151503p190714c2wcc3e9f865e839ea5@mail.gmail.com> Message-ID: Lopatin Vladimir kirjoitti Wed, 16 Jan 2008 01:03:43 +0200: > Hey everybody, > > This is my post here and I am not even sure is I am posting it right. I > am > having a similar issue as described by someone not long ago, when trying > to > run examples from pal/examples: the window with a title pops up and > hangs, > it doesn't show anything, doesn't respond to events, Windows sais that > the > application is not responding. Meanwhile the listener sais > "FFI:FOREIGN-CALL-OUT: 0 cannot be converted to the foreign type > SINGLE-FLOAT". > I also have to use (in-package: pal) before I can run any examples. Luckily this isn't too hard to fix, but should probably be mentioned in the manual since it had me puzzled a bit when testing pal on CLisp. For some reason CLisp runs by default in non-ANSI compatible mode which causes problems like that one mentioned above. To fix it either: 1) Set custom:*ansi* to T after starting CLisp 2) Put (setf custom:*ansi* t) in your .clisprc file 3) Start CLisp with the -a command line argument That _should_ fix, let me know if still doesn't work. > > I use windows XP, AMDX2 64bit, nVidia GTX7800, Clisp-2.43. I can use > Linux to and probably using a Linux PAL setup or SBCL > would solve the issues, dunno. PAL should work fine on Windows, with either or SBCL or CLisp. Allegro and Lispworks are less tested but in theory there shouldn't be problems. > > Maybe that's too much to ask - but is it possible to write some checking > program that would check if everything, required by PAL, is installed and > works fine? I am really new to Lisp and it would be fantastic to use > PAL. > After loading PAL try (load "/examples/teddy.lisp") and (pal-example::example) from REPL. If that works it is very likely that everything is working correctly. You could also try the "polygons.lisp" example, it should start automatically after loading. If you have more problems let me know :) -- tomppa