Freud compiling error with Mac

Issue #172 resolved
Pengji Zhou created an issue

Run into compiling error when compiling on mac (OS X El Capitan) with default complier. Setting complier to clang with cmake -DCMAKE_CXX_COMPILER=/usr/bin/clang .. solves the error.

Extra info from Vyas: Pengji runs all software on his Mac through conda. As a result, his compiler was being provided through conda as well. As I am not a conda user, I'm not sure if this is typical behavior, although it did seem odd to me. We should be able to reproduce the error on his computer if we want to understand what is going on, however.

His default compilation was providing errors that uint was not defined. The underlying issue is that we shouldn't use uints. I can add this to my todo list to address, I'll probably do some freud dev over the next couple weeks.

Comments (6)

  1. Bradley Dice

    What is your default compiler, if not /usr/bin/clang? If you can provide version information for freud and the compiler(s), as well as the text of the error, that would be helpful! Thanks.

  2. Log in to comment