Closed SaadHafiane closed 6 years ago
Hi @SaadHafiane ! It seems that github.com/go-gl/glfw/v3.2/glfw
package fails to build, try to run go get -u github.com/go-gl/glfw/v3.2/glfw
in your console. If the error will be the same, it's better to create an issue in their tracker https://github.com/go-gl/glfw/issues
My configs:
64-bit
$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\Program Files (x86)\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/Program\ Files\ (x86)/mingw-w64/i686-5.3.0-posix-dwarf-rt_v4-rev0/mingw32/bin/../libexec/gcc/i686-w64-mingw32/5.3.0/lto-wrapper.exe
Target: i686-w64-mingw32
Thread model: posix
gcc version 5.3.0 (i686-posix-dwarf-rev0, Built by MinGW-W64 project)
32-bit
$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/5.3.0/lto-wrapper.exe
Target: mingw32
Configured with: ../src/gcc-5.3.0/configure --build=x86_64-pc-linux-gnu --host=m
ingw32 --prefix=/mingw --disable-win32-registry --target=mingw32 --with-arch=i58
6 --enable-languages=c,c++,objc,obj-c++,fortran,ada --enable-static --enable-sha
red --enable-threads=posix --with-dwarf2 --disable-sjlj-exceptions --enable-vers
ion-specific-runtime-libs --enable-libstdcxx-debug --with-tune=generic --enable-
libgomp --disable-libvtv --enable-nls
Thread model: posix
gcc version 5.3.0 (GCC)
Hi @xlab, thanks for your response. I am still getting the same error log. I looked around could be related to my Msys2 setup. Which Mingw64 installer are you using?
@SaadHafiane I have a link in the readme for 32-bit version https://github.com/golang-ui/nuklear#desktop-installation it appears to be MSYS 1.0
For 64-bit version I can't remember the source (it probably was official repo) but version is specific mingw-w64/i686-5.3.0-posix-dwarf-rt_v4-rev0
@xlab thanks. Looks like you used MinGW-W64 Online Installer.
I will test and provide feedback.
@xlab I am still getting the same error log. Do you mind if you share your PATH
?
I have created a new issue at GLFW 202 as it seems to belated to the compilation on Windows 64bits with Mingw64.
One thing to notes is that you are using the i686 version of Mingw-W64 which is confusingly enough 32bits. You should install the X86_64 version
Sorry, forgot to mention, I got these from my virtual machine running 32-bit Windows 7, I currently have no access to my 64-bit workstation with Windows 10.. I'll update when have a chance.
P.S. checked my $PATH, imo it will confuse things more for you.
Hi,
when
go build
ingnk-example
on Win10 64 bits using go 1.8.3, the following error log appears:System info:
go version go1.8.3 windows/amd64