Hi Folks,
Putting dll's in the same folder as my GO code solved the problem as
suggested here: https://github.com/veandco/go-sdl2
Thanks,
Saurabh
On Wednesday, April 20, 2016 at 7:06:28 PM UTC-7, Dorival Pedroso wrote:
>
> Hi,
>
> I'm just wondering what is the cause of the following error (mul
Hi Folks,
So some good news on the issue but still not out of woods. After getting
rid of all statically built libs and replacing them by dll's, I was able to
compile and link against GO code. So far so good, but when running a test I
get an error code:
exit status 3221225781
getting closer :)
Ok, Let me try to see if I can repro the bug with a code that I can share.
Thank you,
Saurabh
On Sunday, January 1, 2017 at 12:40:56 PM UTC-8, brainman wrote:
>
> If you can provide steps to reproduce your problem here
> https://golang.org/issue/new, I will try to investigate it.
>
> Thank you.
Hi Dave, I was able to build a pure C++ project using same libraries and it
linked and executed fine, so I assumed boost was ok (yes, I built boost
from src on my system). However, linking the same using cgo is giving these
errors.
On Wednesday, April 20, 2016 at 7:06:28 PM UTC-7, Dorival Pedro
$ go env
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\SDeor7119713\gocode
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-m
The commands I am using are standard go build and go test. Anyway, here is
the complete output.
SDeoras@D8R6G12 MINGW64 ~/x/sWin (master)
$ go build ./
SDeoras@D8R6G12 MINGW64 ~/x/sWin (master)
$ which gcc
/c/program files/mingw-w64/x86_64-6.2.0-posix-seh-rt_v5-rev1/mingw64/bin/gcc
SDeoras@D8
Happy new year everyone. Just checked this on Go 1.7.4 and
MinGW x86_64-6.2.0-posix-seh-rt_v5-rev1 on my code and the problem stays
the same.
C:\Go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1
C:/program files/mingw-w64/x86_64-6.2.0-posix-seh-rt_v5-rev1/mingw64/bin/../
lib/g
I am having the same issues with go1.6.2... I also tried go1.7beta2 with no
luck.
C:\Go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1
c:/program files/mingw-w64/x86_64-4.8.1-posix-seh-rt_v3-rev2/mingw64/bin/../
lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/li