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

Minimal version of swig? #18

Closed
mlindauer opened this issue May 9, 2017 · 3 comments
Closed

Minimal version of swig? #18

mlindauer opened this issue May 9, 2017 · 3 comments

Comments

@mlindauer
Copy link
Contributor

Hi,
on the nemo cluster, swig is installed in version 2.0.10 and the installation fails:

    swig -python -c++ -I${CMAKE_SOURCE_DIR}/include -I./include -o pyrfr/regression_wrap.cpp pyrfr/regression.i
    ./include/rfr/trees/binary_fanova_tree.hpp:329: Error: Syntax error in input(3).

On our machines, swig is running in version 3.0.
So, I wanted ask whether there is a minimal required version of SWIG for pyrfr?

Cheers,
Marius

@mlindauer
Copy link
Contributor Author

btw: in case someone has a problem with swig and uses anaconda, here is an easy solution:
conda install swig

@sfalkner
Copy link
Collaborator

sfalkner commented May 9, 2017

Yes you will need Swig >= 3.0. They added a lot of C++11 support in that version.
Thanks for the pointer to the swig-anaconda problem.

@sfalkner
Copy link
Collaborator

sfalkner commented Jul 9, 2017

fixed via 170cfc8

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