tkonolige / city2ba Goto Github PK
View Code? Open in Web Editor NEWTools for generating synthetic bundle adjustment datasets
License: BSD 2-Clause "Simplified" License
Tools for generating synthetic bundle adjustment datasets
License: BSD 2-Clause "Simplified" License
Hi, I just came across your tool. This looks very interesting, thanks for sharing!
I'm wondering if you have a collection pre-generated BAL problems from this tool and/or .obj assets for testing BA problems that you'd be willing to share?
❯ cargo install city2ba
Updating crates.io index
Installing city2ba v1.1.0
Compiling autocfg v1.1.0
Compiling winapi v0.3.9
Compiling proc-macro2 v1.0.36
Compiling unicode-xid v0.2.2
Compiling version_check v0.9.4
Compiling syn v1.0.86
Compiling serde_derive v1.0.136
Compiling serde v1.0.136
Compiling rand_core v0.4.2
Compiling memchr v2.4.1
Compiling lazy_static v1.4.0
Compiling cfg-if v1.0.0
Compiling crossbeam-utils v0.8.7
Compiling semver v1.0.6
Compiling serde_json v1.0.79
Compiling camino v1.0.7
Compiling crossbeam-epoch v0.9.7
Compiling itoa v1.0.1
Compiling pulldown-cmark v0.9.1
Compiling ryu v1.0.9
Compiling scopeguard v1.1.0
Compiling unicode-width v0.1.9
Compiling fastrand v1.7.0
Compiling libm v0.1.4
Compiling bitflags v1.3.2
Compiling rayon-core v1.9.1
Compiling typenum v1.15.0
Compiling bytecount v0.6.2
Compiling libc v0.2.119
Compiling glob v0.3.0
Compiling unicode-segmentation v1.9.0
Compiling either v1.6.1
Compiling lexical-core v0.7.6
Compiling regex-syntax v0.6.25
Compiling peg-runtime v0.6.3
Compiling num_cpus v1.13.1
Compiling cgmath v0.17.0
Compiling embree-rs v0.3.6
Compiling static_assertions v1.1.0
Compiling arrayvec v0.5.2
Compiling rawpointer v0.2.1
Compiling once_cell v1.10.0
Compiling vec_map v0.8.2
Compiling strsim v0.8.0
Compiling encode_unicode v0.3.6
Compiling byteorder v1.4.3
Compiling linked-hash-map v0.5.4
Compiling pdqselect v0.1.1
Compiling number_prefix v0.3.0
Compiling modulo v0.1.2
Compiling city2ba v1.1.0
Compiling tobj v0.1.12
Compiling disjoint-sets v0.4.2
Compiling rand_core v0.3.1
Compiling autocfg v0.1.8
Compiling textwrap v0.11.0
Compiling unicase v2.6.0
Compiling error-chain v0.12.4
Compiling proc-macro-error-attr v1.0.4
Compiling proc-macro-error v1.0.4
Compiling nom v5.1.2
Compiling num-traits v0.2.14
Compiling memoffset v0.6.5
Compiling num-complex v0.2.4
Compiling rayon v1.5.1
Compiling itertools v0.8.2
Compiling matrixmultiply v0.2.4
Compiling heck v0.3.3
Compiling rand_hc v0.1.0
Compiling rand_isaac v0.1.1
Compiling rand_xorshift v0.1.1
Compiling rand_pcg v0.1.2
Compiling rand_chacha v0.1.1
Compiling rand v0.6.5
Compiling regex v1.5.5
Compiling crossbeam-channel v0.5.2
Compiling quote v1.0.15
Compiling crossbeam-deque v0.8.1
Compiling peg-macros v0.6.3
Compiling generic-array v0.12.4
Compiling approx v0.3.2
Compiling num-traits v0.1.43
Compiling rstar v0.7.1
Compiling sphere v0.3.0
Compiling alga v0.8.2
Compiling peg v0.6.3
Compiling winapi-util v0.1.5
Compiling remove_dir_all v0.5.3
Compiling rand_os v0.1.3
Compiling rand_jitter v0.1.4
Compiling atty v0.2.14
Compiling terminal_size v0.1.17
Compiling tempfile v3.3.0
Compiling same-file v1.0.6
Compiling clap v2.34.0
Compiling console v0.15.0
Compiling walkdir v2.3.2
Compiling indicatif v0.14.0
Compiling poisson v0.10.1
Compiling nalgebra v0.17.3
Compiling structopt-derive v0.4.18
Compiling structopt v0.3.26
Compiling geo v0.4.13
Compiling cargo-platform v0.1.2
Compiling line_intersection v0.4.0
Compiling cargo_metadata v0.14.2
Compiling skeptic v0.13.7
Compiling ply-rs v0.1.3
error: linking with `link.exe` failed: exit code: 1181
|
= note: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\amd64\\link.exe" "/NOLOGO" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.0.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.1.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.10.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.11.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.12.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.13.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.14.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.15.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.2.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.3.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.4.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.5.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.6.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.7.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.8.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.city2ba.1246947e-cgu.9.rcgu.o" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.2xic7lz667pgza8l.rcgu.o" "/LIBPATH:C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps" "/LIBPATH:C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libply_rs-c3560de3e505a158.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libpeg-0613bfa075163de7.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libpeg_runtime-e4e998da43fa58ac.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\liblinked_hash_map-51b064f25e2d5355.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libcity2ba-4626ab3f19e7d32e.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libline_intersection-92f090850d62c007.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libgeo-9906dae871c83ab9.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libserde-ae937c3b3c3a6876.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libtobj-39b5b45c7634175a.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libstructopt-dc5a22e9d4a1b324.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libclap-12130fdf49205429.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libvec_map-a6ba4f6f6bf59ab6.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libtextwrap-8f04b0aff7acfa3b.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libstrsim-52b652b04b631c16.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libatty-4f20df4712987ce1.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\librstar-098aba50fa930846.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libpdqselect-f6e1169acec76c7f.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libpoisson-bf8b2c3cad7e49f2.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libmodulo-936843380bccad96.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libsphere-69c1ba0063b47211.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libnum_traits-5fdbe985a3a265a7.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libnalgebra-417208ad6458f75f.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libalga-e34e2b0aaaed1e56.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libnum_complex-0fd761c6aa2f6eca.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libmatrixmultiply-6f398a64a69d777b.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\librawpointer-85485b69167a41af.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libgeneric_array-59472398ec16c546.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libtypenum-bac6b802827fdea6.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libindicatif-e5593b60ea24deec.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libconsole-90f60829a5323fe3.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libterminal_size-d0039eeda387fa39.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libregex-307fee96935a1140.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libregex_syntax-a6ebe894989c36dc.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libencode_unicode-1eea68aabbf0dc90.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libunicode_width-bf22581ec09e7032.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libonce_cell-58566d0a303e09e1.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\librayon-4bd65399ec1b06d2.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\librayon_core-474d2d670907e549.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libnum_cpus-e293252f5f0043f5.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libcrossbeam_deque-e0144b18371d194d.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libcrossbeam_epoch-a97fea227c94532b.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libmemoffset-d10e861c09a8498d.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libscopeguard-34891181b6f29b7c.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libcrossbeam_channel-112cce3f81cba8eb.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libcrossbeam_utils-22d05e790a24c32e.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\liblazy_static-274044cadaed1c64.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libnumber_prefix-156c3a8e777cd917.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libembree_rs-4c199476089a48a9.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libnom-67a1765f1a423c17.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\liblexical_core-d2476b121d72c60e.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libbitflags-6f19ec4e4b9f9c3b.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libryu-1a8c52b31583f05a.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libstatic_assertions-c46b787951d20792.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libarrayvec-baa903a51c3570fe.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libcfg_if-e9ba1d238e955bdd.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libmemchr-4de3a1929fcc903c.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libdisjoint_sets-d1d4c7510c4c67f2.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libbyteorder-e38d01e13a75a0bb.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libitertools-67ed2c5abbc056bd.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libeither-faae6f3f0716340a.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libcgmath-c72c7083de9c22bd.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\librand-7ec2cded850bcb71.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\librand_xorshift-9cc5134fecdb9eea.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\librand_pcg-65e4e8d4d0e8a88a.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\librand_hc-9bff214c333a76ca.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\librand_chacha-1348fd55cb829ab7.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\librand_isaac-5b88955715eeacc0.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\librand_core-9b90847609b5831f.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\librand_os-27891dece0297185.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\librand_jitter-e4c6f000f0f25563.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libwinapi-eb194bac8cd20d5a.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\librand_core-0d57539c01520d8d.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libapprox-78c36cdcd2e70fbc.rlib" "C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\libnum_traits-94ebc869819efdd3.rlib" "C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-ca7b0c28ec762872.rlib" "C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libpanic_unwind-1b050a71ed5c4477.rlib" "C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd_detect-ba9f9c006950f110.rlib" "C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_demangle-4e228cbffbe5e3cd.rlib" "C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libhashbrown-d3d7c65121bb0d35.rlib" "C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_alloc-2cedaf2947cb8622.rlib" "C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-7d6cff0c7b8f0c2b.rlib" "C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcfg_if-63bdfcda4a65748c.rlib" "C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-c331c9d260094b22.rlib" "C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-34d0a2dd4a5dbc91.rlib" "C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_core-e7b8421abede5598.rlib" "C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-08b052fa5e861ac2.rlib" "C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-18761c3bc8f2e6ea.rlib" "embree3.lib" "advapi32.lib" "cfgmgr32.lib" "credui.lib" "gdi32.lib" "kernel32.lib" "msimg32.lib" "opengl32.lib" "secur32.lib" "user32.lib" "winspool.lib" "kernel32.lib" "ws2_32.lib" "bcrypt.lib" "advapi32.lib" "userenv.lib" "kernel32.lib" "msvcrt.lib" "/NXCOMPAT" "/LIBPATH:C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "/OUT:C:\\Users\\Robin\\AppData\\Local\\Temp\\cargo-install9luKdN\\release\\deps\\city2ba-eecdd99a8a1da1b2.exe" "/OPT:REF,ICF" "/DEBUG" "/NATVIS:C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\Robin\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis"
= note: Non-UTF-8 output: LINK : fatal error LNK1181: \xce\xde\xb7\xa8\xb4\xf2\xbf\xaa\xca\xe4\xc8\xeb\xce\xc4\xbc\xfe\xa1\xb0embree3.lib\xa1\xb1\r\n
error: failed to compile `city2ba v1.1.0`, intermediate artifacts can be found at `C:\Users\Robin\AppData\Local\Temp\cargo-install9luKdN`
Caused by:
could not compile `city2ba` due to previous error
My output after cargo test ist
running 14 tests
test test_line ... ok
test test_bal_output ... FAILED
test from_box_path ... FAILED
test noise_blocks ... FAILED
test synthetic_blocks ... FAILED
test from_box_path_ground ... FAILED
test from_box_path_step ... FAILED
test sin_noise ... ok
test test_drop_features ... ok
test normalized_drift ... ok
test test_split_landmarks ... ok
test test_join_landmarks ... ok
test incorrect_correspondences ... ok
test noise ... ok
failures:
---- test_bal_output stdout ----
thread 'test_bal_output' panicked at 'Unexpected failure.
code--1073741515
stderr=``````
command=`"D:\\Workspace\\Libraries\\city2ba\\target\\debug\\city2ba.exe" "synthetic" "C:\\Users\\Marc\\AppData\\Local\\Temp\\.tmppvAgMu\\blocks.bal"`
code=-1073741515
stdout=``````
stderr=``````
', C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\assert_cmd-0.12.2\src\assert.rs:154:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- from_box_path stdout ----
thread 'from_box_path' panicked at 'Unexpected failure.
code--1073741515
stderr=``````
command=`"D:\\Workspace\\Libraries\\city2ba\\target\\debug\\city2ba.exe" "generate" "D:\\Workspace\\Libraries\\city2ba\\tests/box.obj" "C:\\Users\\Marc\\AppData\\Local\\Temp\\.tmpegJ6Wk\\box.bal" "--cameras" "100" "--points" "100" "--path" "BezierCurve"`
code=-1073741515
stdout=``````
stderr=``````
', C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\assert_cmd-0.12.2\src\assert.rs:154:13
---- noise_blocks stdout ----
thread 'noise_blocks' panicked at 'Unexpected failure.
code--1073741515
stderr=``````
command=`"D:\\Workspace\\Libraries\\city2ba\\target\\debug\\city2ba.exe" "synthetic" "C:\\Users\\Marc\\AppData\\Local\\Temp\\.tmpp5pcBF\\blocks.bbal"`
code=-1073741515
stdout=``````
stderr=``````
', C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\assert_cmd-0.12.2\src\assert.rs:154:13
---- synthetic_blocks stdout ----
thread 'synthetic_blocks' panicked at 'Unexpected failure.
code--1073741515
stderr=``````
command=`"D:\\Workspace\\Libraries\\city2ba\\target\\debug\\city2ba.exe" "synthetic" "C:\\Users\\Marc\\AppData\\Local\\Temp\\.tmpe3wMQH\\blocks.bbal"`
code=-1073741515
stdout=``````
stderr=``````
', C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\assert_cmd-0.12.2\src\assert.rs:154:13
---- from_box_path_ground stdout ----
thread 'from_box_path_ground' panicked at 'Unexpected failure.
code--1073741515
stderr=``````
command=`"D:\\Workspace\\Libraries\\city2ba\\target\\debug\\city2ba.exe" "generate" "D:\\Workspace\\Libraries\\city2ba\\tests/box.obj" "C:\\Users\\Marc\\AppData\\Local\\Temp\\.tmpeiKCEj\\box.bal" "--cameras" "100" "--points" "100" "--ground" "-1.0"`
code=-1073741515
stdout=``````
stderr=``````
', C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\assert_cmd-0.12.2\src\assert.rs:154:13
---- from_box_path_step stdout ----
thread 'from_box_path_step' panicked at 'Unexpected failure.
code--1073741515
stderr=``````
command=`"D:\\Workspace\\Libraries\\city2ba\\target\\debug\\city2ba.exe" "generate" "D:\\Workspace\\Libraries\\city2ba\\tests/box.obj" "C:\\Users\\Marc\\AppData\\Local\\Temp\\.tmpXUIYws\\box.bal" "--cameras" "100" "--points" "100" "--path" "BezierCurve" "--step-size" "0.1"`
code=-1073741515
stdout=``````
stderr=``````
', C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\assert_cmd-0.12.2\src\assert.rs:154:13
I didnt install embree first though, but I dont think this is the issue. Seems like this wont work currently. Can anybody confirm this?
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\bigcomp.rs:243:55
|
243 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1);
| ^^^^^^^^^^^^^^^ expected `usize`, found `u32`
Compiling rayon v1.3.0
error[E0277]: no implementation for `usize & u32`
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\bigcomp.rs:243:53
|
243 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1);
| ^ no implementation for `usize & u32`
|
= help: the trait `BitAnd<u32>` is not implemented for `usize`
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\bigcomp.rs:261:40
|
261 | let (q, r) = shift.ceil_divmod(Limb::BITS);
| ^^^^^^^^^^ expected `usize`, found `u32`
|
help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
|
261 | let (q, r) = shift.ceil_divmod(Limb::BITS.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\bigint.rs:85:24
|
85 | let bytes = bits / Limb::BITS;
| ^^^^^^^^^^ expected `usize`, found `u32`
error[E0277]: cannot divide `usize` by `u32`
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\bigint.rs:85:22
|
85 | let bytes = bits / Limb::BITS;
| ^ no implementation for `usize / u32`
|
= help: the trait `Div<u32>` is not implemented for `usize`
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1045:42
|
1045 | let mut count = index.saturating_mul(Limb::BITS);
| ^^^^^^^^^^ expected `usize`, found `u32`
|
help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
|
1045 | let mut count = index.saturating_mul(Limb::BITS.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1060:28
|
1060 | Limb::BITS.checked_mul(x.len())
| ^^^^^^^ expected `u32`, found `usize`
|
help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit
|
1060 | Limb::BITS.checked_mul(x.len().try_into().unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1061:22
|
1061 | .map(|v| v - nlz)
| ^^^ expected `u32`, found `usize`
error[E0277]: cannot subtract `usize` from `u32`
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1061:20
|
1061 | .map(|v| v - nlz)
| ^ no implementation for `u32 - usize`
|
= help: the trait `Sub<usize>` is not implemented for `u32`
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1062:20
|
1062 | .unwrap_or(usize::max_value())
| ^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize`
|
help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit
|
1062 | .unwrap_or(usize::max_value().try_into().unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1060:5
|
1056 | pub fn bit_length(x: &[Limb]) -> usize {
| ----- expected `usize` because of return type
...
1060 | / Limb::BITS.checked_mul(x.len())
1061 | | .map(|v| v - nlz)
1062 | | .unwrap_or(usize::max_value())
| |______________________________________^ expected `usize`, found `u32`
|
help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
|
1060 | Limb::BITS.checked_mul(x.len())
1061 | .map(|v| v - nlz)
1062 | .unwrap_or(usize::max_value()).try_into().unwrap()
|
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1087:23
|
1087 | debug_assert!(n < bits && n != 0);
| ^^^^ expected `usize`, found `u32`
|
help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
|
1087 | debug_assert!(n < bits.try_into().unwrap() && n != 0);
| ^^^^^^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1094:25
|
1094 | let lshift = bits - n;
| ^ expected `u32`, found `usize`
error[E0277]: cannot subtract `usize` from `u32`
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1094:23
|
1094 | let lshift = bits - n;
| ^ no implementation for `u32 - usize`
|
= help: the trait `Sub<usize>` is not implemented for `u32`
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1135:19
|
1135 | let rem = n % bits;
| ^^^^ expected `usize`, found `u32`
error[E0277]: cannot mod `usize` by `u32`
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1135:17
|
1135 | let rem = n % bits;
| ^ no implementation for `usize % u32`
|
= help: the trait `Rem<u32>` is not implemented for `usize`
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1136:19
|
1136 | let div = n / bits;
| ^^^^ expected `usize`, found `u32`
error[E0277]: cannot divide `usize` by `u32`
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1136:17
|
1136 | let div = n / bits;
| ^ no implementation for `usize / u32`
|
= help: the trait `Div<u32>` is not implemented for `usize`
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1192:23
|
1192 | debug_assert!(n < bits);
| ^^^^ expected `usize`, found `u32`
|
help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit
|
1192 | debug_assert!(n < bits.try_into().unwrap());
| ^^^^^^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1202:25
|
1202 | let rshift = bits - n;
| ^ expected `u32`, found `usize`
error[E0277]: cannot subtract `usize` from `u32`
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1202:23
|
1202 | let rshift = bits - n;
| ^ no implementation for `u32 - usize`
|
= help: the trait `Sub<usize>` is not implemented for `u32`
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1254:19
|
1254 | let rem = n % bits;
| ^^^^ expected `usize`, found `u32`
error[E0277]: cannot mod `usize` by `u32`
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1254:17
|
1254 | let rem = n % bits;
| ^ no implementation for `usize % u32`
|
= help: the trait `Rem<u32>` is not implemented for `usize`
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1255:19
|
1255 | let div = n / bits;
| ^^^^ expected `usize`, found `u32`
error[E0277]: cannot divide `usize` by `u32`
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:1255:17
|
1255 | let div = n / bits;
| ^ no implementation for `usize / u32`
|
= help: the trait `Div<u32>` is not implemented for `usize`
error[E0308]: mismatched types
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:2066:27
|
2066 | let rs = Limb::BITS - s;
| ^ expected `u32`, found `usize`
error[E0277]: cannot subtract `usize` from `u32`
--> C:\Users\Marc\.cargo\registry\src\github.com-1ecc6299db9ec823\lexical-core-0.4.6\src\atof\algorithm\math.rs:2066:25
|
2066 | let rs = Limb::BITS - s;
| ^ no implementation for `u32 - usize`
|
= help: the trait `Sub<usize>` is not implemented for `u32`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.