You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm unable to build this project in Win10 / mingw.
I have the following installed:
golang 1.9.0
mingw 5.3.0
[terraform-provider-vix] [master ≡] > mingw32-make.exe
go build
# github.com/hooklift/terraform-provider-vix/vendor/github.com/hooklift/govix
In file included from C:/tools/mingw64/x86_64-w64-mingw32/include/stdlib.h:9:0,
from ./helper.h:6,
from ..\..\go\src\github.com\hooklift\terraform-provider-vix\vendor\github.com\hooklift\govix\guest.go:8:
C:/tools/mingw64/x86_64-w64-mingw32/include/crtdefs.h:35:44: error: conflicting types for 'size_t'
__MINGW_EXTENSION typedef unsigned __int64 size_t;
^
In file included from C:/Users/woof/Work/terraform-provider-vix/vendor/libvix/include/vix.h:26:0,
from ..\..\go\src\github.com\hooklift\terraform-provider-vix\vendor\github.com\hooklift\govix\guest.go:7:
C:/Users/woof/Work/terraform-provider-vix/vendor/libvix/include/vm_basic_types.h:811:29: note: previous declaration of 'size_t' was here
typedef uint64 size_t;
^
In file included from C:/tools/mingw64/x86_64-w64-mingw32/include/stdlib.h:9:0,
from ./helper.h:6,
from ..\..\go\src\github.com\hooklift\terraform-provider-vix\vendor\github.com\hooklift\govix\guest.go:8:
C:/tools/mingw64/x86_64-w64-mingw32/include/crtdefs.h:45:35: error: conflicting types for 'ssize_t'
__MINGW_EXTENSION typedef __int64 ssize_t;
^
In file included from C:/Users/woof/Work/terraform-provider-vix/vendor/libvix/include/vix.h:26:0,
from ..\..\go\src\github.com\hooklift\terraform-provider-vix\vendor\github.com\hooklift\govix\guest.go:7:
C:/Users/woof/Work/terraform-provider-vix/vendor/libvix/include/vm_basic_types.h:830:28: note: previous declaration of 'ssize_t' was here
typedef int64 ssize_t;
^
In file included from C:/tools/mingw64/x86_64-w64-mingw32/include/stdlib.h:9:0,
from ./helper.h:6,
from ..\..\go\src\github.com\hooklift\terraform-provider-vix\vendor\github.com\hooklift\govix\guest.go:8:
C:/tools/mingw64/x86_64-w64-mingw32/include/crtdefs.h:75:44: error: conflicting types for 'uintptr_t'
__MINGW_EXTENSION typedef unsigned __int64 uintptr_t;
^
In file included from C:/Users/woof/Work/terraform-provider-vix/vendor/libvix/include/vix.h:26:0,
from ..\..\go\src\github.com\hooklift\terraform-provider-vix\vendor\github.com\hooklift\govix\guest.go:7:
C:/Users/woof/Work/terraform-provider-vix/vendor/libvix/include/vm_basic_types.h:216:19: note: previous declaration of 'uintptr_t' was here
typedef uint64 uintptr_t;
^
Makefile:11: recipe for target 'build' failed
mingw32-make: *** [build] Error 2
Any help is greatly apperciated!
The text was updated successfully, but these errors were encountered:
Hi, I'm unable to build this project in Win10 / mingw.
I have the following installed:
Any help is greatly apperciated!
The text was updated successfully, but these errors were encountered: