Gary covered some of this, but let me give more of a step-by-step to
the first OpenMCL prompt and trying a simple existing OpenGL example.
Once that much runs on your computer we'll have good field position to
continue. Sorry this is so basic, I do realize that you're a software
guy but otherwise I'm liable to skip steps and I think that's a greater
sin. I'm also copying the dev list on this, as it may be of general
interest.
1. downloading a few things
2. going through the build process (trial run)
3. checking out the right thing from cvs
4. cleaning house
5. building the right thing
6. opengl test
...1...
- http://openmcl.clozure.com/ is the main web site,
- http://www.clozure.com/testing/ (where the 0.14 dev version binaries
sit) is a few links deep
download and unpack the following files, I personally unpack them into
/Applications/openmcl (producing /Applications/openmcl/ccl)
http://www.clozure.com/testing/openmcl-darwinppc-bin-0.14-030715.tar.gz
http://www.clozure.com/testing/openmcl-src-0.14-030715.tar.gz
http://www.clozure.com/testing/jaguar-interfaces-030601.tar.gz
...2...
The bin tar.gz file has a self-contained working version, but almost by
definition it's not the latest thing available. You can play around
with it, but when i do this i typically go through a rebuild process to
start with (documented at
http://openmcl.clozure.com/Doc/kernel-build.html and
http://openmcl.clozure.com/Doc/lisp-build.html):
First, I'd add the environment variable CCL_DEFAULT_DIRECTORY to your
shell, in my ~/.tcshrc file i have...
setenv CCL_DEFAULT_DIRECTORY /Applications/openmcl/ccl
and i have /Applications/openmcl/ccl/scripts in my path.
now then...
% cd ccl/lisp-kernel/darwin
% make
% cd ../..
% openmcl
Welcome to OpenMCL Version (Alpha: Darwin) 0.14-030715!
? (xload-level-0)
...
? (compile-ccl)
...
? (quit)
% ./dppccl ppc-boot.image
;Loading ...
...
? (save-application "dppccl.image")
% openmcl
Welcome to OpenMCL Version (Alpha: Darwin) 0.14-030715!
?
There are two minor warnings during xload-level-0 and compile-ccl, they
are typical.
...3...
http://openmcl.clozure.com/Doc/cvsinfo.html has info on checking stuff
out via cvs, the branch you're particularly interested in is
bleeding_edge_0_14 (which as it's name implies may not work 24/7 if
Gary's fixing stuff).
You can either blow away all of your ccl directory, check out the
bleeding edge sources, and unpack these two files over top of it
http://www.clozure.com/testing/openmcl-darwinppc-bin-0.14-030715.tar.gz
http://www.clozure.com/testing/jaguar-interfaces-030601.tar.gz
... or you can check out the bleeding edge sources over top of what
you've got and then clean house. The source archive is checked out as
the anonymous cvs user so you ought to be able to do a cvs update to
the branch tag in the ccl directory: cvs up -r bleeding_edge_0_14
... or if you're behind a firewall, this might give you trouble too, in
which case you can get a source tarball of the correct cvs code at (the
following should have no spaces)
http://www.clozure.com/cgi-bin/viewcvs.cgi/ccl/
ccl.tar.gz?tarball=1&only_with_tag=bleeding_edge_0_14
...4...
before rebuilding everything it's probably a safe bet to
% cd ccl/lisp-kernel/darwin
% make clean
% cd ../..
% find . -name '*.dfsl' -print | xargs rm
...5...
repeat step 2 to bootstrap the latest bleeding edge version
...6...
% openmcl
Welcome to OpenMCL Version (Alpha: Darwin) 0.14-030715!
? (require "OPENGL-FFI")
"OPENGL-FFI"
?
and let me know if this all works. Attached (or inline) is a picture of
what I see when i do this.
If so we can start talking about how it works vs how I figure it should
work (right now it uses glut and opengl ffi calls, but hypothetically
glut and NSOpenGLView could be mixed and matched, and a nicer lispy
OpenGL API could be wrapped around the FFI calls, although i got the
impression that you already have such a thing, if even that could be
made to work under openmcl as a first step that would be great.
thanks,
hamilton
On Friday, August 1, 2003, at 03:06 AM, Alexander Repenning wrote:
>> Sorry for the intrusion, I'm about to download your OpenGL system but
>> have you considered what it might take to get working under OpenMCL?
>> Recent developments in OpenMCL have had the consequence that OpenGL
>> and GLUT ffi calls work (it's still a little buggy, but OpenMCL uses
>> native posix threads under linuxppc and Mac OS X, i have a simple
>> glut example under OS X and it should "just work" under linuxppc as
>> well).
>>
>> If you're interested, email gb@clozure.com or myself, we can set you
>> up with the proper version of OpenMCL to run tests and help you
>> conditionalize and debug it.
>>
>> thanks,
>> hamilton link
>
> Hi Hamilton,
>
> this would be indeed of interest. Yes, could you send me pointers to
> code etc. so that I could play with it? I will not have a lot of spare
> time to explore but maybe at least enough to get a sense of how
> complex using OpenMCL would be. Does OpenMCL include any GUI library,
> e.g.,window class?
>
> all the best, Alex
>
>
> --
> Prof. Alexander Repenning
> University of Colorado
> Department of Computer Science and
> Center of LifeLong Learning & Design
> Campus Box 430
> Boulder, CO 80309-0430
> _____________________________________________________________
> mailto:ralex@cs.colorado.edu phone: (303) 492-1349
> http://www.cs.colorado.edu/~ralex/ fax: (303) 492-2844
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 1 21:38:14 2003