From cyclops at speakeasy.net Thu Aug 2 20:54:24 2012 From: cyclops at speakeasy.net (John Crawford) Date: Thu, 02 Aug 2012 16:54:24 -0400 Subject: [cl-opengl-devel] Documentation status? Message-ID: <20120802205455.A24B4A7157E@asbnvacz-mailrelay01.megapath.net> Looking back through the archives, I see a post in 2010 about the documentation not yet having created. Is that still the case? If it *does* exist (or can be created), how/where would it be? Thanks. John C> From luismbo at gmail.com Fri Aug 3 00:14:00 2012 From: luismbo at gmail.com (=?ISO-8859-1?Q?Lu=EDs_Oliveira?=) Date: Fri, 3 Aug 2012 01:14:00 +0100 Subject: [cl-opengl-devel] Documentation status? In-Reply-To: <20120802205455.A24B4A7157E@asbnvacz-mailrelay01.megapath.net> References: <20120802205455.A24B4A7157E@asbnvacz-mailrelay01.megapath.net> Message-ID: On Thu, Aug 2, 2012 at 9:54 PM, John Crawford wrote: > Looking back through the archives, I see a post in 2010 about the documentation not yet having created. Is that still the case? If it *does* exist (or can be created), how/where would it be? Thanks. Sorry, there's no documentation to be seen. -- Lu?s Oliveira http://r42.eu/~luis/ From cyclops at speakeasy.net Fri Aug 3 13:42:32 2012 From: cyclops at speakeasy.net (John Crawford) Date: Fri, 03 Aug 2012 09:42:32 -0400 Subject: [cl-opengl-devel] How to install/run the demo code? Message-ID: <20120803134227.EDC81A714A3@asbnvacz-mailrelay01.megapath.net> How do I install and run the demo code? I'm running Lispworks PE 6.01 on Windows, I've installed quicklisp and ran: (ql:quickload "cl-opengl") which seemed to download the library. But so far I haven't managed to run the demo examples. Thanks. John C> From charliemac+cl-opengl at gmail.com Fri Aug 3 15:31:46 2012 From: charliemac+cl-opengl at gmail.com (Charlie McMackin) Date: Fri, 3 Aug 2012 10:31:46 -0500 Subject: [cl-opengl-devel] How to install/run the demo code? In-Reply-To: <20120803134227.EDC81A714A3@asbnvacz-mailrelay01.megapath.net> References: <20120803134227.EDC81A714A3@asbnvacz-mailrelay01.megapath.net> Message-ID: (Sorry for the duplicate. I forgot to add the list to my reply.) cl-opengl has some other packages under its "umbrella". This should work: CL-USER> (ql:quickload :cl-glut-examples) CL-USER> (cl-glut-examples:run-examples) From luismbo at gmail.com Fri Aug 3 18:48:47 2012 From: luismbo at gmail.com (=?ISO-8859-1?Q?Lu=EDs_Oliveira?=) Date: Fri, 3 Aug 2012 19:48:47 +0100 Subject: [cl-opengl-devel] Fwd: How to install/run the demo code? In-Reply-To: References: <20120803134227.EDC81A714A3@asbnvacz-mailrelay01.megapath.net> Message-ID: (ups. Also forgot to Cc the list.) ---------- Forwarded message ---------- From: Lu?s Oliveira Date: Fri, Aug 3, 2012 at 4:02 PM Subject: Re: [cl-opengl-devel] How to install/run the demo code? To: John Crawford On Fri, Aug 3, 2012 at 2:42 PM, John Crawford wrote: > How do I install and run the demo code? I'm running Lispworks PE 6.01 on > Windows, I've installed quicklisp and ran: (ql:quickload "cl-opengl") which > seemed to download the library. But so far I haven't managed to run the demo > examples. Thanks. (ql:quickload "cl-glut-examples") loads the examples. (cl-glut-examples:list-examples) lists the available examples which you can run individually. There's also a run-examples function which runs all examples simultaneously. HTH, -- Lu?s Oliveira http://r42.eu/~luis/ -- Lu?s Oliveira http://r42.eu/~luis/ From cyclops at speakeasy.net Fri Aug 3 19:38:16 2012 From: cyclops at speakeasy.net (John Crawford) Date: Fri, 03 Aug 2012 15:38:16 -0400 Subject: [cl-opengl-devel] How to install/run the demo code? Message-ID: <20120803193807.3EBD5A71A9B@asbnvacz-mailrelay01.megapath.net> Thanks for the replies, I'm making progress. However, it still isn't loading, and I'm not sure if it's a missing library, or maybe miscompiled, or what. The steps I've done so far are: (quicklisp-quickstart:install) - worked (ql:quickload "cl-opengl") - worked (ql:quickload :cl-glut-examples) - fails with this output: ====================== CL-USER 6 > (ql:quickload :cl-glut-examples) To load "cl-glut-examples": Load 1 ASDF system: cl-glut-examples ; Loading "cl-glut-examples" Error: Unable to load foreign library (GLUT). Could not register handle for external module GLUT: The specified module could not be found.. ==================== Yet everything *looks* like it's there: CL-GLUT 26 : 2 > (ql:system-apropos "glu" + "cffi" + "opengl") # # # # # # Any ideas on while it's failing to load? Thanks. John C> From charliemac+cl-opengl at gmail.com Fri Aug 3 20:42:14 2012 From: charliemac+cl-opengl at gmail.com (Charlie McMackin) Date: Fri, 3 Aug 2012 15:42:14 -0500 Subject: [cl-opengl-devel] How to install/run the demo code? In-Reply-To: <20120803193807.3EBD5A71A9B@asbnvacz-mailrelay01.megapath.net> References: <20120803193807.3EBD5A71A9B@asbnvacz-mailrelay01.megapath.net> Message-ID: It looks like your implementation is unable to find the GLUT libraries. You might need to install Freeglut from http://freeglut.sourceforge.net/ On Fri, Aug 3, 2012 at 2:38 PM, John Crawford wrote: > Thanks for the replies, I'm making progress. However, it still isn't > loading, and I'm not sure if it's a missing library, or maybe miscompiled, > or what. The steps I've done so far are: > > (quicklisp-quickstart:install) - worked > (ql:quickload "cl-opengl") - worked > (ql:quickload :cl-glut-examples) - fails with this output: > ====================== > CL-USER 6 > (ql:quickload :cl-glut-examples) > To load "cl-glut-examples": > Load 1 ASDF system: > cl-glut-examples > ; Loading "cl-glut-examples" > > Error: Unable to load foreign library (GLUT). > Could not register handle for external module GLUT: > The specified module could not be found.. > ==================== > Yet everything *looks* like it's there: > > CL-GLUT 26 : 2 > (ql:system-apropos "glu" + "cffi" + "opengl") > # 2012-07-03> > # > # 2012-07-03> > # 2012-07-03> > # > # 2012-07-03> > > Any ideas on while it's failing to load? Thanks. > > John C> > > > > _______________________________________________ > cl-opengl-devel mailing list > cl-opengl-devel at common-lisp.net > http://lists.common-lisp.net/cgi-bin/mailman/listinfo/cl-opengl-devel From cyclops at speakeasy.net Sat Aug 4 00:32:58 2012 From: cyclops at speakeasy.net (John Crawford) Date: Fri, 03 Aug 2012 20:32:58 -0400 Subject: [cl-opengl-devel] How to install/run the demo code? Message-ID: <20120804003245.677DBA71129@asbnvacz-mailrelay01.megapath.net> Well, to partially answer my own question :) I was thinking that quicklisp downloaded everything it need, not realizing that GLUT is a separate library. I found a Windows binary glut32.dll here: http://www.opengl.org/resources/libraries/glut/ However - their installation instructions consist of copying the glut32.dll to C:\windows\system32. Which I did. But how do I tell Lispworks to *find* that dll? Thanks again. John C> From luismbo at gmail.com Sat Aug 4 01:37:57 2012 From: luismbo at gmail.com (=?ISO-8859-1?Q?Lu=EDs_Oliveira?=) Date: Sat, 4 Aug 2012 02:37:57 +0100 Subject: [cl-opengl-devel] How to install/run the demo code? In-Reply-To: <20120804003245.677DBA71129@asbnvacz-mailrelay01.megapath.net> References: <20120804003245.677DBA71129@asbnvacz-mailrelay01.megapath.net> Message-ID: On Sat, Aug 4, 2012 at 1:32 AM, John Crawford wrote: > Well, to partially answer my own question :) I was thinking that quicklisp > downloaded everything it need, not realizing that GLUT is a separate > library. I found a Windows binary glut32.dll here: You need FreeGLUT rather than classic GLUT. -- Lu?s Oliveira http://r42.eu/~luis/ From cyclops at speakeasy.net Sat Aug 4 17:58:34 2012 From: cyclops at speakeasy.net (John Crawford) Date: Sat, 04 Aug 2012 13:58:34 -0400 Subject: [cl-opengl-devel] How to install/run the demo code? Successful. In-Reply-To: References: <20120804003245.677DBA71129@asbnvacz-mailrelay01.megapath.net> Message-ID: <20120804175820.1C539A71963@asbnvacz-mailrelay01.megapath.net> > You need FreeGLUT rather than classic GLUT. Thanks, that was the last piece of the puzzle. For the record, the entire set of steps I went through was: File->Load-> C:\Lisp\Tools\quicklisp.lisp - only needs to be done once. or CL-USER 1 : 1 > (load #p"C:/Lisp/Tools/quicklisp.lisp") CL-USER 1 : 1 > (quicklisp-quickstart:install) - only needs to be done once. CL-USER 2 > (load #p"c:/documents and settings/username/quicklisp/setup.lisp") needs to be done every time in LispWorks Personal Edition, which doesn't support init files. CL-USER 3 : 1 > (ql:quickload :cl-opengl) CL-USER 4 : 1 > (ql:quickload :cl-glut-examples) CL-USER 5 : 1 > (cl-glut-examples:list-examples) CL-USER 6 : 1 > (cl-glut-examples:gears) From halloweenincorporated at gmail.com Tue Aug 7 13:02:06 2012 From: halloweenincorporated at gmail.com (Zach Hall) Date: Tue, 7 Aug 2012 09:02:06 -0400 Subject: [cl-opengl-devel] cl-glut not able to open windows until shown how by lispbuilder-sdl Message-ID: Hi everyone, I'm having a weird problem with cl-glut. When I run something using glut to produce a window, I don't get a window. Inserting a swank-handler into the loop of the examples, I determined that they WERE running, they just weren't giving me a window. I'm using Windows 7, Clozure-CL and I have FreeGlut loaded and detected properly. Everything works, except that the window doesn't show. So! I decided to try Lispbuilder-SDL, I loaded up their examples and they are able to successfully open windows. What's really odd about this, is that AFTER I've created a window using Lispbuilder, it seems to show Glut what to do, and Glut can suddenly open display windows properly. Does anyone have any idea what could be causing this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From luismbo at gmail.com Tue Aug 7 19:03:00 2012 From: luismbo at gmail.com (=?ISO-8859-1?Q?Lu=EDs_Oliveira?=) Date: Tue, 7 Aug 2012 20:03:00 +0100 Subject: [cl-opengl-devel] cl-glut not able to open windows until shown how by lispbuilder-sdl In-Reply-To: References: Message-ID: On Tue, Aug 7, 2012 at 2:02 PM, Zach Hall wrote: > What's really odd about this, is that AFTER I've created a window using > Lispbuilder, it seems to show Glut what to do, and Glut can suddenly open > display windows properly. That is indeed weird. > Does anyone have any idea what could be causing this? Unless someone has a better idea, I'd try some plain C demo using FreeGLUT and see if that works. Cheers, -- Lu?s Oliveira http://r42.eu/~luis/