Did you know ... | Search Documentation: |
Packs (add-ons) for SWI-Prolog |
Title: | OpenGL Bindings |
---|---|
Rating: | |
Latest version: | 0.6.2 |
SHA1 sum: | b5375d0ff76c509b378fa060326ef0893a130b8c |
Author: | Jan Tatham <jan@sebity.com> |
Home page: | http://www.sebity.com/index.php |
Download URL: | http://www.sebity.com/downloads/plOpenGL-0.6.2.zip |
Version | SHA1 | #Downloads | URL |
---|---|---|---|
0.6.2 | b5375d0ff76c509b378fa060326ef0893a130b8c | 131 | http://www.sebity.com/downloads/plOpenGL-0.6.2.zip |
4a1d1d1ee964dd26ecd8f6e5e0ee5f3d460d5c56 | 1 | http://github.com/thecommieduck/plOpenGL.git | |
0.6.1 | eaad8d5dc7b27b31652cdfb22d44a50f48ba014c | 1 | http://www.sebity.com/downloads/plOpenGL-0.6.1.tgz |
183fae5c1b936e1e49d6ecde63a51d18f965782f | 10 | http://www.sebity.com/downloads/plOpenGL-0.6.1.zip | |
0.6.0 | 034e0b84be41bcc4f29b3726716be016f5e96a0e | 1 | http://www.sebity.com/downloads/plOpenGL-0.6.0.tgz |
96d9a89764aed8c5be4f46385ccc49e7d6c493a8 | 1 | http://www.sebity.com/downloads/plOpenGL-0.6.0.zip |
SWI-Prolog OpenGL Bindings
plOpenGL is an open source project that aims to develop a complete cross-platform SWI-Prolog binding for the OpenGL, GLU and GLUT libraries.
Windows, Mac OSX and Linux
To use plOpenGL, add the following import modules and libraries to your script:
:- use_foreign_library(foreign(plOpenGL))
.
:- use_module(library(plOpenGL))
.
:- use_module(library(plGL_defs))
.
:- use_module(library(plGLU_defs))
.
:- use_module(library(plGLUT_defs))
.
:- use_module(library(plGL))
.
:- use_module(library(plGLU))
.
:- use_module(library(plGLUT))
.
Jan Tatham
plOpenGL is currently available under the GNU Lesser General Public License (LGPL) version 2.1.
Pack contains 46 files holding a total of 1.9M bytes.
I have not tested with with 32-bit version of swipl. However, the 64-bit version of this pack does not work on 64-bit windows 8.1. "dumpbin.exe" declares that the plOpenGL.dll in the x86_64 folder is 32-bit. It therefore gives a ubiquitous error "%1 is not a valid win32 application" when using '$open_shared_object'/3 called by
use_foreign_library(foreign(plOpenGL))
.I looked through all the documentation on building from source and none of it solves the problem or builds a 64-bit dll.