kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #01735
Re: Cross-Compiling under Linux for Windows
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"Richard A Burton" <richardaburton@...>
-
Date:
Fri, 5 Sep 2008 11:25:06 +0100
-
In-reply-to:
<936b14d20809050315l1e0eae70sc288f6002b53803e@...>
> 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.
Another, slightly simpler way, to resolve this is to just create a
little shell script called windres.exe that calls
i586-mingw32msvc-windres, passing it any incoming parameters (I think
I also needed to add an extra include directory (-I ...) so it could
find windows.h - but can't check this as I'm on a different machine
atm).
Richard.
References