项目作者: smallbasic

项目描述 :
Plugins
高级语言: C++
项目地址: git://github.com/smallbasic/smallbasic.plugins.git
创建时间: 2018-02-11T06:08:39Z
项目社区:https://github.com/smallbasic/smallbasic.plugins

开源协议:GNU General Public License v3.0

下载


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

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

screenshot_2018-02-28_21-09-09

Building under linux:

  1. $ git clone https://github.com/smallbasic/smallbasic.plugins.git
  2. $ cd smallbasic.plugins/
  3. $ nano raylib/Makefile.am
  4. Edit this line to specify the full path to sbasic:
  5. sbasic = ...SmallBASIC/src/platform/console/sbasic
  6. $ sh autogen.sh
  7. $ ./configure --with-static-include
  8. $ 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

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

Cross-compiling for windows

  1. $ sudo apt install mingw-w64 gcc-mingw-w64
  2. $ ./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.