SimulationTools / h5mma

GNU Lesser General Public License v2.1
0 stars 0 forks source link

Support Mathematica 9 MathLink directory location on Mac OS Create issue #2

Closed barrywardell closed 2 years ago

barrywardell commented 2 years ago

Mathematica 9 requires

MLINKDIR ?= /Applications/Mathematica.app/SystemFiles/Links/MathLink/DeveloperKit/MacOSX-x86-64/CompilerAdditions

instead of

MLINKDIR ?= /Applications/Mathematica.app/SystemFiles/Links/MathLink/DeveloperKit/CompilerAdditions

in the Makefile. We should use whichever of these exists.

Imported from: BitBucket Issue #2 Original date: 2013-08-17 Original creator: Barry Wardell

barrywardell commented 2 years ago

This sort of logic is difficult to achieve in a Makefile. Should we be thinking about using autoconf or similar? That also has the advantage that it is more familiar to people than editing the makefile fragment.

Original date: 2013-08-19 Original author: Ian Hinder

barrywardell commented 2 years ago

This was fixed in 20df41bbc2f0f142452ce6f4365ff9edc0550073. The fix was to use the path required by Mathematica 9 and 10, so compiling with earlier versions requires MLINKDIR to be set in make.defs.

Original date: 2015-02-26 Original author: Barry Wardell