This application provides a GUI for the MoebInv library http://moebinv.sourceforge.net/ for symbolic, numeric and graphical manipulations in non-Euclidean geometry.
The MoebInv library allows manipulations in non-Euclidean geometry. This application is a GUI for use with the MoebInv library.
If all pre-requisites are already installed it shall be enough to compile the GUI by typing the command make
at the command prompt of the top-level folder containing the distribution.
First three items can be already pre-packaged for your system, otherwise use provided links. MoebInv library is distributed only in sources at the moment.
1. Install Homebrew.
Paste this into a terminal:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
You may need to agree to the installation of Xcode.
2. Make sure that your mac has a GCC version greater than 4.4.
You can do this by typing gcc --version
If the version is lower, then execute something like that:
brew install https://raw.github.com/Homebrew/homebrew-dupes/master/gcc.rb
rm -v /usr/bin/{cc,gcc,c++,g++}
ln -sv /usr/local/bin/gcc-4.x /usr/bin/cc
ln -sv /usr/local/bin/gcc-4.x /usr/bin/gcc
ln -sv /usr/local/bin/c++-4.x /usr/bin/c++
ln -sv /usr/local/bin/g++-4.x /usr/bin/g++
3. Install GiNaC and Cmake using homebrew:
brew install ginac
brew install cmake
4. Install MoebInv
Type make
Make sure yaglom can find the library files by either:
figure.h
and cycle.h
in /usr/local/include/moebinv
and placing libfigure.so
and libcycle.so
in /usr/local/lib
./lib/moebinv
and libraries./lib
folders in the downloaded moebinv-gui-code
directory.5. Install Qt using home brew:
brew install qt
6. Install Yaglom
- clone the yaglom repository from https://git.code.sf.net/p/moebinv/gui/code by executing:
git clone https://git.code.sf.net/p/moebinv/gui/code moebinv-gui-code
- open a terminal in this directory or directly after executing the clone command execute cd moebinv-gui-code
- build the make file by executing qmake
- compile the application by executing make
- install the documentation by running make install
- run the application by execting ./yaglom
or
mac-install.sh