-
Notifications
You must be signed in to change notification settings - Fork 59
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
Not compiled #9
Comments
Ok. I switched on nightly, but the problem with the compilation tantivy-cli on Windows preserved: D:\Projects>cargo install tantivy-cli Caused by:
|
D:\Projects>cargo -V D:\Projects>rustc --version |
Yes you are right. tantivy-cli was always compiling with simd compression. If you checkout "develop", now you should be able to compile now with
I think at one point, maybe you might want to consider setting up GCC or msvc properly if you want |
Ok. I just do not know how to do it, I will study. For its part, I encourage you to maximally facilitate the compilation process. Now a high threshold of entry into the project. |
I committed a fix yesterday so that "--no-default-features" also has an effect on tantivy-cli. Please checkout the last version of develop and try to compile it. I understand your frustration, but it works out of the box if you have a C++ compiler properly configured on your machine. This is quite usual for developers working on MacOS or Windows. I will consider making nosimdcompression the default though. |
cargo build --no-default-features |
Cool! |
What is right? D:\Projects\tantivy-cli>gcc -v |
I have it already in use |
Can you send me the output of
? |
D:\Projects\tantivy-cli>cargo build Build failed, waiting for other jobs to finish... Не удается найти указанный файл = Can not find the file specified |
D:\Projects\tantivy-cli>cargo -V |
Also can you tell send me the result of
|
hmmm... Come to think about it, your problem is probably that you need |
C:\Users\chvl.cargo\registry\src\github.com-1ecc6299db9ec823\tantivy-0.2.0\cpp>dir /s>filelist.txt |
In the file is a small problem with the encoding, but this is not essential. |
Can you run
from the cpp/simdcomp directory and tell me if |
nmake |
"Nmake" is not an internal or external command, operable program or batch file. |
Well, I am afraid |
In general, my need to deal with the compilation of this library on Windows. Correctly? |
I don't understand your sentence. |
Okay, it does not matter. |
In any case, thank you. |
D:\Projects>cargo install tantivy-cli
Updating registry
https://github.com/rust-lang/crates.io-index
Compiling httparse v1.2.1
Compiling libc v0.2.19
Compiling ansi_term v0.9.0
Compiling unicode-normalization v0.1.3
Compiling modifier v0.1.0
Compiling memchr v0.1.11
Compiling traitobject v0.0.1
Compiling num_cpus v1.2.1
Compiling ansi_term v0.8.0
Compiling aho-corasick v0.5.3
Compiling strsim v0.5.2
Compiling utf8-ranges v0.1.3
Compiling itoa v0.1.1
Compiling typeable v0.1.2
Compiling dtoa v0.2.2
Compiling byteorder v0.4.2
Compiling traitobject v0.0.3
Compiling unsafe-any v0.4.1
Compiling error v0.1.9
Compiling rand v0.3.15
Compiling unicode-width v0.1.4
Compiling itertools v0.4.19
Compiling matches v0.1.4
Compiling regex-syntax v0.3.9
Compiling unicode-bidi v0.2.4
Compiling sequence_trie v0.0.13
Compiling bitflags v0.7.0
Compiling lazy_static v0.1.16
Compiling log v0.3.6
Compiling tempdir v0.3.5
Compiling rustc-serialize v0.3.22
Compiling mime v0.2.2
Compiling hpack v0.2.0
Compiling vec_map v0.6.0
Compiling serde v0.8.21
Compiling crossbeam v0.2.10
Compiling chan v0.1.18
Compiling byteorder v0.5.3
Compiling typemap v0.3.3
Compiling plugin v0.2.6
Compiling winapi-build v0.1.1
Compiling getopts v0.2.14
Compiling semver v0.1.20
Compiling solicit v0.4.4
Compiling conduit-mime-types v0.7.3
Compiling rustc_version v0.1.7
Compiling pulldown-cmark v0.0.3
Compiling unicase v1.4.0
Compiling tempfile v2.1.4
Compiling num-traits v0.1.36
Compiling winapi v0.2.8
Compiling serde_json v0.8.4
Compiling skeptic v0.6.1
Compiling num-integer v0.1.32
Compiling num-complex v0.1.35
Compiling num-iter v0.1.32
Compiling num-bigint v0.1.35
Compiling idna v0.1.0
Compiling kernel32-sys v0.2.2
Compiling ascii v0.7.1
Compiling combine v2.0.0
Compiling num-rational v0.1.35
Compiling url v1.2.4
Compiling num v0.1.36
Compiling serde v0.6.15
Compiling uuid v0.1.18
Compiling num_cpus v0.2.13
Compiling unicode-segmentation v0.1.3
Compiling gcc v0.3.41
Compiling bincode v0.4.1
Compiling language-tags v0.2.2
Compiling lz4 v1.20.0
Compiling lz4-sys v1.0.1+1.7.3
Compiling tantivy v0.2.0
Build failed, waiting for other jobs to finish...
error: failed to compile
tantivy-cli v0.2.0
, intermediate artifacts can be found atC:\Users\chvl\AppData\Local\Temp\cargo-install.x08urL3FwU1p
Caused by:
failed to run custom build command for
tantivy v0.2.0
process didn't exit successfully:
C:\Users\chvl\AppData\Local\Temp\cargo-install.x08urL3FwU1p\release\build\tantivy-55cf4812ba42e161\build-script-build
(exit code: 101)--- stderr
thread 'main' panicked at 'Failed to make simdcomp: Не удается найти указанный файл. (os error 2)', C:\Users\chvl.cargo\registry\src\github.com-1ecc6299db9ec823\tantivy-0.2.0\build.rs:11
note: Run with
RUST_BACKTRACE=1
for a backtrace.D:\Projects>cargo -V
cargo 0.15.0-nightly (298a012 2016-12-20)
D:\Projects>rustc --version
rustc 1.14.0 (e8a012324 2016-12-16)
Help me please
The text was updated successfully, but these errors were encountered: