smallbasic / smallbasic.plugins

Plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SmallBASIC plugins

Collection of loadable plugin modules to extend the functionality provided by SmallBASIC.

Install: sudo apt install libmysqlclient-dev libglfw3-dev libglfw3 libglew-dev libtool

Gallery

https://github.com/Immediate-Mode-UI/Nuklear.git

screenshot_2018-02-28_21-09-09

Building under linux:

$ git clone https://github.com/smallbasic/smallbasic.plugins.git
$ cd smallbasic.plugins/
$ nano raylib/Makefile.am

Edit this line to specify the full path to sbasic:

sbasic = ...SmallBASIC/src/platform/console/sbasic

$ sh autogen.sh
$ ./configure --with-static-include
$ make -s -j 32

How to run the nuklear demos

Setup the SBASICPATH environment variable to reference the compiled modules

SBASICPATH=/home/chrisws/src/smallbasic.plugins/nuklear/.libs:src/modules/example/.libs:/home/chrisws/src/smallbasic.plugins/units

Then execute the samples via the console version of SmallBASIC

$ cd smallbasic.plugins/nuklear
$ ~/src/SmallBASIC/src/platform/console/sbasic samples/calculator.bas

Cross-compiling for windows

$ sudo apt install mingw-w64 gcc-mingw-w64
$ ./configure --host=x86_64-w64-mingw32

Required windows support DLLs:

  • libgcc_s_seh-1.dll
  • libstdc++-6.dll
  • libwinpthread-1.dll

These can be obtained here: https://sourceforge.net/projects/mingw-w64/files/

Click the link: x86_64-posix-seh, then extract the files from the downloaded package.

About

Plugins

License:GNU General Public License v3.0


Languages

Language:C 40.9%Language:FreeBasic 27.4%Language:C++ 24.4%Language:Java 3.7%Language:Visual Basic 6.0 1.7%Language:BASIC 0.8%Language:Makefile 0.7%Language:M4 0.3%Language:Shell 0.1%