Code Monkey home page Code Monkey logo

Comments (12)

derek-razorfish avatar derek-razorfish commented on May 14, 2024 1

+1 on removing windows dependencies and allowing linux/macos to build .exe files.

from robotgo.

vcaesar avatar vcaesar commented on May 14, 2024

Because dependent on cgo and zlib/libpng, cross-platform compilation is difficult.

from robotgo.

khjde1207 avatar khjde1207 commented on May 14, 2024

Thank you

from robotgo.

 avatar commented on May 14, 2024

Try xgo . It solves this cross compile problem where you have to do cgo.

from robotgo.

Marahin avatar Marahin commented on May 14, 2024

@gedw99 xgo is cool but it still turns up with an error:

Checking for required docker image karalabe/xgo-latest... found.
Cross compiling git.3lab.re/marahin/artsh_helper_11...
Building locally git.3lab.re/marahin/artsh_helper_11...
Compiling for windows-4.0/amd64...
# github.com/go-vgo/robotgo
In file included from ./bitmap/../base/io_c.h:4:0,
                 from ./bitmap/goBitmap.h:25,
                 from ../../../github.com/go-vgo/robotgo/robotgo.go:39:
./bitmap/../base/png_io_c.h:4:17: fatal error: png.h: No such file or directory
compilation terminated.
2017/07/18 13:33:43 Failed to cross compile package: exit status 2.

However locally it compiles just great. Any advises?

from robotgo.

 avatar commented on May 14, 2024

actually i think the two non golang dependencies can be replaced with golang.
Have seen lots of code related to them the last few days floating around.

Is this something WE are interested in ? I can try to get the URLS to the golang packages.... But only if this is really wanted as i am pushed for time right now.

from robotgo.

Marahin avatar Marahin commented on May 14, 2024

@gedw99 I can definitely say for myself that it would make a lot of things easier, as I'm often required to compile programs for both macos and windows.

from robotgo.

 avatar commented on May 14, 2024

anyone else though ??
@caesar ?

from robotgo.

vcaesar avatar vcaesar commented on May 14, 2024

Remove these two dependencies in the plan, but it takes time; busy in recent months, may move to another city to live.

from robotgo.

Marahin avatar Marahin commented on May 14, 2024

I would love to see an update on this. 👍

from robotgo.

vcaesar avatar vcaesar commented on May 14, 2024

Windows and Mac dependencies are in the package. The current cross-platform compilation barrier is cgo. Please try xgo or other tools.

from robotgo.

vcaesar avatar vcaesar commented on May 14, 2024

Please see the README.md.

from robotgo.

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.