kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #06324
Re: Crosscompilling again - no luck
Hi Milan,
I think your problem probably lies with --enable-monolithic. Under a
mingw32 build there is no way for cmake to detect what components of
wxWidgets are available in a monolithic build. You can either change
the cmake scripts to detect a monolithic build instead, or else
disable monolithic building in your configure command and see how you
get on from there.
Best Regards,
Brian.
2011/3/21 Milan Horák <konference@xxxxxxx>:
> Hi,
>
> from build directory of unpacked wxWidgets source:
>
>
> ../configure --enable-unicode --enable-monolithic --enable-shared
> --enable-aui --with-msw --with-opengl
> --prefix=/home/milan/Development/toolchain-mingw --host=i586-mingw32msvc
> --build=x86_64-linux
>
> Milan
>
> Dne 21.3.2011 16:14, Brian Sidebotham napsal(a):
>>
>> 2011/3/10 Milan Horák<konference@xxxxxxx>:
>>>
>>> Hi gentlemen,
>>>
>>> I'm trying again to crosscompile Kicad for Windows on Linux.
>>>
>>> My problem is, that cmake ends with "wxWidgets bot found" message.
>>>
>>> I ran cmake through strace but everything seems to be the right way.
>>>
>>> wx is 2.8.11, Kubuntu 10.10
>>>
>>> What should I focus on now?
>>>
>>> Thanks for any advice.
>>>
>>> Milan
>>
>> Can you post how you are building wxWidgets (the command line)?
>>
>> Are you defining wxWidgets_ROOT_DIR in your cmake options?
>>
>> There are several points of failure for cmake detecting wxWidgets.
>> It's very easy to build on a windows command line if that's possible
>> for you to do.
>>
>> Best Regards,
>>
>> Brian.
>
Follow ups
References