cezanne / usbip-win

USB/IP for Windows
GNU General Public License v3.0
1.91k stars 344 forks source link

Build fails #323

Open ShamimIslam opened 1 year ago

ShamimIslam commented 1 year ago

Do I need to be on a Windows 10 machine to perform the build? Also, I have the 1903 SDK but the Signtool is not found. Thanks.

Kogotoro commented 1 year ago

Do I need to be on a Windows 10 machine to perform the build?

Probably no. (i builded from win8.1 for win10 in vs2019) (if entire solution not builds, then try building projects inside it one by one that can help locate errors in config (initial project config probably have some small errors or missing targeting fields and sign settings))

Also, I have the 1903 SDK but the Signtool is not found.

Signtools is optional feature while instaling sdk. ('[ ] Windows SDK Signing Tools for Desktop Apps') Should be in: c:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\ \ platform x64,x86,arm... if missing then try reinstall or modify install and check what it selected.

paulpv commented 1 year ago

I am running in to Spectre-mitigated libraries are required for this project errors, even after installing literally every single Spectre x64/x86 option there is in the VS2019 Individual Components tab. :/

paulpv commented 1 year ago

Doh! I was installing the Spectre components for the Visual Studio Build Tools 2019 install instead of the Visual Studio Community 2019 install. I added the MSVC v142 - VS 2019 C++ x64/x86 Spectre-mitigated libs (Latest) to my Visual Studio Community 2019 install and it then compiled fine. I removed the 30+GB of other installs I added to the wrong "2019" product and things still build fine.

ShamimIslam commented 1 year ago

I found the binaries. Running from linux to linux, I get great throughput. But running from Linux to Windows, the video halts after a while. Not sure why.

On Wed, Sep 14, 2022 at 5:57 AM Paul Peavyhouse @.***> wrote:

Doh! I was installing the Spectre components for the Visual Studio Build Tools 2019 install instead of the Visual Studio Community 2019 install. I added the MSVC v142 - VS 2019 C++ x64/x86 Spectre-mitigated libs (Latest) to my Visual Studio Community 2019 install and it then compiled fine. I removed the 30+GB of other installs I added to the wrong "2019" product and things still build fine.

— Reply to this email directly, view it on GitHub https://github.com/cezanne/usbip-win/issues/323#issuecomment-1246524151, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXKQTQBOGVBNTUCFU6AQILV6GOQJANCNFSM574F62YQ . You are receiving this because you authored the thread.Message ID: @.***>