NVIDIAGameWorks / NvCloth

300 stars 53 forks source link

Installation fails with 403 from cloudfront #69

Open afeser opened 9 months ago

afeser commented 9 months ago

Hi,

I was following the instructions here.

When I ran GenerateProjectsLinux.sh, I got this error on 4 different machines in different locations:

g++ version 11 >= 4.7
Package '7za' at version '16.02.2' is missing from local storage.
packman(ERROR): Unable to download file from 'https://d4i3qtqj3r0z5.cloudfront.net/7za%4016.02.2' (server returned 403)
Failure while installing required 7za package

If I skip 7za, then the next one cmake-linux-x86_64 fails.

yewnyx commented 9 months ago

Seconding this; I also cannot build NvCloth at all. I am targeting Windows.

It would seem that the 7za@16.02.2 package was pulled for some reason.

a-zyktin-generalarcade commented 8 months ago

I can't build due to the same reason (Windows)

a-zyktin-generalarcade commented 8 months ago

I solve the problem for Windows platform. Actually bypass.

For the first, you should comment out some lines in scripts/packman/win-bootstrap/configure.bat and add line to set 7za path:

:ENSURE_7ZA
@set PM_7Za_VERSION=16.02.2
@set PM_7Za_PATH=%PACKMAN_REPO%\chk\7za\16.02.4
rem @set PM_7Za_PATH=%PM_PACKAGES_ROOT%\7za\%PM_7ZA_VERSION%
rem @if exist "%PM_7Za_PATH%" goto END
rem @set PM_7Za_PATH=%PM_PACKAGES_ROOT%\chk\7za\%PM_7ZA_VERSION%
@if exist "%PM_7Za_PATH%" goto END

! %PACKMAN_REPO% is set on my machine And then it would skip 7za downloading.

Then you should create directory for cmake, like it was downloaded - create in %PACKMAN_REPO%\chk\cmake-x64\3.7.0 empty .packman.sha1 file and paste cmake to this folder.