[Users] Error in thorn Vectors

Ian Hinder ian.hinder at aei.mpg.de
Tue Nov 14 02:41:15 CST 2017



> On 14 Nov 2017, at 01:12, Hamilton, Maria <babiuc at marshall.edu> wrote:
> 
> Hello,
> 
> Yes, previously I had the error in thorns Vectors, and I followed the suggestion to use the current stable version of Cactus.
> 
> I am not using simfactory, but this command:
> make ET-config options=simfactory/mdb/optionlists/osx-homebrew.cfg THORNLIST=thornlists/einsteintoolkit.th
> 
> The error is: 
> checking for M_PI... no
> configure: error: M_PI not defined. Try adding -D_XOPEN_SOURCE to CPPFLAGS.
> 
> Here is what I tried to add to CPPFLAGS:
> -D_USE_MATH_DEFINES
> -D_XOPEN_SOURCE
> -DM_PI = 3.14149265358979323847
> 
> I also tried to change c11 to c99 at CFLAGS and add 
> -stdlib=libc++ at LIBCXX.
> 
> None of those worked. 
> 
> Please let me know what is to be done.

Hi Maria,

Have you installed all the homebrew packages listed at the top of osx-homebrew.cfg?

-- 
Ian Hinder
http://members.aei.mpg.de/ianhin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20171114/c78e75f7/attachment.html 


More information about the Users mailing list