Advertisement
Guest User

x32 vars paste

a guest
Oct 29th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.29 KB | None | 0 0
  1. PS Z:\Rust> git clone https://github.com/tomaka/android-rs-glue.git
  2. Cloning into 'android-rs-glue'...
  3. remote: Enumerating objects: 12, done.
  4. remote: Counting objects: 100% (12/12), done.
  5. remote: Compressing objects: 100% (12/12), done.
  6. remote: Total 1410 (delta 4), reused 4 (delta 0), pack-reused 1398
  7. Receiving objects: 100% (1410/1410), 359.84 KiB | 2.09 MiB/s, done.
  8. Resolving deltas: 100% (760/760), done.
  9. PS Z:\Rust> cd .\android-rs-glue\
  10. PS Z:\Rust\android-rs-glue> ../vcvars.ps1
  11.  
  12. Security warning
  13. Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
  14. computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
  15. message. Do you want to run Z:\Rust\vcvars.ps1?
  16. [D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): r
  17.  
  18. Visual Studio 2017 Command Prompt variables set.
  19. PS Z:\Rust\android-rs-glue> cd .\cargo-apk\
  20. PS Z:\Rust\android-rs-glue\cargo-apk> cargo build
  21. Compiling gcc v0.3.45
  22. Compiling pkg-config v0.3.9
  23. Compiling winapi-build v0.1.1
  24. Compiling unicode-xid v0.0.4
  25. Compiling matches v0.1.4
  26. Compiling libc v0.2.21
  27. Compiling unicode-normalization v0.1.4
  28. Compiling void v1.0.2
  29. Compiling winapi v0.2.8
  30. Compiling quote v0.3.15
  31. Compiling lazy_static v0.2.8
  32. Compiling rustc-demangle v0.1.4
  33. Compiling cfg-if v0.1.0
  34. Compiling utf8-ranges v1.0.0
  35. Compiling itoa v0.3.1
  36. Compiling bitflags v0.7.0
  37. Compiling serde v1.0.10
  38. Compiling dtoa v0.4.1
  39. Compiling num-traits v0.1.40
  40. Compiling regex-syntax v0.4.1
  41. Compiling strsim v0.6.0
  42. Compiling semver-parser v0.7.0
  43. Compiling log v0.3.7
  44. Compiling rustc-serialize v0.3.24
  45. Compiling scoped-tls v0.1.0
  46. Compiling crossbeam v0.2.10
  47. Compiling glob v0.2.11
  48. Compiling shell-escape v0.1.3
  49. Compiling unicode-bidi v0.2.5
  50. Compiling unreachable v1.0.0
  51. Compiling memchr v1.0.1
  52. Compiling rand v0.3.15
  53. Compiling filetime v0.1.10
  54. Compiling num_cpus v1.3.0
  55. Compiling synom v0.11.3
  56. Compiling kernel32-sys v0.2.2
  57. Compiling dbghelp-sys v0.2.0
  58. Compiling ws2_32-sys v0.2.1
  59. error: linking with `link.exe` failed: exit code: 1112
  60. |
  61. = note: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x86\link.exe" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\dbghelp-sys-4b56dc860e39c07a\build_script_build-4b56dc860e39c07a.build_script_build.bf87cst7-cgu.0.rcgu.o" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\dbghelp-sys-4b56dc860e39c07a\build_script_build-4b56dc860e39c07a.build_script_build.bf87cst7-cgu.1.rcgu.o" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\dbghelp-sys-4b56dc860e39c07a\build_script_build-4b56dc860e39c07a.build_script_build.bf87cst7-cgu.2.rcgu.o" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\dbghelp-sys-4b56dc860e39c07a\build_script_build-4b56dc860e39c07a.build_script_build.bf87cst7-cgu.3.rcgu.o" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\dbghelp-sys-4b56dc860e39c07a\build_script_build-4b56dc860e39c07a.build_script_build.bf87cst7-cgu.4.rcgu.o" "/OUT:Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\dbghelp-sys-4b56dc860e39c07a\build_script_build-4b56dc860e39c07a.exe" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\dbghelp-sys-4b56dc860e39c07a\build_script_build-4b56dc860e39c07a.4oo1lt53tc3fwcpa.rcgu.o" "/OPT:REF,NOICF" "/DEBUG" "/NATVIS:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\etc\intrinsic.natvis" "/NATVIS:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\etc\liballoc.natvis" "/NATVIS:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\etc\libcore.natvis" "/LIBPATH:Z:\Rust\android-rs-glue\cargo-apk\target\debug\deps" "/LIBPATH:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\deps\libbuild-1bf9918a0d747c07.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libstd-eb2764e7599d44d6.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libpanic_unwind-98771610813f1e7d.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libunwind-568eb07a37e5152e.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liblibc-eab0816c791a8025.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liballoc_system-4aea8bbedc9d7a73.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liballoc-6a477b65ca608a47.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libcore-94dbdc896b1fa5c2.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libcompiler_builtins-a636ce5b66a7c967.rlib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "shell32.lib" "msvcrt.lib"
  62. = note: msvcrt.lib(chkstk.obj) : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'
  63.  
  64.  
  65. error: aborting due to previous error
  66.  
  67. error: linking with `link.exe` failed: exit code: 1112
  68. |
  69. = note: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x86\link.exe" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\kernel32-sys-8b44576a4b2eaf79\build_script_build-8b44576a4b2eaf79.build_script_build.3fexxah5-cgu.0.rcgu.o" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\kernel32-sys-8b44576a4b2eaf79\build_script_build-8b44576a4b2eaf79.build_script_build.3fexxah5-cgu.1.rcgu.o" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\kernel32-sys-8b44576a4b2eaf79\build_script_build-8b44576a4b2eaf79.build_script_build.3fexxah5-cgu.2.rcgu.o" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\kernel32-sys-8b44576a4b2eaf79\build_script_build-8b44576a4b2eaf79.build_script_build.3fexxah5-cgu.3.rcgu.o" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\kernel32-sys-8b44576a4b2eaf79\build_script_build-8b44576a4b2eaf79.build_script_build.3fexxah5-cgu.4.rcgu.o" "/OUT:Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\kernel32-sys-8b44576a4b2eaf79\build_script_build-8b44576a4b2eaf79.exe" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\kernel32-sys-8b44576a4b2eaf79\build_script_build-8b44576a4b2eaf79.58volyfkpy7jzocm.rcgu.o" "/OPT:REF,NOICF" "/DEBUG" "/NATVIS:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\etc\intrinsic.natvis" "/NATVIS:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\etc\liballoc.natvis" "/NATVIS:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\etc\libcore.natvis" "/LIBPATH:Z:\Rust\android-rs-glue\cargo-apk\target\debug\deps" "/LIBPATH:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\deps\libbuild-1bf9918a0d747c07.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libstd-eb2764e7599d44d6.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libpanic_unwind-98771610813f1e7d.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libunwind-568eb07a37e5152e.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liblibc-eab0816c791a8025.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liballoc_system-4aea8bbedc9d7a73.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liballoc-6a477b65ca608a47.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libcore-94dbdc896b1fa5c2.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libcompiler_builtins-a636ce5b66a7c967.rlib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "shell32.lib" "msvcrt.lib"
  70. = note: msvcrt.lib(chkstk.obj) : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'
  71.  
  72.  
  73. error: aborting due to previous error
  74.  
  75. error: Could not compile `dbghelp-sys`.
  76. warning: build failed, waiting for other jobs to finish...
  77. error: Could not compile `kernel32-sys`.
  78. warning: build failed, waiting for other jobs to finish...
  79. error: linking with `link.exe` failed: exit code: 1112
  80. |
  81. = note: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x86\link.exe" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\ws2_32-sys-cdd5de2614de755b\build_script_build-cdd5de2614de755b.build_script_build.3ulw8j80-cgu.0.rcgu.o" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\ws2_32-sys-cdd5de2614de755b\build_script_build-cdd5de2614de755b.build_script_build.3ulw8j80-cgu.1.rcgu.o" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\ws2_32-sys-cdd5de2614de755b\build_script_build-cdd5de2614de755b.build_script_build.3ulw8j80-cgu.2.rcgu.o" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\ws2_32-sys-cdd5de2614de755b\build_script_build-cdd5de2614de755b.build_script_build.3ulw8j80-cgu.3.rcgu.o" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\ws2_32-sys-cdd5de2614de755b\build_script_build-cdd5de2614de755b.build_script_build.3ulw8j80-cgu.4.rcgu.o" "/OUT:Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\ws2_32-sys-cdd5de2614de755b\build_script_build-cdd5de2614de755b.exe" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\build\ws2_32-sys-cdd5de2614de755b\build_script_build-cdd5de2614de755b.4bbvhv0xcj823zhj.rcgu.o" "/OPT:REF,NOICF" "/DEBUG" "/NATVIS:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\etc\intrinsic.natvis" "/NATVIS:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\etc\liballoc.natvis" "/NATVIS:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\etc\libcore.natvis" "/LIBPATH:Z:\Rust\android-rs-glue\cargo-apk\target\debug\deps" "/LIBPATH:C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib" "Z:\Rust\android-rs-glue\cargo-apk\target\debug\deps\libbuild-1bf9918a0d747c07.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libstd-eb2764e7599d44d6.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libpanic_unwind-98771610813f1e7d.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libunwind-568eb07a37e5152e.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liblibc-eab0816c791a8025.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liballoc_system-4aea8bbedc9d7a73.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\liballoc-6a477b65ca608a47.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libcore-94dbdc896b1fa5c2.rlib" "C:\Users\user\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib\libcompiler_builtins-a636ce5b66a7c967.rlib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "shell32.lib" "msvcrt.lib"
  82. = note: msvcrt.lib(chkstk.obj) : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'
  83.  
  84.  
  85. error: aborting due to previous error
  86.  
  87. error: Could not compile `ws2_32-sys`.
  88. warning: build failed, waiting for other jobs to finish...
  89. error: build failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement