vulkano: 'windows-msvc Specific Setup' leads to compilation error of compute example.

Details

Issue

Upon compilation of the project (see minimal reproducible example) using cargo run the compilation errors occur:

image

Clicking ‘OK’ leads to:

image

And a continuous series of said errors until it exits (https://pastebin.com/cMYPNB9W):

image

Installation

To illustrate steps taken in installation:

1: Rust toolchain:

C:\Users\jonat>rustup show
Default host: x86_64-pc-windows-msvc
rustup home:  C:\Users\jonat\.rustup

installed toolchains
--------------------

stable-x86_64-pc-windows-gnu
stable-x86_64-pc-windows-msvc (default)

active toolchain
----------------

stable-x86_64-pc-windows-msvc (default)
rustc 1.41.1 (f3e1a954d 2020-02-24)

2: Build tools for visual studio 2017 installed:

image

3+4: MSYS2 installed and given command ran:

jonat@DESKTOP-JFC6RHS MSYS ~
$ pacman --noconfirm -Syu mingw-w64-x86_64-cmake mingw-w64-x86_64-python2 mingw-w64-x86_64-ninja:: Synchronising package databases...
 mingw32 is up to date
 mingw64 is up to date
 msys is up to date
warning: mingw-w64-x86_64-cmake-3.17.3-1 is up to date -- reinstalling
warning: mingw-w64-x86_64-python2-2.7.18-1 is up to date -- reinstalling
warning: mingw-w64-x86_64-ninja-1.10.0-1 is up to date -- reinstalling
:: Starting core system upgrade...
 there is nothing to do
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (3) mingw-w64-x86_64-cmake-3.17.3-1  mingw-w64-x86_64-ninja-1.10.0-1
             mingw-w64-x86_64-python2-2.7.18-1

Total Installed Size:  133.02 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n]
(3/3) checking keys in keyring                                  [#################################] 100%
(3/3) checking package integrity                                [#################################] 100%
(3/3) loading package files                                     [#################################] 100%
(3/3) checking for file conflicts                               [#################################] 100%
(3/3) checking available disk space                             [#################################] 100%
:: Processing package changes...
(1/3) reinstalling mingw-w64-x86_64-cmake                       [#################################] 100%
(2/3) reinstalling mingw-w64-x86_64-python2                     [#################################] 100%
(3/3) reinstalling mingw-w64-x86_64-ninja                       [#################################] 100%

jonat@DESKTOP-JFC6RHS MSYS ~
$

5: MSYS2 MINGW64 binary path added to path variable:

image

So, what have I done wrong?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 27 (13 by maintainers)

Most upvoted comments

It is a parameter in the method Device::new().