Closed Fruchtgummi closed 7 years ago
@Fruchtgummi
You're using some very old version of the repo, there is no nuklear_glfw_gl2.h and any references to it in the master branch. I implemented drawing backends in pure Go back in early January 2017 ;)
Try to go-get update it.
go get -u github.com/golang-ui/nuklear/nk
Indeed!
Yes, now I have the following error! :)
# nuke
c:\go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 3221225781
Fehler: Prozess beendet mit Rückgabewert 2.
@Fruchtgummi Awesome!
By the way, this is very specific error, can I see the source of nuke
?
That's not one of my examples, could you firstly check with https://github.com/golang-ui/nuklear/tree/master/cmd/nk-example please? So we can be sure
go get github.com/golang-ui/nuklear/cmd/nk-example
Yes, it is your example!
Here a error from LiteIDE and the process of build.
# github.com/golang-ui/nuklear/cmd/nk-example
c:\go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 3221225781
Fehler: Prozess beendet mit Rückgabewert 2.
after "get force rebuilding" and "get update network"
go build github.com/go-gl/glfw/v3.2/glfw: c:\go\pkg\tool\windows_amd64\cgo.exe: exit status 2
go build github.com/go-gl/gl/v3.2-core/gl: c:\go\pkg\tool\windows_amd64\cgo.exe: exit status 2
Fehler: Prozess beendet mit Rückgabewert 1.
after force build
go build runtime/cgo: c:\go\pkg\tool\windows_amd64\cgo.exe: exit status 2
Fehler: Prozess beendet mit Rückgabewert 1.
I need C-Compiler?
I have installed
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=C:/mingw-w64/x86_64-5.3.0-posix-seh-rt_v4-rev0/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/5.3.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
....
Thread model: posix
gcc version 5.3.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)
German: "Fehler: Prozess beendet mit Rückgabewert 1." is English: "Error: Process terminated with return value 1."
@Fruchtgummi it seems you have wrong/broken MinGW environment, I'm not sure what's wrong with it, but I never got these issues under Win7/10 both 32/64 bits.
Also you certainly should be able to build
go build github.com/go-gl/glfw/v3.2/glfw
go build github.com/go-gl/gl/v3.2-core/gl
so it seems that the environment is broken, no the nuklear package itself.
Try to use MSYS (see https://github.com/golang-ui/nuklear#desktop-installation)
P.S. also found this https://sourceforge.net/p/mingw-w64/mailman/message/31834115/
It's Running! Thx
Hi,
follows errors on build
MinGW-W64 is installed
On built with LiteIDE
On c:\go\pkg\tool\windows_amd64\cgo.exe: is nothing this cgo.exe
Whats the problem?