-
Notifications
You must be signed in to change notification settings - Fork 142
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
Can't build on Windows because onig_sys doesn't build on Windows #48
Comments
I can't get the
I could build |
This is due to this bug: rust-onig/rust-onig#35 I think the underlying problem is that oniguruma is designed to be built with a different batch file on Windows and not with CMake. This could be fixed either by making onig_sys use that batch file, or making CMake work on windows. I won't be able to do anything about this since I don't have a Windows machine and my model for how building and linking C code on that platform works is "it doesn't". |
onig_sys v61.1.0
I just build it thanks to @iwillspeak, which just did a fix on the build system replacing
Currently as it is not released on the public version of To build is necessary to:
|
Somehow it is building now at: |
in Dockerfile,i just "cargo -V && cargo install bat" for test
why? @shepmaster |
I don’t understand; why are you asking me? |
@shepmaster 😂 what should i do? 😭 |
I have no idea why you're asking him, he has nothing to do with this. This is an issue with onig no longer building without clang. This seems to still be an issue and is waiting on rust-onig/rust-onig#126. In the mean time @lgd8069465 you should maybe be able to work around it by installing clang in your container before you try building syntect. Please do not bug anyone else about your issue. |
@trishume @shepmaster 😂 i am so sorry,my bad,thanks anyway |
@trishume can you help me ? please. |
@lgd8069465 how to reproduce your problem in a vanilla operational system? |
@evandrocoan there are my step, thank you so much! please help me! |
for reference only, plaese see here |
My solution is just find out the path containing required libs(For Windows it's libclang.dll) and add it to environment variable |
This issue can be closed with motivation: Re-opened due to comment by lgd8069465 (#48 (comment)), but the last comment by lgd8069465 is that the problem is resolved (#48 (comment)). Besides, one can use regex-fancy nowadays. (Thanks for the help @keith-hall 🙏 , here is another one.) |
error: failed to run custom build command for
onig_sys v61.1.0
I am compiling the rust program https://github.com/trishume/syntect by running
make packs
. However it throws the error:Why the https://github.com/kkos/oniguruma is not compiling?
I ran
cargo build -vv
and got this most all the log:The text was updated successfully, but these errors were encountered: