[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] GSL Shell new beta release with anti-gran graphics module
- From: Francesco Abbate <gslshell@...>
- Date: Fri, 4 Dec 2009 23:05:24 +0100
2009/12/4 Sam Roberts <email@example.com>:
> There are some problems with the build system.
now I've fixed the problem, I've updated the subversion repository at
savannah and also uploaded the source tarball
but be aware that savannah mirrors can be updated with several hours of delay.
Now in makeconfig you have the following lines:
ENABLE_COMPLEX = yes
ENABLE_AGG_PLOT = yes
BUILD_LUA_DLL = no
and now you can compile GSL shell as a module that works with vanilla
Lua by disabling complex numbers and enabling BUILD_LUA_DLL. In this
case the short syntax extension is automagically disabled. Please
note, anyway, that without complex you will miss the important FFT
In order to make it works I've made an overhauling of the Makefile
but, more important I've included the agg_platfrom_support stuff in my
directory because a modified version was needed. The reason is because
when we load it as a module we cannot pas through WinMain and so we
need to initialize some stuff in the internal of agg_platform_support.
I believe it is nice to have a module that allows to do numerical
computations and graphics just by loading it from a standard lua
binary. in addition, it also works on Windows and Linux!!
I've also created a 'igsl-std.lua' file to me used instead of 'igsl'
when gsl is loaded as a Lua module.
To test the module you can do:
> require 'gsl'
> require 'igsl-std' -- not strictly required
> p = demo1()
Be aware, I've tried to test all the possible configurations but
errors are still possible.
PS: I'll give a look to your article on non-recursive makefiles. Thank you.