Git Product home page Git Product logo

Comments (9)

davidharvey1986 avatar davidharvey1986 commented on August 26, 2024

cmake_config.log
cmake.log

from velociraptor-stf.

rtobar avatar rtobar commented on August 26, 2024

Thanks @davidharvey1986 for reporting this.

I see two issues:

  • Our src/exceptions.h header doesn't have an include guard, I'll add one.
  • Mac's filesystem lookups seem to be case-insensitive, which is causing src/exceptions.cxx's #include "exceptions.h" to include src/exceptions.h (fine), but also making NBodylib/src/Math/NBodyMath.h's #include <Exceptions.h> to include src/exceptions.h instead of NBodylib/src/Math/Exceptions.h (not fine), which causes the error. I think that's easily fixable, but I'll require confirmation from your side to know if that's the case.

from velociraptor-stf.

rtobar avatar rtobar commented on August 26, 2024

@davidharvey1986 please try compiling the issue-126 branch, which has an update that fixes both issues above. Beware that you'll need to run git submodule update as the NBodylib submodule has fixes that need to be brought it too.

from velociraptor-stf.

davidharvey1986 avatar davidharvey1986 commented on August 26, 2024

Hi @rtobar. Thanks for responding. This indeed was my conclusion and by specifically stating the exact file path had temporarily fixed the problem on myside. This fix has now solved the issue so thank you....however....

It now doesn't find the HOST_NAME_MAX, which on my limited knowledge is not something that is valid on a MAC (and is not defined in the machine headers) by changing thi tos SC HOST_NAME_MAX works, but I don't know if there is a subtle difference.

Thanks
output.log

from velociraptor-stf.

rtobar avatar rtobar commented on August 26, 2024

@davidharvey1986 thanks for reporting that further issue. Using _SC_HOST_NAME_MAX is not exactly correct; however the fully correct way of doing this in all platforms is a bit clunky, so I'll just replace with 100 -- it's a small detail that won't kill anyone.

from velociraptor-stf.

rtobar avatar rtobar commented on August 26, 2024

@davidharvey1986 just pushed a further commit to the issue-126 branch, please let me know if that works.

from velociraptor-stf.

davidharvey1986 avatar davidharvey1986 commented on August 26, 2024

This has now compiled. Thank you for your help!

from velociraptor-stf.

rtobar avatar rtobar commented on August 26, 2024

Great, I'll merge as soon as I get back to my laptop.

from velociraptor-stf.

rtobar avatar rtobar commented on August 26, 2024

Merged to master now, thanks!

from velociraptor-stf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.