stefanGaina / Icon-Changer

Tool to change an executable's icon for Windows.
Other
1 stars 2 forks source link

Program does not compile on Windows 10 Pro 64bits #2

Open Tcoton opened 4 months ago

Tcoton commented 4 months ago

I have installed MSYS2 to get gcc and make installed on my system as stated in the readme of this project and I cannot get it to compile with make. Whichever terminal (command or powershell) I run into this error:

C:\Users\tcoto\Downloads\Icon-Changer>make
make -C icon-changer
make[1]: Entering directory '/c/Users/tcoto/Downloads/Icon-Changer/icon-changer'
if not exist "obj" mkdir obj
/bin/sh: -c: line 2: syntax error: unexpected end of file
make[1]: *** [Makefile:24: create_dirs] Error 2
make[1]: Leaving directory '/c/Users/tcoto/Downloads/Icon-Changer/icon-changer'
make: *** [Makefile:26: all] Error 2
C:\Users\tcoto\Downloads\Icon-Changer>gcc --version
gcc (Rev6, Built by MSYS2 project) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
C:\Users\tcoto\Downloads\Icon-Changer>make --version
GNU Make 4.4.1
Built for x86_64-pc-msys
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

I have tried editing the makefile to have Windows EOL, Unix EOL, it does not change a thing. What else is required or where is the error?

stefanGaina commented 1 month ago

Hi, I would love to help you with issue, but I moved on from Windows development since then and I do not have a machine available. I think your best chances are to copy the code and use the build system you are comfortable with.