Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble building vanilla robotgo in and for WIndows 10 #256

Closed
janpfeifer opened this issue Jan 11, 2020 · 1 comment
Closed

Trouble building vanilla robotgo in and for WIndows 10 #256

janpfeifer opened this issue Jan 11, 2020 · 1 comment
Labels
Milestone

Comments

@janpfeifer
Copy link

janpfeifer commented Jan 11, 2020

Versions

  • Robotgo version (or commit ref):
  • Go version: 1.13.1
  • Gcc version: Cygwin 7.40-1, and TDM Gcc 5.1
  • Operating system and bit: Windows 10

Description

I hadn't yet compiled any CGO for windows, so I first tried cygwin, and it fails while compiling something in C:

   implicit declaration of function ‘_beginthread’; did you mean ‘OpenThread’

Following suggestion in stackoverlow I attempted using TDM GCC instead. After a reboot and having to install git for windows (as opposed of the cygwin), I then got the error:

    go build  github.com/go-vgo/robotgo
   # github.com/go-vgo/robotgo
   In file included from ./bitmap/../base/str_io_c.h:2:0,
                    from ./bitmap/goBitmap.h:17,
                    from C:\Users\pfeif\go\src\github.com\go-vgo\robotgo\robotgo.go:45:
   ./bitmap/../base/zlib_util_c.h:2:18: fatal error: zlib.h: No such file or directory
   compilation terminated.

I'm not sure what to try next, I didn't find any easy way to install zlib with TDM gcc.

Any ideas/pointers ? What would be a "standard" setup to use RobotGo in windows ?

Many thanks!

@vcaesar
Copy link
Member

vcaesar commented Jan 14, 2020

Closed because of duplicates, #100. All code tests and C dependencies use MinGw-64, TDM-GCC has not been tested.

@vcaesar vcaesar closed this as completed Jan 14, 2020
@vcaesar vcaesar added this to the v0.90.0 milestone Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants