Giter Club home page Giter Club logo

ccl-headers's Introduction

ClozureCL Interface Directories

It took me a little bit to figure out how to properly create interface directories using FFIGEN. But, now that I have a nice setup to do so, as I generate the CDBs for each of the libraries I end up using the most, I'll make them available here.

I've build both the 32- and 64-bit versions of each library.

Packages here so far...

Quickstart

First, Clone this repo somewhere. I like ~/ccl-headers myself.

[~] $ git clone http://github.com/massung/ccl-headers.git

Next, add symbolic links or copy each folder into the appropriate headers folder of your CCL installation path. For example, I simply have CCL checked out to ~/ccl. Since I use 64-bit, I created symbolic links to each interface in the ~/ccl/x86-headers64 folder.

[~/ccl/x86-headers64] $ ln -s ~/ccl-headers/x86_64/gtk3 .

Finally, launch CCL and things should "just work" (assuming you have the appropriate dynamic library installed for the package you're wanting to uses).

$ lx86cl64
Welcome to Clozure Common Lisp Version 1.10-r16196  (LinuxX8664)!

CCL is developed and maintained by Clozure Associates. For more information
about CCL visit http://ccl.clozure.com.  To enquire about Clozure's Common Lisp
consulting services e-mail [email protected] or visit http://www.clozure.com.

? (use-interface-dir :gtk3)
#<INTERFACE-DIR :GTK3 #P"gtk3/" #x302000FA993D>

? (open-shared-library "libgtk-3.so")
#<SHLIB libgtk-3.so.0 #x302000FA811D>

? #_?gtk_init
T

ccl-headers's People

Contributors

massung avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.