Skip to content

could not compile #25

@JonteRaven

Description

@JonteRaven

How to replicate:

  • Use Windows
  • Install rust
  • Follow installation steps in the readme

Errors:

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\\rabej\\AppData\\Local\\Temp\\rustcXs56Xb\\symbols.o" "<2 object files omitted>" "<sysroot>\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib/{libstd-*,libpanic_unwind-*,libwindows_targets-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libunwind-*,libcfg_if-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "kernel32.lib" "kernel32.lib" "ntdll.lib" "userenv.lib" "ws2_32.lib" "dbghelp.lib" "/defaultlib:msvcrt" "/NXCOMPAT" "/OUT:C:\\Users\\rabej\\ssh-browser\\target\\release\\build\\icu_normalizer_data-31bd51dea89c1d15\\build_script_build-31bd51dea89c1d15.exe" "/OPT:REF,NOICF" "/DEBUG" "/PDBALTPATH:%_PDB%" "/NATVIS:<sysroot>\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:<sysroot>\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:<sysroot>\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:<sysroot>\\lib\\rustlib\\etc\\libstd.natvis"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: LINK : fatal error LNK1181: Eingabedatei "kernel32.lib" kann nicht ge÷ffnet werden.␍

This appears 8 times in total

error: could not compile `icu_normalizer_data` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `icu_properties_data` (build script) due to 1 previous error
error: could not compile `khronos_api` (build script) due to 1 previous error
error: could not compile `lock_api` (build script) due to 1 previous error
error: could not compile `windows_x86_64_msvc` (build script) due to 1 previous error
error: could not compile `parking_lot_core` (build script) due to 1 previous error
error: could not compile `proc-macro2` (build script) due to 1 previous error
error: could not compile `zerocopy` (build script) due to 1 previous error

Between most error messages the first error message is shown.
I have tried to run it twice. (See console logs attached)

console logs.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions