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

IfcOpenBot seems to build with WITH_IFCXML not set? #1404

Closed
Moult opened this issue Mar 27, 2021 · 2 comments
Closed

IfcOpenBot seems to build with WITH_IFCXML not set? #1404

Moult opened this issue Mar 27, 2021 · 2 comments

Comments

@Moult
Copy link
Contributor

Moult commented Mar 27, 2021

Initially mentioned by @CyrilWaechter in #854 I also noticed that ifcopenshell.ifcopenshell_wrapper.parse_ifcxml doesn't exist after a user tried to import an IFCXML file. Is this due to a build setting with IfcOpenBot?

aothms added a commit that referenced this issue Mar 27, 2021
@aothms
Copy link
Member

aothms commented Mar 27, 2021

Very strange. Has this ever worked? It seems that SWIG does not generate the wrapper function (my guess is due to a change in SWIG when upgrading to 4?) The only way I got it to work (and which is maybe better) is to always generate the function but throw an exception when compiled without XML.

@aothms aothms closed this as completed Mar 27, 2021
@Moult
Copy link
Contributor Author

Moult commented Mar 27, 2021

Thanks so much! It did work in the past once a upon a time :)

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