github.com/go-gl/glfw/v3.2/glfwgo get -u github.com/go-gl/glfw/v3.2/glfw
$ 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)
$ 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)
@SaadHafiane
Copy link
Author

commented Jul 8, 2017

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?

mingw-w64/i686-5.3.0-posix-dwarf-rt_v4-rev0
PATH
@SaadHafiane
Copy link
Author

commented Jul 8, 2017

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

@xlab
Copy link
Member

commented Jul 8, 2017
edited

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.

@xlab xlab closed this as completed Sep 6, 2017