Menu

#547 Installation on Mac OS 10.5.8

v4.1 (minor)
open
nobody
None
5
2012-04-10
2012-04-10
No

I have been trying to build FreeMat from source on Mac OS 10.5.8 and have come across a few issues.

(ed: The reason I am building from source is because the binary doesn't work. It just crashed with a dyld error)

Firstly, cmake complains when trying to find some clang libraries which aren't needed, but are added in the CMakeLists.txt file. I commented this line out and uncommented the line below without the clang libraries and it no longer complained.

Secondly, the tarball is not clean and contains CMakeCache files which interrupt cmake's configuration. There are also many *.moc.cpp files which have been generated using which-ever version of Qt you have tested it with, but these should be generated locally. The solution here is to simply delete this from the source!

Thirdly, the file FreeMat-4.1-Source/libs/libGraphics/GLRenderEngine.cpp is missing the "#include <GL/glu.h>" required to define gluProject.

Fourthly, it should be made clear that fftw3(+single precision) is required. These can be gotten from macports: port install fftw-3 fftw3-single.

....

There may be more issues, but I am still building, encountering and trying to fix these errors. I will update when I can test a working version. It would be extremely useful if a working version could be submitted to macports!

Cheers,
Liam

Discussion


Log in to post a comment.