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

fail with cygwin #51

Open
jilieryuyi opened this issue Feb 16, 2022 · 1 comment
Open

fail with cygwin #51

jilieryuyi opened this issue Feb 16, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@jilieryuyi
Copy link

cxgo
2022/02/17 07:31:29 clonning https://github.com/skyrpex/potrace.git to C:\cygwin
64\tmp\potrace
Cloning into 'C:\cygwin64\tmp\potrace'...
remote: Enumerating objects: 151, done.
remote: Counting objects: 100% (151/151), done.
remote: Compressing objects: 100% (123/123), done.
remote: Total 151 (delta 28), reused 69 (delta 26), pack-reused 0
Receiving objects: 100% (151/151), 648.91 KiB | 1.03 MiB/s, done.
Resolving deltas: 100% (28/28), done.
Note: switching to 'd32fc5acc2b53b14d0b682cee8c641320fb1ef44'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

2022/02/17 07:31:31 writing to D:\code\cxgo-main.examples\potrace-go
2022/02/17 07:31:31 auxiliary.h
Error: auxiliary.h: parsing failed: C:\cygwin64\tmp\potrace\src\auxiliary.h:15:1
: include file not found: stdlib.h (wd D:\code\cxgo-main\examples\potrace)
search paths:
C:\cygwin64\tmp\potrace\src\includes
C:\cygwin64\tmp\potrace\src\include
/_cxgo_overrides
cxgo_predef.h:2:1: include file not found: cxgo_builtin.h (wd D:\code\cxgo-main
examples\potrace)
search paths:
C:\cygwin64\tmp\potrace\src\includes
C:\cygwin64\tmp\potrace\src\include
/_cxgo_overrides
Usage:
cxgo [flags]
cxgo [command]

Available Commands:
completion Generate the autocompletion script for the specified shell
file transpile a single C file to Go
help Help about any command
version print cxgo version

Flags:
-c, --config string config file path (default "cxgo.yml")
-h, --help help for cxgo

Use "cxgo [command] --help" for more information about a command.

auxiliary.h: parsing failed: C:\cygwin64\tmp\potrace\src\auxiliary.h:15:1: inclu
de file not found: stdlib.h (wd D:\code\cxgo-main\examples\potrace)
search paths:
C:\cygwin64\tmp\potrace\src\includes
C:\cygwin64\tmp\potrace\src\include
/_cxgo_overrides
cxgo_predef.h:2:1: include file not found: cxgo_builtin.h (wd D:\code\cxgo-main
examples\potrace)
search paths:
C:\cygwin64\tmp\potrace\src\includes
C:\cygwin64\tmp\potrace\src\include
/_cxgo_overrides

@dennwc dennwc added the bug Something isn't working label Feb 17, 2022
@dennwc
Copy link
Contributor

dennwc commented Feb 17, 2022

I don't think it's specific to cygwin, looks like the _cxgo_overrides might not work properly on Windows 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants