[fetter-devel] Problem generate bindings.
Nicolas Lamirault
lam at tuxfamily.org
Thu May 25 06:18:17 UTC 2006
hello,
i would like to test Fetter by creating bindings for the Gstreamer
framework.
i create the file gst-verrazao.lisp, like this :
(require 'asdf)
(asdf:operate 'asdf:load-op 'verrazano)
(verrazano:create-binding
(verrazano:setup-build "gccxml"
(make-pathname ;; :device "/"
:directory "tmp"))
"/home/nicolas/src/divers/gst.binding"
"/home/nicolas/src/divers/gst-library.lisp"
:cffi-backend
t)
the file gst.binding contains :
(defbinding "gst-library"
(nicknames "gst")
(flags "")
(include "/usr/include/gstreamer-0.8/gst/bytestream/adapter.h"
"/usr/include/gstreamer-0.8/gst/bytestream/bytestream.h"
"/usr/include/gstreamer-0.8/gst/bytestream/filepad.h"
"/usr/include/gstreamer-0.8/gst/control/control.h"
"/usr/include/gstreamer-0.8/gst/control/dparamcommon.h"
"/usr/include/gstreamer-0.8/gst/control/dparam.h"
"/usr/include/gstreamer-0.8/gst/control/dparammanager.h"
"/usr/include/gstreamer-0.8/gst/control/dparam_smooth.h"
"/usr/include/gstreamer-0.8/gst/control/dplinearinterp.h"
"/usr/include/gstreamer-0.8/gst/control/unitconvert.h"
"/usr/include/gstreamer-0.8/gst/dataprotocol/dataprotocol.h"
"/usr/include/gstreamer-0.8/gst/getbits/getbits.h"
"/usr/include/gstreamer-0.8/gst/gstatomic.h"
"/usr/include/gstreamer-0.8/gst/gstbin.h"
"/usr/include/gstreamer-0.8/gst/gstbuffer.h"
"/usr/include/gstreamer-0.8/gst/gstcaps.h"
"/usr/include/gstreamer-0.8/gst/gstchildproxy.h"
"/usr/include/gstreamer-0.8/gst/gstclock.h"
"/usr/include/gstreamer-0.8/gst/gstcompat.h"
"/usr/include/gstreamer-0.8/gst/gstconfig.h"
"/usr/include/gstreamer-0.8/gst/gstcpu.h"
"/usr/include/gstreamer-0.8/gst/gstdata.h"
"/usr/include/gstreamer-0.8/gst/gstelement.h"
"/usr/include/gstreamer-0.8/gst/gstenumtypes.h"
"/usr/include/gstreamer-0.8/gst/gsterror.h"
"/usr/include/gstreamer-0.8/gst/gstevent.h"
"/usr/include/gstreamer-0.8/gst/gstfilter.h"
"/usr/include/gstreamer-0.8/gst/gstformat.h"
"/usr/include/gstreamer-0.8/gst/gst.h"
"/usr/include/gstreamer-0.8/gst/gstindex.h"
"/usr/include/gstreamer-0.8/gst/gstinfo.h"
"/usr/include/gstreamer-0.8/gst/gstinterface.h"
"/usr/include/gstreamer-0.8/gst/gstmacros.h"
"/usr/include/gstreamer-0.8/gst/gstmarshal.h"
"/usr/include/gstreamer-0.8/gst/gstmemchunk.h"
"/usr/include/gstreamer-0.8/gst/gstobject.h"
"/usr/include/gstreamer-0.8/gst/gstpad.h"
"/usr/include/gstreamer-0.8/gst/gstparse.h"
"/usr/include/gstreamer-0.8/gst/gstpipeline.h"
"/usr/include/gstreamer-0.8/gst/gstpluginfeature.h"
"/usr/include/gstreamer-0.8/gst/gstplugin.h"
"/usr/include/gstreamer-0.8/gst/gstprobe.h"
"/usr/include/gstreamer-0.8/gst/gstquery.h"
"/usr/include/gstreamer-0.8/gst/gstqueue.h"
"/usr/include/gstreamer-0.8/gst/gstregistry.h"
"/usr/include/gstreamer-0.8/gst/gstregistrypool.h"
"/usr/include/gstreamer-0.8/gst/gstscheduler.h"
"/usr/include/gstreamer-0.8/gst/gststructure.h"
"/usr/include/gstreamer-0.8/gst/gstsystemclock.h"
"/usr/include/gstreamer-0.8/gst/gsttag.h"
"/usr/include/gstreamer-0.8/gst/gsttaginterface.h"
"/usr/include/gstreamer-0.8/gst/gstthread.h"
"/usr/include/gstreamer-0.8/gst/gsttrace.h"
"/usr/include/gstreamer-0.8/gst/gsttrashstack.h"
"/usr/include/gstreamer-0.8/gst/gsttypefind.h"
"/usr/include/gstreamer-0.8/gst/gsttypes.h"
"/usr/include/gstreamer-0.8/gst/gsturi.h"
"/usr/include/gstreamer-0.8/gst/gsturitype.h"
"/usr/include/gstreamer-0.8/gst/gstutils.h"
"/usr/include/gstreamer-0.8/gst/gstvalue.h"
"/usr/include/gstreamer-0.8/gst/gstversion.h"
"/usr/include/gstreamer-0.8/gst/gstxml.h")
(export "")
(override "not supported yet"))
so i try to generate bindings :
CL-USER> (load "/home/nicolas/src/divers/gst-verrazano.lisp")
; loading system definition from /home/nicolas/.sbcl/systems/cffi.asd into
; #<PACKAGE "ASDF0">
; registering #<SYSTEM CFFI {AC29949}> as CFFI
; loading system definition from /home/nicolas/.sbcl/systems/verrazano.asd
; into #<PACKAGE "ASDF0">
; registering #<SYSTEM VERRAZANO {B124F69}> as VERRAZANO
; loading system definition from
; /home/nicolas/.sbcl/systems/parse-number.asd into #<PACKAGE "ASDF0">
; registering #<SYSTEM PARSE-NUMBER {B2CBF59}> as PARSE-NUMBER
; loading system definition from
; /home/nicolas/.sbcl/systems/split-sequence.asd into #<PACKAGE "ASDF0">
; registering #<SYSTEM :SPLIT-SEQUENCE {B6823B1}> as SPLIT-SEQUENCE
; loading system definition from /home/nicolas/.sbcl/systems/s-xml.asd
; into #<PACKAGE "ASDF0">
; registering #<SYSTEM :S-XML {AE50FA1}> as S-XML
An error occurred running GCC-XML. Please ensure
that GCC-XML is properly installed and in your path,
and please ensure that the library to which you are
trying to bind is available to Verrazano.
in /tmp/ directory there is these files :
/tmp/vzntemp.cpp
/tmp/vzntemp.mac
i add some log into fetter source code, and the shell command seems to
be :
gccxml -fxml="/tmp/vzntemp.xml" "/tmp/vzntemp.cpp"
so i try to use gccxml from command line :
$> gccxml --debug -fxml="/tmp/vzntemp.xml" "/tmp/vzntemp.cpp" 1>&2 2> log
could you help me ?
i don't really know where i make a mistake.
i attach to this mail log file, and output files vzntemp.cpp and
vzntemp.mac
thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log
Type: application/octet-stream
Size: 169724 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/fetter-devel/attachments/20060525/65607962/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vzntemp.cpp
Type: text/x-c++src
Size: 3517 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/fetter-devel/attachments/20060525/65607962/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vzntemp.mac
Type: application/octet-stream
Size: 273634 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/fetter-devel/attachments/20060525/65607962/attachment-0001.obj>
-------------- next part --------------
--
Nicolas Lamirault
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/fetter-devel/attachments/20060525/65607962/attachment.sig>
More information about the fetter-devel
mailing list