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

Build files with swig 3.0.3 (osx yosemite) #13

Closed
ffont opened this issue Jan 20, 2015 · 2 comments
Closed

Build files with swig 3.0.3 (osx yosemite) #13

ffont opened this issue Jan 20, 2015 · 2 comments

Comments

@ffont
Copy link
Member

ffont commented Jan 20, 2015

Hey,
I realised building gaia fails on osx yosemite when using swig 3.0.3.
I had to rollback swig to 3.0.2 to fix the issue.

@ffont
Copy link
Member Author

ffont commented Apr 20, 2015

I pushed a fix for this issue in "fix_issue_13" branch.
Apparently swig's error reporting policy changed in swig>=3.0.3 (http://www.swig.org/Doc3.0/SWIGDocumentation.html#Python_nn42), and thus it started complaining about unknown SWIG preprocessor directives because of some comments in our source files using python syntax.
I applied fixes in src/bindings/frozendataset.i and src/bindings/pythonic.i so that gaia (with-python) complies with swig>=3.0.3.
Only tested on OSX yosemite.

@dbogdanov
Copy link
Member

This fixes compilation but when using in python import gaia2 fails because of "/* */"

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