Hi
I follow the instructions to use GLFW in CodeBlocks but when I finish all the process of compilation, installation and building, it gives a build error. Ive even deleted and reinstalled Codeblocks to repeat the process (and Im a XP user
).
The following error shows up in the build log:
mingw32-g++.exe -Wall -fexceptions -g -c "E:\Mis documentos\INFORMATICA GESTION\3er CURSO\PRG\P0\Práctica 0\main.cpp" -o obj\Debug\main.o
mingw32-g++.exe: installation problem, cannot exec `as': Invalid argument
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
Now, I think it could be this thing that appears during compilation:
win32_time.c: In function `_glfwInitTimer':
win32_time.c:556: warning: dereferencing type-punned pointer will break strict-aliasing rules
win32_time.c:556: warning: dereferencing type-punned pointer will break strict-aliasing rules
win32_time.c:563: warning: dereferencing type-punned pointer will break strict-aliasing rules
win32_time.c:563: warning: dereferencing type-punned pointer will break strict-aliasing rules
win32_time.c:574: warning: dereferencing type-punned pointer will break strict-aliasing rules
win32_time.c:574: warning: dereferencing type-punned pointer will break strict-aliasing rules
win32_time.c:583: warning: dereferencing type-punned pointer will break strict-aliasing rules
win32_time.c:583: warning: dereferencing type-punned pointer will break strict-aliasing rules
win32_time.c: In function `_glfwPlatformGetTime':
win32_time.c:621: warning: dereferencing type-punned pointer will break strict-aliasing rules
win32_time.c:621: warning: dereferencing type-punned pointer will break strict-aliasing rules
win32_time.c: In function `_glfwPlatformSetTime':
win32_time.c:650: warning: dereferencing type-punned pointer will break strict-aliasing rules
win32_time.c:650: warning: dereferencing type-punned pointer will break strict-aliasing rules
...
C:\Archivos de programa\CodeBlocks\Open GL GLFW>win32_time.c: In function `_glfwInitTimer':
"win32_time.c:" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
C:\Archivos de programa\CodeBlocks\Open GL GLFW>win32_time.c:556: warning: dereferencing type-punned
pointer will break strict-aliasing rules
El nombre de archivo, directorio o etiqueta del volumen no es válido.
etc
Any idea?
THANK YOU!