Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX: How to reference boost library #794

Open
JJHelly opened this issue May 24, 2024 · 9 comments
Open

OSX: How to reference boost library #794

JJHelly opened this issue May 24, 2024 · 9 comments

Comments

@JJHelly
Copy link

JJHelly commented May 24, 2024

Aloha.
I've been stumbling around trying to find out how to build the 'tests'. I've installed boost (apparently) in /usr/local/boost_1_85_0 but can't quite grok how to get cmake to notice it.

Any advice would be welcome.

J

@0tkl
Copy link
Contributor

0tkl commented May 29, 2024

brew install boost

@JJHelly
Copy link
Author

JJHelly commented May 29, 2024 via email

@0tkl
Copy link
Contributor

0tkl commented May 29, 2024

Does LD_LIBRARY_PATH=/usr/local/boost_1_85_0:$LD_LIBRARY_PATH cmake <arguments> work?

@JJHelly
Copy link
Author

JJHelly commented May 29, 2024 via email

@JJHelly
Copy link
Author

JJHelly commented May 29, 2024 via email

@LRossman
Copy link
Collaborator

You do realize that the unit tests and regression tests are run whenever you submit a pull request. Personally I've never bothered to install Boost and build the unit test executables locally. Instead I work with a fork of the repo, make my code changes on it, submit a PR for them and then review the Appveyor report of the test results.

@JJHelly
Copy link
Author

JJHelly commented May 29, 2024 via email

@LRossman
Copy link
Collaborator

I'd say the tests are more important for developers than for users since they are so artificial in nature (they just check that the various API functions do what they are supposed to do).

If you want to learn how to use the API then you should read its documentation. It includes several more useful examples than the unit tests. If you want to learn more in general about EPANET then you should read the US EPA's User Manual.

@JJHelly
Copy link
Author

JJHelly commented May 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants