Coder Social home page Coder Social logo

Comments (7)

kjk avatar kjk commented on June 10, 2024

You need to have Go installed

from sumatrapdf.

Avtukhoff avatar Avtukhoff commented on June 10, 2024

You need to have Go installed

Install, but I have no computer internet, show many errors.

from sumatrapdf.

kjk avatar kjk commented on June 10, 2024

Make sure to restart after installing Go to ensure it's in PATH. Verify that in cmd or powershell if you type go version it works.

from sumatrapdf.

Avtukhoff avatar Avtukhoff commented on June 10, 2024

Make sure to restart after installing Go to ensure it's in PATH. Verify that in cmd or powershell if you type go version it works.

Go.exe works without restarting.
Go version - unknown command.

Need computer internet, go try to load from github.com

Output:
Сборка начата в 17:44...
1>------ Сборка начата: проект: SumatraPDF, Конфигурация: Release x64 ------
2>------ Сборка начата: проект: SumatraPDF-dll, Конфигурация: Release x64 ------
1>do\gen_docs.go:17:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
1>do\gen_docs.go:18:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
1>do\gen_docs.go:19:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
2>do\gen_docs.go:17:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
2>do\gen_docs.go:18:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
2>do\gen_docs.go:19:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
2>do\gen_docs.go:20:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
2>do\gen_docs.go:21:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
1>do\gen_docs.go:20:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
1>do\gen_docs.go:21:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
1>do\extract_utils.go:10:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
1>do\file_upload.go:9:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
1>do\upload_storage.go:16:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
1>do\extract_utils.go:11:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
1>C:\Program Files\Microsoft\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(156,5): error MSB3073: выход из команды "cd ../out/rel64.... & go run ./do -gen-docs
1>C:\Program Files\Microsoft\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(156,5): error MSB3073: :VCEnd" с кодом 1.
1>Сборка проекта "SumatraPDF.vcxproj" завершена с ошибкой.
2>do\extract_utils.go:10:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
2>do\file_upload.go:9:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
2>do\upload_storage.go:16:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
2>do\extract_utils.go:11:2: github.com/dustin/[email protected]: Get "https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host
2>C:\Program Files\Microsoft\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(156,5): error MSB3073: выход из команды "cd ../out/rel64 & ....\bin\MakeLZSA.exe InstallerData.dat libmupdf.dll:libmupdf.dll PdfFilter.dll:PdfFilter.dll PdfPreview.dll:PdfPreview.dll
2>C:\Program Files\Microsoft\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(156,5): error MSB3073: cd .... & go run ./do -gen-docs
2>C:\Program Files\Microsoft\IDE\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(156,5): error MSB3073: :VCEnd" с кодом 1.
2>Сборка проекта "SumatraPDF-dll.vcxproj" завершена с ошибкой.
========== Сборка: успешно выполнено — 0 , со сбоем — 2, в актуальном состоянии — 16, пропущено — 0 ==========
========== Сборка завершено в 17:44 и заняло 27.844 с ==========

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ Please consider donating to VSColorOutput +++
+++ https://mike-ward.net/donate/ +++
+++ (this message can be turned off in the settings panel) +++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

from sumatrapdf.

Avtukhoff avatar Avtukhoff commented on June 10, 2024

Make sure to restart after installing Go to ensure it's in PATH. Verify that in cmd or powershell if you type go version it works.

I do build. I'm remove pre-build event. All build OK.

from sumatrapdf.

GitHubRulesOK avatar GitHubRulesOK commented on June 10, 2024

I had similar problem so downloaded and unpacked latest go1.22.3.windows-386.zip from https://go.dev/dl/
it does not need install IF you use a cmd redirection anywhere in a pathed folder.

go.cmd

C:\Users\lez\source\repos\sumatrapdf\go1.22.3.windows-386\go\bin\go.exe %*

image

from sumatrapdf.

kjk avatar kjk commented on June 10, 2024
"https://proxy.golang.org/github.com/dustin/go-humanize/@v/v1.0.1.mod": dial tcp: lookup proxy.golang.org: no such host

Yeah, this is go trying to download dependencies for my Go code. This will happen only once but you do need internet connection for that.

from sumatrapdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.