Comments (12)
+1 on removing windows dependencies and allowing linux/macos to build .exe files.
from robotgo.
Because dependent on cgo and zlib/libpng, cross-platform compilation is difficult.
from robotgo.
Thank you
from robotgo.
Try xgo . It solves this cross compile problem where you have to do cgo.
from robotgo.
@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.
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.
@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.
anyone else though ??
@caesar ?
from robotgo.
Remove these two dependencies in the plan, but it takes time; busy in recent months, may move to another city to live.
from robotgo.
I would love to see an update on this. 👍
from robotgo.
Windows and Mac dependencies are in the package. The current cross-platform compilation barrier is cgo
. Please try xgo
or other tools.
from robotgo.
Please see the README.md.
from robotgo.
Related Issues (20)
- Support for Wayland?
- "RobotGo: DragSmooth Operation Not Triggering hook.MouseDrag Event on macOS Sonoma" HOT 1
- Can not get latest version v1.0.0-rc3
- TypeStr writes wrong characters
- I'm having issues with cross-compiling. HOT 2
- 使用goroutine并发去bitmap.Find图片的时候大概率闪退
- The process ID is not available
- Wayland support?
- building Fails
- Multiple monitors on windows causes cursor relative movement issues
- undefined: Bitmap HOT 1
- When I use robotgo.TypeStr("abc@123, Hi galaxy, こんにちは") to input text, the pasted text in the input box is reversed.
- Dragsmooth does not work but Drag does sometimes. HOT 1
- Random crashes on Linux with latest version
- Monitoring capslock is not supported?
- Is there a way to move the mouse to the end of the typed string? HOT 1
- Not run code by packages `robotgo` and `gcv` HOT 2
- Keyboard input simulation is not working properly
- Inconsistent key detection bug HOT 1
- Does this library support Android devices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robotgo.