I'm having problem compiling glut from cl-opengl, I'm using Lispworks
and older variant of Weitz starter pack (newest one fails to
compile) . Could anybody send me / or post tarballs of CFFI/ cl-
opengl & needed dlls (freeglut & glu) for windows that works. All of
my attempts failed
with compiling glut with message : glutGet not found.
thanks
Altea Nicholas Wood wrote:
> I'm having problem compiling glut from cl-opengl, I'm using Lispworks
> and older variant of Weitz starter pack (newest one fails to
> compile) . Could anybody send me / or post tarballs of CFFI/ cl-
> opengl & needed dlls (freeglut & glu) for windows that works. All of
> my attempts failed
> with compiling glut with message : glutGet not found.
Whiner. :)
No, seriously, I know it is frustrating, but I guarantee you are just a
couple of minor tweaks away from having it all working. Then you are
good to go, whereas having people send you things probably will not work
either and at best leaves you begging for resends and sends all the
time, when really you just need a day of perseverance, which will
include vastly more detailed bug reports: OS, which Lisp, which version
of everything, actual error messages, etc etc.
hth,kzo
--
http://www.theoryyalgebra.com/
"Algebra is the metaphysics of arithmetic." - John Ray
"As long as algebra is taught in school,
there will be prayer in school." - Cokie Roberts
"Stand firm in your refusal to remain conscious during algebra."
- Fran Lebowitz
"I'm an algebra liar. I figure two good lies make a positive."
- Tim Allen
On May 13, 10:37 pm, Ken Tilton <···········@optonline.net> wrote:
> Altea Nicholas Wood wrote:
> > I'm having problem compiling glut from cl-opengl, I'm using Lispworks
> > and older variant of Weitz starter pack (newest one fails to
> > compile) . Could anybody send me / or post tarballs of CFFI/ cl-
> > opengl & needed dlls (freeglut & glu) for windows that works. All of
> > my attempts failed
> > with compiling glut with message : glutGet not found.
>
> Whiner. :)
I'm not.
>
> No, seriously, I know it is frustrating, but I guarantee you are just a
> couple of minor tweaks away from having it all working.
I already spent 2 days on this , starter-pack now compiles after I
reinstalled the lispworks, I downloaded newest cffi 0.9.2 and manually
downloaded cl-opengl ,there's no tars, the result is all the same :
(asdf :cl-glut)
snipped
; Loading fasl file C:\Documents and Settings\Slobodan\My Documents
\Lisp Libraries\cl-opengl\gl\extensions.ofasl
; Loading fasl file C:\Documents and Settings\Slobodan\My Documents
\Lisp Libraries\cl-opengl\glut\package.ofasl
; Loading fasl file C:\Documents and Settings\Slobodan\My Documents
\Lisp Libraries\cl-opengl\glut\library.ofasl
; Loading fasl file C:\Documents and Settings\Slobodan\My Documents
\Lisp Libraries\cl-opengl\glut\state.ofasl
; Loading fasl file C:\Documents and Settings\Slobodan\My Documents
\Lisp Libraries\cl-opengl\glut\init.ofasl
Error: Foreign function |%cffi-foreign-function/GET| trying to call to
unresolved external function "glutGet".
1 (continue) Try loading C:\Documents and Settings\Slobodan\My
Documents\Lisp Libraries\cl-opengl\glut\init.ofasl again.
2 Give up loading C:\Documents and Settings\Slobodan\My Documents
\Lisp Libraries\cl-opengl\glut\init.ofasl.
3 Try loading another file instead of C:\Documents and Settings
\Slobodan\My Documents\Lisp Libraries\cl-opengl\glut\init.ofasl.
4 Retry performing #<ASDF:LOAD-OP NIL 21CAB793> on #<ASDF:CL-SOURCE-
FILE "init" 21B0D5AF>.
5 Continue, treating #<ASDF:LOAD-OP NIL 21CAB793> on #<ASDF:CL-
SOURCE-FILE "init" 21B0D5AF> as having been successful.
6 (abort) Return to level 0.
7 Return to top loop level 0.
Type :b for backtrace, :c <option number> to proceed, or :? for other
options
I'm using lispworks personal 5.0.1, windows XP SP2 , lisp starter
pack 0.4.8, cffi 0.9.2 , and I don't know what version of cl-opengl
they don't have tarballs but glut asdf says :version "0.1.0", I
build first freeglut.dll manually than downloaded from the internet
but the result lt is always the same .
>Then you are
> good to go, whereas having people send you things probably will not work
> either and at best leaves you begging for resends and sends all the
> time, when really you just need a day of perseverance, which will
> include vastly more detailed bug reports: OS, which Lisp, which version
> of everything, actual error messages, etc etc.
>
> hth,kzo
>
> --http://www.theoryyalgebra.com/
Altea Nicholas Wood wrote:
> On May 13, 10:37 pm, Ken Tilton <···········@optonline.net> wrote:
>
>>Altea Nicholas Wood wrote:
>>
>>>I'm having problem compiling glut from cl-opengl, I'm using Lispworks
>>>and older variant of Weitz starter pack (newest one fails to
>>>compile) . Could anybody send me / or post tarballs of CFFI/ cl-
>>>opengl & needed dlls (freeglut & glu) for windows that works. All of
>>>my attempts failed
>>>with compiling glut with message : glutGet not found.
>>
>>Whiner. :)
>
>
> I'm not.
Aw, jeez, you took me seriously? You must be new around here.
I see elsewhere you built OK on a different system and are now trying to
figure out what is different on the failing system, specifically
re-installing LW. I am more suspicious of your FreeGlut, because I am
having flashbacks about glutGet being an issue, aka, not always there or
working or something. ie, I would do what the error message says and
start by looking at your FreeGlut source and build messages and make
sure glutGet looks "right", whatever that means. You might use a DLL
hacking tool to check that glutGet is there and external and all that
good stuff.
hth,kzo
ps. As for your comment that Lisp is library-unfriendly on Windows,
nonsense, Lisp is library-unfriendly everywhere. k
--
http://www.theoryyalgebra.com/
"Algebra is the metaphysics of arithmetic." - John Ray
"As long as algebra is taught in school,
there will be prayer in school." - Cokie Roberts
"Stand firm in your refusal to remain conscious during algebra."
- Fran Lebowitz
"I'm an algebra liar. I figure two good lies make a positive."
- Tim Allen
There's nothing wrong with cl-opengl .The freeglut.dll you probably
build from source sucks , try below. It works for me with current
cffi & cl-opengl. I didn't tested it much but certainly compiles &
draws something (and later crushes). The rest is up to you.
http://www.turtle.dds.nl/gl4newlisp/freeglut.dll from
http://www.turtle.dds.nl/gl4newlisp/index.html
JT
On May 15, 9:42 am, jt <·············@gmail.com> wrote:
> There's nothing wrong with cl-opengl .The freeglut.dll you probably
> build from source sucks , try below. It works for me with current
> cffi & cl-opengl. I didn't tested it much but certainly compiles &
> draws something (and later crushes). The rest is up to you.
>
> http://www.turtle.dds.nl/gl4newlisp/freeglut.dll
>from
>http://www.turtle.dds.nl/gl4newlisp/index.html
>
> JT
It works thank you very much.
From: Dimiter "malkia" Stanev
Subject: Re: cl-opengl full package for windows
Date:
Message-ID: <465537C6.6050403@mac.com>
Worked for me too :) Thanks!
Btw, one can check any DLL entries with http://www.dependencywalker.com.
In one version of freeglut.dll, that I've got from somewhere (probably
Crazy Eddie GUI system) the DLL had only ········@4 - which looks like
an WINAPI (PASCAL) convention call (e.g. the called function restores
the argument stack, not the callee).
Then I've downloaded the freeglut.dll from the link provided here, and
it worked for me. Looking with the dependancy walker it had two symbols
glutGet and ·······@4.
Altea Nicholas Wood wrote:
> On May 15, 9:42 am, jt <·············@gmail.com> wrote:
>> There's nothing wrong with cl-opengl .The freeglut.dll you probably
>> build from source sucks , try below. It works for me with current
>> cffi & cl-opengl. I didn't tested it much but certainly compiles &
>> draws something (and later crushes). The rest is up to you.
>>
>> http://www.turtle.dds.nl/gl4newlisp/freeglut.dll
>> from
>> http://www.turtle.dds.nl/gl4newlisp/index.html
>>
>> JT
>
> It works thank you very much.
>
Altea Nicholas Wood <·················@gmail.com> writes:
> On May 13, 10:37 pm, Ken Tilton <···········@optonline.net> wrote:
>> Altea Nicholas Wood wrote:
>> > I'm having problem compiling glut from cl-opengl, I'm using Lispworks
>> > and older variant of Weitz starter pack (newest one fails to
>> > compile) . Could anybody send me / or post tarballs of CFFI/ cl-
>> > opengl & needed dlls (freeglut & glu) for windows that works. All of
>> > my attempts failed
>> > with compiling glut with message : glutGet not found.
>>
>> Whiner. :)
>
> I'm not.
Yes, you are. But you fail to see it yet ;-) I bet you will come back to
this comment with a statement that just proves the very fact... Do you?
But back to your problem:
>
> I already spent 2 days on this , starter-pack now compiles after I
> reinstalled the lispworks, I downloaded newest cffi 0.9.2 and manually
> downloaded cl-opengl ,there's no tars, the result is all the same :
Been there, done this.
Yes, it takes a while till you have all the bits and pieces in place
and working.
May I ask a couple of questions?
1. Where you got cl-opengl from?
2. What GLUT version are you using? Where did you download it from?
3. Have you checked the GLUT sources for glutGet already? Is it there?
Cheers
Frank
On May 14, 4:34 pm, Frank Goenninger DG1SBG <·············@nomail.org>
wrote:
> Altea Nicholas Wood <·················@gmail.com> writes:
>
> > On May 13, 10:37 pm, Ken Tilton <···········@optonline.net> wrote:
> >> Altea Nicholas Wood wrote:
> >> > I'm having problem compiling glut from cl-opengl, I'm using Lispworks
> >> > and older variant of Weitz starter pack (newest one fails to
> >> > compile) . Could anybody send me / or post tarballs of CFFI/ cl-
> >> > opengl & needed dlls (freeglut & glu) for windows that works. All of
> >> > my attempts failed
> >> > with compiling glut with message : glutGet not found.
>
> >> Whiner. :)
>
> > I'm not.
>
> Yes, you are. But you fail to see it yet ;-) I bet you will come back to
> this comment with a statement that just proves the very fact... Do you?
>
I'm not.
> But back to your problem:
>
>
>
> > I already spent 2 days on this , starter-pack now compiles after I
> > reinstalled the lispworks, I downloaded newest cffi 0.9.2 and manually
> > downloaded cl-opengl ,there's no tars, the result is all the same :
>
> Been there, done this.
>
> Yes, it takes a while till you have all the bits and pieces in place
> and working.
How long ? A year? Century ? ....
>
> May I ask a couple of questions?
>
> 1. Where you got cl-opengl from?
http://common-lisp.net/project/cl-opengl/darcs/cl-opengl/
http://common-lisp.net/project/cl-opengl/darcs/cl-opengl/_darcs/current/
Result is same with both of them.
> 2. What GLUT version are you using?
Freeglut 2.4.0 [Released: 9 June 2005]
>Where did you download it from?
http://freeglut.sourceforge.net/index.php#download
> 3. Have you checked the GLUT sources for glutGet already? Is it there?
freeglut/src/freeglutdll.def
LIBRARY freeglutdll
DESCRIPTION "Freeglut OpenGL Utility Toolkit"
VERSION 2.0
EXPORTS
glutInit
glutInitWindowPosition
glutInitWindowSize
-----------
glutGet
>
From: Edi Weitz
Subject: Re: cl-opengl full package for windows
Date:
Message-ID: <u8xbs1qhz.fsf@agharta.de>
On 13 May 2007 07:07:01 -0700, Altea Nicholas Wood <·················@gmail.com> wrote:
> I'm using Lispworks and older variant of Weitz starter pack (newest
> one fails to compile)
How does it "fail to compile"? (Actually, it's an executable that's
supposed to be executed, so I wonder what kind of compilation you're
talking about.) If there's a problem, I'd like to know about it.
--
Lisp is not dead, it just smells funny.
Real email: (replace (subseq ·········@agharta.de" 5) "edi")
On May 13, 9:18 pm, Edi Weitz <········@agharta.de> wrote:
> On 13 May 2007 07:07:01 -0700, Altea Nicholas Wood <·················@gmail.com> wrote:
>
> > I'm using Lispworks and older variant of Weitz starter pack (newest
> > one fails to compile)
>
> How does it "fail to compile"? (Actually, it's an executable that's
> supposed to be executed, so I wonder what kind of compilation you're
> talking about.) If there's a problem, I'd like to know about it.
>
After loading start.lisp file. Lispworks enters recursively into
stack overflow (stack size 15000), when it tries to load lw-add-on
(asdf :lw-add-ons) at start.lisp file. Today I installed lispworks
5.0.1 at my laptop and redownloaded everything with starter-pack ,
and everything seems fine, I will try reinstalling lispworks 5.01 at
see if it repeats the error.
Kind regards and thank you for the starter pack .Though lisp is nicest
language I ever tried it's library system is Windows unfriendly ,
without your starter pack I doubt I will give a lisp a second thought.
From: Edi Weitz
Subject: Re: cl-opengl full package for windows
Date:
Message-ID: <u1whjsjr7.fsf@agharta.de>
On 14 May 2007 04:31:41 -0700, Altea Nicholas Wood <·················@gmail.com> wrote:
> After loading start.lisp file. Lispworks enters recursively into
> stack overflow (stack size 15000), when it tries to load lw-add-on
> (asdf :lw-add-ons) at start.lisp file. Today I installed lispworks
> 5.0.1 at my laptop and redownloaded everything with starter-pack ,
> and everything seems fine, I will try reinstalling lispworks 5.01 at
> see if it repeats the error.
OK, thanks. Mail me if you encounter any problems.
(Did you use the ~/.lw-init.lisp file? Maybe something in there was
the cause.)
> Kind regards and thank you for the starter pack .Though lisp is
> nicest language I ever tried it's library system is Windows
> unfriendly
Well, the "library system" most open source libraries use is ASDF
which is not a part of the language but also an open source library.
Many hackers who write open source software for Lisp don't seem to
care about Windows or don't want to spend the time porting their libs
to Windows if their first platform is Linux or OS X. You can't do
much about that except for sending them patches... :)
> without your starter pack I doubt I will give a lisp a second
> thought.
That's good to hear... :)
--
Lisp is not dead, it just smells funny.
Real email: (replace (subseq ·········@agharta.de" 5) "edi")