Skip to content

Some fixes for Windows with Anaconda#23

Open
AlexanderFabisch wants to merge 1 commit into
masterfrom
windows
Open

Some fixes for Windows with Anaconda#23
AlexanderFabisch wants to merge 1 commit into
masterfrom
windows

Conversation

@AlexanderFabisch

Copy link
Copy Markdown
Owner

Required packages:

conda install cython
conda install -c statiskit clang
conda install -c statiskit python-clang

There are some issues at the moment:

  • the C++ compiler does not seem to be set correctly (error: Unable to find vcvarsall.bat)
  • standard lib headers are not available (cmath, vector, ...)

def test_find_clang():
CLANG_VERSION, CLANG_INCDIR = find_clang(set_library_path=False, verbose=2)
assert_in(CLANG_VERSION, ["3.5", "3.6", "3.7", "3.8"]) No newline at end of file
assert_in(CLANG_VERSION, SUPPORTED_VERSIONS) No newline at end of file

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not totally correct any more because only the major and minor version is returned.

Comment thread pywrap/libclang.py

python-clang does not know where to find libclang, so we have to do this
here almost manually.
"""

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Document parameters?

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

Successfully merging this pull request may close these issues.

1 participant