Hi,
I'm trying to add icons to my Win32 or Win64 apps with no success.
I made a res file using the method above (windres), compiled the Debug64 app and put my icon.res file inside the ..\glfw3\gcc_winnt\build\Debug64 folder
Then I modified makefile like this
Code:
(...)
OBJS0=\
context.o \
egl_context.o \
init.o \
input.o \
monitor.o \
osmesa_context.o \
vulkan.o \
wgl_context.o \
win32_init.o \
win32_joystick.o \
win32_monitor.o \
win32_time.o \
win32_thread.o \
win32_window.o \
window.o \
stb_vorbis.o \
stb_image.o \
icon.res \
main.o
(...)
and I get this error message :
mingw32-make: *** No rule to make target 'icon.res', needed by 'Debug64/CerberusGame'. Stop.
TRANS FAILED: Error executing 'mingw32-make CCOPTS=" -m64 -O0" LDOPTS=" -m64 -LC:/Cerberus_18-4/libs/Win64" LIBOPTS=" -lopenal32" OUT="Debug64/CerberusGame"', return code=2
Abnormal program termination.
Exit code: -1
Any idea?
Thanks!
(EDIT : adding icons to MSVC projects is quite easy but I must use gcc this time)