A gui for the computer algebra system Maxima built with wxWidgets
C++ HTML M4 CMake Makefile Roff Other
Latest commit c09dfff Sep 22, 2017 @daute daute Spelling fix.
Permalink
Failed to load latest commit information.
.travis Another go at caching for osx. Nov 12, 2016
Doxygen My first attempt to equip the worksheet with accessibility. Sep 5, 2017
art Corrected the licenses of 2 Tango icons so debian won't complain abou… Aug 11, 2017
data Correct languages in wxMaxima.desktop. Sep 21, 2017
info Correctly highlight parenthesis. Aug 22, 2017
locales Updated Italian translation Sep 21, 2017
snap Snapcraft: Draw in all the dependencies needed for plotting. Aug 4, 2017
src Spelling fix. Sep 22, 2017
test SBCL on Windows adds a space after the <PROMPT-S/>. Hope that re-enab… Aug 22, 2017
.drone.yml If we should support tea-ci, as well? Jul 19, 2017
.editorconfig wxWidgets has added an .editorconfig file. Jan 22, 2017
.gitattributes Preserve leading spaces if they are followed by a ", a < or any other… Jan 3, 2016
.gitignore All that is needed in order to create snappy packages. Jul 23, 2017
.travis.yml Travis: Update CMake Jul 18, 2017
ABOUT-NLS This commit was generated by cvs2svn to compensate for changes in r2, Jan 29, 2005
AUTHORS Added Tomio's information about building wxMaxima on a mac. Mar 28, 2017
CMakeLists.txt Slideshows: Allow loading images from user-specified files and allow … Aug 20, 2017
COPYING This commit was generated by cvs2svn to compensate for changes in r2, Jan 29, 2005
ChangeLog A command-line switch that causes evaluation to be triggered on startup. Sep 15, 2017
Makefile.am Fix 'make dist'. Apr 7, 2017
NEWS Printing: Tried to make the casting more sane. Nov 22, 2016
README README is required. Sep 26, 2013
README.md ImageMagick has angered us once too often. May 30, 2017
bootstrap Troubleshooting: Let's see if this broke the windows build. Aug 13, 2015
configure.ac A try to implement the "make html" target in cmake. Apr 5, 2017
wxmaxima.spec.in Take the version number from git. Jan 2, 2017

README.md

Build Status

wxMaxima

wxMaxima is a document based interface for the computer algebra system Maxima. For more information about Maxima, visit http://maxima.sourceforge.net/. wxMaxima uses wxWidgets and runs natively on Windows, X11 and Mac OS X. wxMaxima provides menus and dialogs for many common maxima commands, autocompletion, inline plots and simple animations. wxMaxima is distributed under the GPL license.

wxMaxima is included with the Windows and the macintosh installer for Maxima. Packages are also available for many Linux distributions. Screenshots and documentation can be found at http://andrejv.github.io/wxmaxima/; If you wish to compile wxMaxima from source, please read the instructions below.

Building wxMaxima from source

To build wxMaxima from sources you need to have a C++ compiler and the wxWidgets library installed.

Compiling on Mac OS X

On Mac OS X you should install XCode. To build wxMaxima open the Terminal application and follow the instructions for building with GNU autotools. It is recommended that you compile your own version of wxMac. See the section about compiling wxWidgets.

Compiling on Windows

On Windows install MinGW (https://sourceforge.net/projects/mingw/). In the installation process make sure you select g++, MSYS Basic System and MinGW Developer ToolKit in the Select components page of the installer. Then run the MinGW Shell and follow the instructions for compiling wxWidgets and wxMaxima with autotools.

Compiling wxWidgets on Mac OS X and Windows

Before compiling wxMaxima you need to compile the wxWidgets library. Download the source (we recommend version 3.1 for Mac OS X), unarchive and in the source directory execute

mkdir build
cd build
../configure
make

You do not need to install the library with make install. You will need to specify a path to wx-config when configuring wxMaxima. There are two files in build/lib/wx/config. The correct file to use is inplace-msw-ansi-release-static-3.1 on Windows and inplace-mac-unicode-release-static-3.1 on Mac OS X. You will also need to copy the file wxwin.m4 to acinclude.m4 in the wxMaxima source directory.

Mac OS X specific instructions

Building on Mac OS X sometimes requires additional arguments to the configure script. To build a portable binary configure wxWidgets with

../configure --disable-shared ---with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin --with-zlib=builtin --with-expat=builtin --with-macosx-version-min=10.7

With these options the build process will take a little longer, but the resulting binary will have less library dependencides.

Compiling wxMaxima with autotools

If you are not building an official tarball but using the git version it is necessary to execute ./bootstrap first in order to get the file ./configure

To build wxMaxima on Linux execute

./configure
make
make allmo
sudo make install

You can also try to create a .deb package instead of installing the program by doing a

./configure
make
make allmo
checkinstall -D make install

On Ubuntu or Debian the build prerequisites can be installed by doing a

sudo apt-get install build-essential libwxbase3.0-dev libwxgtk3.0-dev autoconf ibus-gtk ibus-gtk3 checkinstall gettext

beforehand or (if apt-get is configured to load the source package repositories and not only the binary packages) by the simpler

sudo apt-get build-dep wxmaxima

Mac OS X specific instructions

To build an application bundle of wxMaxima on Mac OS X

./configure --with-wx-config=<path to wx-config> --with-macosx-version-min=10.7
make
make allmo
make wxMaxima.app

Note that the version specified in --with-macosx-version-min should match the version used when configuring wxWidgets.

Windows specific instructions

On Windows execute instead:

./configure --with-wx-config=<path to wx-config>
make
make allmo
make wxMaxima.win

which builds the directory structure necessary for running wxMaxima. Note that this structure might be lacking a few .dll files, depending on the compiler. They will be named libstdc++-6.dll and libgcc_s_sjlj-1.dll or similar.

It is also possible to tell the GNU C compiler to try to include all necessary .dll files in wxMaxima.exe while compiling wxMaxima. In order to make this work wxWidgets has to be compiled statically which allows to include it directly into an .exe file:

./configure --with-wx-config=<path to wx-config> --enable-static-wx -enable-fullystatic
make allmo
make wxMaxima.win

The build system also offers a build target that creates a zip archive whose contents is a self-contained wxMaxima installation that can be placed in the folder maxima was installed in, again with the caveat of the .dll files:

make wxMaxima.win.zip

Compiling wxMaxima with CMake

wxMaxima can also be build using the CMake build system. The following steps will build and install wxMaxima using CMake:

mkdir build
cd build
cmake ..
cmake --build .
sudo cmake --build . -- install

If you want to create binary packages (tar.gz, tar.bz2, DEB & RPM), you can create them with:

cmake --build . -- package

Additional information about installing and configuring wxMaxima