chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Disappearing functions from DLL


From: Alex Queiroz
Subject: [Chicken-users] Disappearing functions from DLL
Date: Tue, 22 May 2007 19:23:24 -0300

Hallo list,

    I've come across a strange problem. I've written a binding for a
C library, that I compile as a DLL. I then try to interpret another
file with csi, which loads my DLL. The strange part is that some of my
functions disappear! All of them are defined with foreign-lambda and
some of them are ok, but others are not. The error I get is the
following:

Error: call of non-procedure: Error: unprintable non-immediate object encountere
d

       Call history:

       <eval>          [make-bezier-curve] (make-point x y z)
       <eval>          [make-point] (##sys#make-structure (quote point) x y z)
       <eval>          [draw-bezier-curve] (gl:Vertex3f (point-x q) (point-y q)
(point-z q))
       <eval>          [draw-bezier-curve] (point-x q)
       <eval>          [point-x] (##sys#check-structure x (quote point))
       <eval>          [point-x] (##sys#block-ref x 1)
       <eval>          [draw-bezier-curve] (point-y q)
       <eval>          [point-y] (##sys#check-structure x (quote point))
       <eval>          [point-y] (##sys#block-ref x 2)
       <eval>          [draw-bezier-curve] (point-z q)
       <eval>          [point-z] (##sys#check-structure x (quote point))
       <eval>          [point-z] (##sys#block-ref x 3)
       <eval>          [draw-bezier-curve] (gl:End)
       <eval>          [on-paint] (iupgl:swap-buffers ih)
       <eval>          [artisan-run] (iup:destroy! main-window)
       <eval>          [artisan-run] (iup:close)       <--

    The problem is the same with Darcs head from yesterday and
release 2.6. The platform is MinGW Win32, and both were built with
CMake. Both PCs are i386s running WinXP.

--
-alex
http://www.ventonegro.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]