Araq, compiling on Linux for Linux now works, this is awesome!!
Should cross-compiling to Windows also work?
Because, when I cross-compile on Linux for Windows using this line:
nim --os:windows --cpu:amd64 --gcc.exe:x86_64-w64-mingw32-gcc --gcc.linkerexe:x86_64-w64-mingw32-gcc --app:gui c controllgallery2.nim
I get this linking error:
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lUxTheme
/usr/bin/x86_64-w64-mingw32-ld: cannot find -lUsp10
Do you have an idea how to resolve this?
Also, there is this error complaining about the backslashes in the path to resources.o when cross-compiling on Linux (I have changed them to forward slashes for now).
Many thanks for your help again, this is really highly appreciated.
Kind regards,
Axel