Code Monkey home page Code Monkey logo

Comments (4)

git4wht avatar git4wht commented on May 31, 2024

错误log

warning: unused import: std::fs
--> build.rs:2:5
|
2 | use std::fs;
| ^^^^^^^
|
= note: #[warn(unused_imports)] on by default

Compiling log v0.3.9 (registry https://mirrors.ustc.edu.cn/crates.io-index/)
Compiling aho-corasick v0.6.4 (registry https://mirrors.ustc.edu.cn/crates.io-index/)
error: failed to run custom build command for 3dtile v0.1.0 (file:///H:/Map/workspace/3dtiles)
process didn't exit successfully: H:\Map\workspace\3dtiles\target\release\build\3dtile-c61bd21b20bea509\build-script-build (exit code: 101)
--- stderr
thread 'main' panicked at '

Internal error occurred: Command "D:\Tool\VS\VS2015\VC\BIN\amd64\cl.exe" "/nologo" "/MD" "/O2" "/I" "./src" "/I" "./src/osg" "-Zi" "-Gm" "-INCREMENTAL" "/DWIN32" "/FoH:\Map\workspace\3dtiles\target\release\build\3dtile-3a25407e9c09e7ef\out\./src\shp23dtile.o" "/c" "./src/shp23dtile.cpp" with args "cl.exe" did not execute successfully (status code exit code: 2).

', H:\Map\tools\cargo\registry\src\mirrors.ustc.edu.cn-b63e9dae659fc205\cc-1.0.15\src\lib.rs:2158:5
stack backtrace:
0: std::sys::windows::backtrace::unwind_backtrace
at C:\projects\rust\src\libstd\sys\windows\backtrace\mod.rs:65
1: std::sys_common::backtrace::_print
at C:\projects\rust\src\libstd\sys_common\backtrace.rs:71
2: std::sys_common::backtrace::print
at C:\projects\rust\src\libstd\sys_common\backtrace.rs:59
3: std::panicking::default_hook::{{closure}}
at C:\projects\rust\src\libstd\panicking.rs:380
4: std::panicking::default_hook
at C:\projects\rust\src\libstd\panicking.rs:396
5: std::panicking::rust_panic_with_hook
at C:\projects\rust\src\libstd\panicking.rs:576
6: std::panicking::begin_panicalloc::string::String
at C:\projects\rust\src\libstd\panicking.rs:537
7: std::panicking::begin_panic_fmt
at C:\projects\rust\src\libstd\panicking.rs:521
8: cc::Tool::to_command
9: cc::Build::compile
10:
11: <alloc::arc::Arc>::drop_slow
12: std::rt::lang_start_internal::{{closure}}
at C:\projects\rust\src\libstd\rt.rs:59
13: std::panicking::try::do_call<closure,i32>
at C:\projects\rust\src\libstd\panicking.rs:479
14: panic_unwind::__rust_maybe_catch_panic
at C:\projects\rust\src\libpanic_unwind\lib.rs:102
15: std::panicking::try
at C:\projects\rust\src\libstd\panicking.rs:458
16: std::panic::catch_unwind
at C:\projects\rust\src\libstd\panic.rs:358
17: std::rt::lang_start_internal
at C:\projects\rust\src\libstd\rt.rs:58
18: main
19: invoke_main
at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:64
20: __scrt_common_main_seh
at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253
21: BaseThreadInitThunk
22: RtlUserThreadStart

warning: build failed, waiting for other jobs to finish...
error: build failed

from 3dtiles.

fanvanzh avatar fanvanzh commented on May 31, 2024

参见
编译指南

1、是否是 git clone的
2、vs2015 是不是 update3 的,由于代码里使用了部分 c++11, update3 才完全支持。

from 3dtiles.

git4wht avatar git4wht commented on May 31, 2024

我的环境是满足条件的,但是log中出现了【C:\projects\rust\src\libstd\】【f:\dd\vctools\crt\vcstartup\】是在我的机器上不存在的路径,这点很奇怪。

from 3dtiles.

fanvanzh avatar fanvanzh commented on May 31, 2024

这是编译器的源码目录

from 3dtiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.