Answer the question
In order to leave comments, you need to log in
In what there can be a problem of the assembly of source codes?
Hello!
For the first time I'm trying to build someone else's library from source, I take every step up to a centimeter according to the instructions, but I still got an error during assembly:
...
gcc -c -o lib/glut/win32_menu.o lib/glut/win32_menu.c -mthreads -O3 -Iinclude -D
WIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DGLUT32_EXPORTS -UGLUT_USE_SGI_OPEN
GL
gcc -c -o lib/glut/win32_util.o lib/glut/win32_util.c -mthreads -O3 -Iinclude -D
WIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DGLUT32_EXPORTS -UGLUT_USE_SGI_OPEN
GL
gcc -c -o lib/glut/win32_winproc.o lib/glut/win32_winproc.c -mthreads -O3 -Iincl
ude -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DGLUT32_EXPORTS -UGLUT_USE_SG
I_OPENGL
lib/glut/win32_winproc.c: In function '__glutOnEnterMenuLoop':
lib/glut/win32_winproc.c:579:18: warning: multi-character character constant
lib/glut/win32_winproc.c: In function '__glutOnExitMenuLoop':
lib/glut/win32_winproc.c:588:19: warning: multi-character character constant
gcc -c -o lib/glut/win32_x11.o lib/glut/win32_x11.c -mthreads -O3 -Iinclude -DWI
N32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DGLUT32_EXPORTS -UGLUT_USE_SGI_OPENGL
windres lib/glut/glut.rc lib/glut/resources.o
: Invalid argumentresources.o
mingw32-make: *** [lib/glut/resources.o] Error 1
Answer the question
In order to leave comments, you need to log in
windres lib/glut/glut.rc lib/glut/resources.o : Invalid argumentresources.o
What can be wrong
windres lib\glut\glut.rc lib\glut\resources.o
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question