How to build it?

nuBASIC source has been written in C++11 and compiles under several operating systems including Windows and Linux.

To compile nuBASIC you may create a Visual Studio 2015 console application or build it by using GCC >= 4.8.1 (both VS project files and autoconf/automake scripts have been provided) or using MinGW >= 4.8.1. 
Please, see also Building and Cleaning Projects and Solutions in Visual Studio at link

Source code tarball

Building in a separate 'build' directory

To separate source and build directories you have to create the build directory anywhere you want and call configure from there. 
This will then build the code in the build directory you have created


mkdir your_nubasic_build_dir
cd your_nubasic_build_dir
make install

Building nuBASIC by using maiken

To build nuBASIC you can also use maiken which is a C++14 Cross platform YAML based build tool for GCC/CLANG/ICC/MSVC/NVCC (please see also
Maiken uses a specific make-script file. You can download the nuBASIC's maiken script file at link (it will be included in the new versions of nubasic source code).
Once you have installed maiken and you have got the script file, just copy this file within the nuBASIC source code directory and execute the following commands from there:

mkn clean -p nubasic-release
mkn build -p nubasic-release

At the end of build stage you will find the binary executable file nubasic within <source-code-dir>/bin/nubasic-release.

Getting the latest released code

You can download the latest released version at Sourceforge or GitHub

The source code is managed using the git version control system. 
To get your own copy of the project sources, use the following command.

git clone

or from Sourceforge repository

git clone git:// nubasic-code

If the git protocol is blocked by your local area network, then you can use the alternative HTTP protocol instead.

git clone nubasic-code

To build nubasic you need g++ compiler and x11 development libs.

To build nubasic you need to install GNU GCC Compiler and Development Environment.
For example, using a Debian/Ubuntu distros open the Terminal and then type the following apt-get command as root user:

sudo apt-get install build-essential

Unless you configure nuBASIC to create the "tiny" version (./configure --enable-tinyver), you have to install following additional packages: libx11-dev, sdl2-dev, xmessage, xterm

Install script for development libs:
sudo apt-get -y install libx11-dev
sudo apt-get install libsdl2-dev
sudo apt-get install xterm
sudo apt-get install xmessage

See also