Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build client for Windows #1767

Open
GREAT-DNG opened this issue Feb 24, 2024 · 3 comments
Open

Can't build client for Windows #1767

GREAT-DNG opened this issue Feb 24, 2024 · 3 comments
Labels
stale Issue / PR has not had activity

Comments

@GREAT-DNG
Copy link

GREAT-DNG commented Feb 24, 2024

Hello, I am doing everything according to the documentation. At the stage of generating build files I receive the following errors:

C:\Users\User\vircadia\build> cmake .. -G "Visual Studio 16 2019" -A x64
-- GLES_OPTION:
Using the Python interpreter located at: C:/Program Files/Python312/python.exe
['C:/Users/User/vircadia/prebuild.py', '--release-type', 'DEV', '--build-root', 'C:/Users/User/vircadia/build']
Using a packaged Qt
cmake path: C:\Users\User/vircadia-files/qt\qt5-install\lib\cmake
Fetching Qt from ['http://localhost:8080/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh', 'https://ipfs.vircadia.dev/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh', 'https://cf-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh', 'https://gateway.ipfs.io/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh', 'https://cloudflare-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh', 'https://ipfs.cf-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh', 'https://ipfs.io/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh'] to C:\Users\User/vircadia-files/qt
Traceback (most recent call last):
  File "C:\Users\User\vircadia\prebuild.py", line 203, in <module>
    main()
  File "C:\Users\User\vircadia\prebuild.py", line 130, in main
    qt.installQt()
  File "C:\Users\User\vircadia\hifi_qt.py", line 221, in installQt
    hifi_utils.downloadAndExtract(self.qtUrl, self.path, self.qtSha512)
  File "C:\Users\User\vircadia\hifi_utils.py", line 139, in downloadAndExtract
    tempFileName = downloadFile(urls, hash, hasher)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\User\vircadia\hifi_utils.py", line 135, in downloadFile
    raise RuntimeError("Failed to download file from any of {} \nError Log:\n{}".format(urls, errorLog))
RuntimeError: Failed to download file from any of ['http://localhost:8080/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh', 'https://ipfs.vircadia.dev/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh', 'https://cf-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh', 'https://gateway.ipfs.io/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh', 'https://cloudflare-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh', 'https://ipfs.cf-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh', 'https://ipfs.io/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh']
Error Log:
http://localhost:8080/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(ConnectionRefusedError(10061, '╧юфъы■ўхэшх эх єёЄрэютыхэю, Є.ъ. ъюэхўэ√щ ъюья№■ЄхЁ юЄтхЁу чряЁюё эр яюфъы■ўхэшх', None, 10061, None))
http://localhost:8080/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(ConnectionRefusedError(10061, '╧юфъы■ўхэшх эх єёЄрэютыхэю, Є.ъ. ъюэхўэ√щ ъюья№■ЄхЁ юЄтхЁу чряЁюё эр яюфъы■ўхэшх', None, 10061, None))
http://localhost:8080/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(ConnectionRefusedError(10061, '╧юфъы■ўхэшх эх єёЄрэютыхэю, Є.ъ. ъюэхўэ√щ ъюья№■ЄхЁ юЄтхЁу чряЁюё эр яюфъы■ўхэшх', None, 10061, None))
https://ipfs.vircadia.dev/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://ipfs.vircadia.dev/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://ipfs.vircadia.dev/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://cf-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://cf-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://cf-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://gateway.ipfs.io/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://gateway.ipfs.io/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://gateway.ipfs.io/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://cloudflare-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://cloudflare-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://cloudflare-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://ipfs.cf-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://ipfs.cf-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://ipfs.cf-ipfs.com/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://ipfs.io/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://ipfs.io/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))
https://ipfs.io/ipfs/QmdRF8Pm5AmABAcqbdcp5ZMv4H4DF5orzgTg4BooDVAbCh: URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))

CMake Error at CMakeLists.txt:151 (message):
  prebuild.py failed with error 1


-- Configuring incomplete, errors occurred!

The HIFI_VCPKG_BASE variable is set and the directory exists:

C:\Users\User\vircadia\build>echo %HIFI_VCPKG_BASE%
C:\Users\User\VCPKG

But no files appear in this directory.

I also tried all the actions in the Troubleshooting section, but they had no effect.

Software used:

  • Windows 10 LTSC 21H2
  • CMake 3.29.0-rc2
  • Python 3.12.2
  • Node.JS 20.11.1 LTS

How to fix this error?

@GREAT-DNG
Copy link
Author

GREAT-DNG commented Feb 26, 2024

A workaround is to bypass SSL. To do this, in the hifi_utils.py file in line 115, replace the condition with always true:

if true:

@howaqw
Copy link

howaqw commented Mar 25, 2024

i think so

Copy link

stale bot commented Sep 22, 2024

Hello! Is this still an issue?

@stale stale bot added the stale Issue / PR has not had activity label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue / PR has not had activity
Projects
None yet
Development

No branches or pull requests

2 participants