Mumax 2.0b2
A reasonably stable candidate for the first release of Muview 2.0. Much has changed since previous versions but here are some of the highlights.
Changes Since 2.0b1
- Fixed a few problems with color scales and sprites when displaying scalar fields
- #1: libomf now compiled under qmake
- #2: Migrated to OpenGL 3.1 profile for improved compatibility
- Compiles on MacOSX under Qt 5.2 (still has problems with OpenGL context)
- Added desktop file and icons for linux distribution
Requirements
- Qt5 libs at run time
- Boost and qt5 dev packages are required for building
Building
Linux
After installing the dependencies from repositories, run the following
cd libomf
qmake && make
cd ..
qmake && make
sudo make install
The install puts the muview binary in /usr/local/bin, as well as installing icons and a .desktop file on Ubuntu-like systems. This facilitates conveniences such as opening .omf and .ovf files by double clicking them!
Mac OSX
On 10.9 Mavericks, I was able to get a succesful build using libraries installed through brew. I did NOT have any luck with the official Qt5 environment.
brew install boost
brew install --developer qt5
The latter takes a while to compile (20 mins on an old system.) Now run the same command chain as above, where qmake is replaced by:
/usr/local/Cellar/qt5/5.2.1/bin/qmake -spec macx-g++
to ensure that you are using the boost version. This generates muview.app — which on my system runs but doesn't load a proper GL context and thus cannot actually display anything. Suggestions are welcome.
Windows
Please help me out if any of you are interested...