Skip to content

Commit 660c98f

Browse files
authored
Update README. (#6)
* Update README to specify conan 1. * Add troubleshooting tip.
1 parent bd7e8e0 commit 660c98f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ have added a conan remote with tket available for your system (there may be inst
77
this on the tket repository). For current tket releases, you will need gcc 11.
88
For bindgen and autocxx you need Clang.
99

10-
And install conan with `pip install conan`.
10+
And install conan with `pip install conan~=1.60`.
1111
After that `cargo build --release` should do the job (note release is needed for
1212
linking to work correctly). Make sure linking and loading is succesful with
1313
`cargo test --release`.
@@ -63,4 +63,5 @@ Environment variables:
6363
`LIBCLANG_PATH="${LLVM_PATH}/lib"`
6464
* Bindgen may still fail to find c++ headers, so you may need to also set
6565
`BINDGEN_EXTRA_CLANG_ARGS="-I${LLVM_PATH}/lib/clang/12.0.1/include/
66-
-L${LIBCLANG_PATH}"` (or other system header paths on the include)
66+
-L${LIBCLANG_PATH}"` (or other system header paths on the include)
67+
* On Ubuntu this may do the trick: `BINDGEN_EXTRA_CLANG_ARGS="-I/usr/include/c++/11 -I/usr/include/x86_64-linux-gnu/c++/11"`

0 commit comments

Comments
 (0)