kicad-developers team mailing list archive
Mailing list archive
Re: Cross-Compiling under Linux for Windows
Fri, 5 Sep 2008 12:15:02 +0200
2008/9/5 Mateusz Skowroński <skowri@xxxxxxxxx>:
> I've tried to cross-compile under linux and it works! It is a hack though.
Very Nice! Gratuluję :-)
> 13. Edit the MinGWResourceCompiler.cmake in the CMakeModules
> directory. Change the windres.exe command to i586-mingw32msvc-windres
This step is broken in KiCad's CMAKE files at all. There is a script
in CMake which is looking for RC compiler, but it is currently broken
and cannot find windres.exe. There is a patch in their bug repository
(http://public.kitware.com/Bug/view.php?id=7235) which helps with
that. I promised myself that I will publish patch for KiCad's CMAKE
files, but currently I do not trust my own changes - it compiles under
Windows but I do not know is it stable under Linux.
> I know these instructions are very rough, but I hope they will be helpful.
> Happy cross-compiling!
Please consider putting this manual into Wiki.