tfussell / xlnt

:bar_chart: Cross-platform user-friendly xlsx library for C++11+
Other
1.43k stars 402 forks source link

Cloning project failed #730

Closed flaviu22 closed 4 months ago

flaviu22 commented 4 months ago

I am struggling to compile the project because when I did it by vcpgk, I have this issue: https://github.com/tfussell/xlnt/issues/729

I tried: git clone https://github.com/tfussell/xlnt.git xlnt --recurse-submodules and I got:

c:\Project>git clone https://github.com/tfussell/xlnt.git xlnt --recurse-submodules
Cloning into 'xlnt'...
remote: Enumerating objects: 18824, done.
remote: Counting objects: 100% (827/827), done.
remote: Compressing objects: 100% (326/326), done.
remote: Total 18824 (delta 501), reused 753 (delta 474), pack-reused 17997R
Receiving objects: 100% (18824/18824), 14.96 MiB | 2.49 MiB/s, done.
Resolving deltas: 100% (13652/13652), done.
Updating files: 100% (390/390), done.
Submodule 'third-party/libstudxml' (https://git.codesynthesis.com/libstudxml/libstudxml.git) registered for path 'third-party/libstudxml'
Cloning into 'C:/Project/xlnt/third-party/libstudxml'...
fatal: unable to access 'https://git.codesynthesis.com/libstudxml/libstudxml.git/': SSL certificate problem: unable to get local issuer certificate
fatal: clone of 'https://git.codesynthesis.com/libstudxml/libstudxml.git' into submodule path 'C:/Project/xlnt/third-party/libstudxml' failed
Failed to clone 'third-party/libstudxml'. Retry scheduled
Cloning into 'C:/Project/xlnt/third-party/libstudxml'...
fatal: unable to access 'https://git.codesynthesis.com/libstudxml/libstudxml.git/': SSL certificate problem: unable to get local issuer certificate
fatal: clone of 'https://git.codesynthesis.com/libstudxml/libstudxml.git' into submodule path 'C:/Project/xlnt/third-party/libstudxml' failed
Failed to clone 'third-party/libstudxml' a second time, aborting

How can I solve it? It is some link broken?

flaviu22 commented 4 months ago

I have succeeded to clone it successfully by giving this command first: git config --global http.sslVerify false then git clone https://github.com/tfussell/xlnt.git xlnt --recurse-submodules then git config --global http.sslVerify true