C:/Nim/dist/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgdi32
C:/Nim/dist/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcomdlg32
Error: execution of an external program failed
Just want to let you know that trying to compile with --app:gui param results to this.
Seems like currently the compiler comes with mingw thats missing libs
(Its minor stuff and i feel like whiner )
Windows 7 , nim-0.11.2_x64.exe
This is an unfortunate consequence of stripping the base mingw installation of 'unnecessary' files. The fix (at least for the future) is to modify tools\trimcc.nim to test if a gui application still works. I don't know what should be done for the current installer - perhaps, given the existence of #2765, a new installer set should be published?
@Varriount I'm still waiting for a new set of base mingw zips from you. As you know we can update these under the hood since the installer downloads it on the fly from the website.
@Varriount ping? http://forum.nim-lang.org/t/953
@Varriount Any progress on this?
Planning on fixing it this weekend.
Make sure to ask @Araq if he fixed it already.
This issue affects me too. Workaround: Use MinGW from https://sourceforge.net/projects/mingw-w64/
Added libgdi32.a and libcomdlg32.a to list of essential files