Skip to content

Boost install from IfcOpenShell not recognized #8

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

Closed
schaubli opened this issue Apr 1, 2022 · 2 comments
Closed

Boost install from IfcOpenShell not recognized #8

schaubli opened this issue Apr 1, 2022 · 2 comments

Comments

@schaubli
Copy link

schaubli commented Apr 1, 2022

I used some changes from #7 (props to @johltn) to fix the Visual Studio 2019 build.
Unfortunately the boost library from IFCOPENSHELL_ROOT aren't found even though the BOOST_ROOT and BOOST_LIBRARYDIR both resolve to the correct folders and the files are installed in the library folder. It also recognizes the correct version is 1.74.0 but not the individual components. Error message is: Could NOT find Boost (missing: regex iostreams system filesystem) (found version "1.74.0")
The BOOST_LIBRARYDIR points to the folder containing these files:

Screen Shot 2022-04-01 at 11 55 13

Is Boost expecting these files to have a different name, or what else could be causing this?
Please let me know if you need any other information that could help you help me with this issue.
Thank you!

@schaubli
Copy link
Author

schaubli commented Apr 1, 2022

Managed to solve this after setting to Boost_USE_STATIC_LIBS to ON which I had accidentally changed apparently.
With v0.7.0 IfcOpenShell, I also had to change IfcEntityList to aggregate_of_instance

@schaubli schaubli closed this as completed Apr 1, 2022
@aothms
Copy link
Member

aothms commented Apr 1, 2022

With v0.7.0 IfcOpenShell, I also had to change IfcEntityList to aggregate_of_instance

Correct, if you find the time to send in a Pull Request with some of the conditional fixes, it'd be highly appreciated.

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

2 participants