Giter VIP home page Giter VIP logo

Comments (7)

tactical-snail avatar tactical-snail commented on May 23, 2024 2

@sininen-blue I was having the exact same issue. Installing gcc-go and pkg-config fixed it.

from nwg-look.

nwg-piotr avatar nwg-piotr commented on May 23, 2024

Looks like the gotk3 library missing. Did you do make get? Or try manually:

go get github.com/gotk3/gotk3
go get github.com/gotk3/gotk3/gdk
go get "github.com/sirupsen/logrus"

from nwg-look.

sininen-blue avatar sininen-blue commented on May 23, 2024
$ make get
go get github.com/gotk3/gotk3
go get github.com/gotk3/gotk3/gdk
go get "github.com/sirupsen/logrus"

completed with no errors, but it still has the same undefined variables

from nwg-look.

nwg-piotr avatar nwg-piotr commented on May 23, 2024

Those are no variables, but types defined in the gotk3 library. If they're missing, the library must be inaccessible. Maybe something wrong with your go path? BTW: do you have gtk3 itself installed?

from nwg-look.

sininen-blue avatar sininen-blue commented on May 23, 2024

my path is

$ echo $PATH
/usr/local/bin /bin /usr/bin /usr/local/sbin /usr/sbin /sbin

This might be the problem, but I'm not sure which path to add exactly

Also I do have gtk3 installed

from nwg-look.

nwg-piotr avatar nwg-piotr commented on May 23, 2024

Actually I have no idea what goes wrong on your side. Maybe standard env settings for golang in Arch PKGBUILD are going to help?

export CGO_LDFLAGS="${LDFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
export GOPATH="${srcdir}"/go
export PATH=$PATH:$GOPATH/bin
go build -v -o "$pkgname" *.go

If on x86_64, you could also try the nwg-look-v0.2.2_x86_64.tar.gz binary file provides in release assets.

from nwg-look.

sininen-blue avatar sininen-blue commented on May 23, 2024

The bin seems to work, though I did have to make my own /usr/share/nwg-look/ folder and move things there. I think I'll just use the bin for now

I'm assuming this is a void linux specific issue since I don't remember facing this last time I tried to build it on fedora

Also thanks for your time

from nwg-look.

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.