I compiled git version of version in msys2 according to the steps posted on the following link https://wiki.geany.org/howtos/win32/msys2
I ended up have the following errors. Any pointers to fix the problems?
make[3]: Entering directory '/home/Dreli/geanyTemp/geany/src' windres -i ../geany_private.rc --input-format=rc -o geany_private.res -O coff ../geany_private.rc:2:0: fatal error: when writing output to : Invalid argument
compilation terminated. C:\msys64\mingw64\bin\windres.exe: can't open file `page:': Invalid argument C:\msys64\mingw64\bin\windres.exe: preprocessing failed. make[3]: [Makefile:1505: geany_private.res] Error 1 (ignored) CCLD geany.exe
Might have better responses by asking question on the mailing list than opening a bug report, more people will see it.
the bug fixed by adding --use-temp-file
Dreli:~/geanyTemp/geany/src $ git diff Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index 86c3b7ff..bd8ef8cf 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -147,7 +147,7 @@ geany_LDADD += geany_private.res WINDRES = $(host_alias)-windres
geany_private.res: $(top_srcdir)/geany_private.rc - $(WINDRES) -i $(top_srcdir)/geany_private.rc --input-format=rc -o $@ -O coff + $(WINDRES) -i $(top_srcdir)/geany_private.rc --input-format=rc -o $@ -O coff --use-temp-file
libgeany_la_SOURCES += win32.c win32.h libgeany_la_LIBADD += -lole32 -lwsock32 -lcomdlg32
[winres_use_temp_file.patch.txt](https://github.com/geany/geany/files/1977414/winres_use_temp_file.patch.txt)
Interesting. On my MSYS2 setup I don't need that option. But I just tested it and with the temp-file option it compiles also fine, so it is probably a good idea to add it.
Would you mind creating a pull request with the change?
my pleasure下午4:26, 2018年5月6日, "Enrico Tröger" notifications@github.com:Interesting. On my MSYS2 setup I don't need that option. But I just tested it and with the temp-file option it compiles also fine, so it is probably a good idea to add it. Would you mind creating a pull request with the change?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
-- Sent from Yandex.Mail for mobile
Some minor issue which is honestly not my concern. Whenever I select "Help"->"About", geany crashed. I am using MSYS2 with x86_64 architecture
Closed #1850.
Reopened #1850.
Closed #1850.
github-comments@lists.geany.org