Windows.h with Verrazano
- From: Frank Buss <fb@xxxxxxxxxxxxx>
- Date: Fri, 30 Dec 2005 13:26:43 +0100
I've installed Verrazano from CVS from today and the simple testsuite works
with Lispworks after fixing some path problems. Then I've copied the
windows.h from Visual Studio C++ 7.0 and all other header files to the
"simple" directory and changed the simple-binding file like this:
(defbinding "simple-library"
(nicknames "simple")
(flags "-I/data/projects/asdf/verrazano/testsuite/simple -D
WIN32 -D NDEBUG -D _WINDOWS -D _MBCS")
(include "windows.h")
(export "don't care")
(override "not supported yet"))
I tried to generate it like this:
(use-package "VERRAZANO")
(create-binding
(setup-build "/Programme/gccxml/bin/release/gccxml.exe"
"/tmp/")
"/data/projects/asdf/verrazano/testsuite/simple/simple.binding"
"/data/projects/asdf/verrazano/testsuite/simple/simple-library.lisp"
:cffi-backend
t)
It needs some minutes and vzntemp.cpp, vzntemp.mac (2.7 mb) and
vzntemp.xml (7.1 mb) are generated, but then it says:
1 DEFINES NAMESPACE-TYPE ::
1 ALLOCATES NAMESPACE-TYPE :: named ::
1 NAMESPACE-TYPE ::
NIL
and the contents of simple-library:
(defpackage "SIMPLE-LIBRARY" (:use #:CFFI) (:nicknames "SIMPLE") (:export))
(in-package "SIMPLE-LIBRARY")
(asdf:operate 'asdf:load-op 'verrazano-support)
(cl:progn)
Is this a bug? How can I generate the bindings for windows.h?
--
Frank Buss, fb@xxxxxxxxxxxxx
http://www.frank-buss.de, http://www.it4-systems.de
.
- Follow-Ups:
- Re: Windows.h with Verrazano
- From: Kenny Tilton
- Re: Windows.h with Verrazano
- Prev by Date: Re: LELISP (-->LISP) --> C/C++ or other common language
- Next by Date: Re: Python and Lisp Test
- Previous by thread: Re: Lisp executables?
- Next by thread: Re: Windows.h with Verrazano
- Index(es):