kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #02742
*****SPAM***** Re: [kicad-devel] Problems compiling for Windows under Linux
----=_3AD168AF.28E53ED7 Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Spam detection software, running on the system "mail.havlickuvbrod.net", has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn't spam) or block
similar future email. If you have any questions, see
help@... for details.
Content preview: Hallo Dick, I understand what you mean. And what you are trying to tell me. For
now, problem was in '--enable-monolitic' directive in compiling wxWidgets. When
I disabled it, it created all that needed libraries. Had to create symlinks
to them, cause
Content analysis details: (4,14 points, 4,00 required)
pts rule name description
---- ---------------------- --------------------------------------------------
1,3 WEIRD_QUOTING Weird repeated double-quotation marks
1,8 LOCALPART_IN_SUBJECT Local part of To: address appears in Subject
-0,1 BAYES_00 Bayesian spam probability is 0 to 1%
0,2 MR_NOT_ATTRIBUTED_IP Beta rule: an non-attributed IPv4 found in headers
1,0 MR_DIFF_MID
----=_3AD168AF.28E53ED7 Content-Type: message/rfc822; x-spam-type=original
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: from server.localdomain
by mail.havlickuvbrod.net (DPwifi Mail Server) with ESMTP id MFV24768
for <kicad-devel@xxxxxxxxxxxxxxx>; Wed, 17 Jun 2009 13:05:31 +0100
Received: from [172.27.48.150]
by server.localdomain with esmtp (Exim 4.69)
(envelope-from <konference@...>)
id 1MGttt-0004AF-VT
for kicad-devel@xxxxxxxxxxxxxxx; Wed, 17 Jun 2009 14:05:58 +0200
Message-ID: <4A38DC0C.3070807@...>
Date: Wed, 17 Jun 2009 14:05:32 +0200
From: =?UTF-8?B?TWlsYW4gSG9yw6Fr?= <konference@...>
Reply-To: konference@...
User-Agent: Thunderbird 2.0.0.21 (X11/20090409)
MIME-Version: 1.0
To: kicad-devel@xxxxxxxxxxxxxxx
Subject: Re: [kicad-devel] Problems compiling for Windows under Linux
References: <4A3886E9.8030300@...> <4A38A819.1060500@...>
In-Reply-To: <4A38A819.1060500@...>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hallo Dick,
I understand what you mean. And what you are trying to tell me.
For now, problem was in '--enable-monolitic' directive in compiling
wxWidgets. When I disabled it, it created all that needed libraries.
Had to create symlinks to them, cause they're created with _gcc_custom suffix.
Compilation succesfull.
Here is diff of FindwxWidgets.cmake ver 2.6.2 and 2.6.4
=====
324c324
< FOREACH(LIB core adv aui html xrc gl qa richtext)
---
> FOREACH(LIB core adv aui html media xrc dbgrid gl qa richtext)
403d402
< wxWidgets-2.8.9
450,458c449
< NAMES
< msw/wx/setup.h
< mswd/wx/setup.h
< mswu/wx/setup.h
< mswud/wx/setup.h
< mswuniv/wx/setup.h
< mswunivd/wx/setup.h
< mswunivu/wx/setup.h
< mswunivud/wx/setup.h
---
> NAMES msw/build.cfg mswd/build.cfg
467,475c458
< NAMES
< msw/wx/setup.h
< mswd/wx/setup.h
< mswu/wx/setup.h
< mswud/wx/setup.h
< mswuniv/wx/setup.h
< mswunivd/wx/setup.h
< mswunivu/wx/setup.h
< mswunivud/wx/setup.h
---
> NAMES msw/build.cfg mswd/build.cfg
491a475,476
> SET(wxWidgets_FOUND TRUE)
>
510,511d494
< SET(wxWidgets_FOUND TRUE)
<
=====
Needed to add file UsewxWidgets.cmake to CMakeModules directory.
Needed to change windres.exe to i586-mingw32msvc-windres in
MinGWResourceCompiler.cmake according to Mateusz.
Big thank you to Dick.
And Mateusz too.
Milan
Dick Hollenbeck napsal(a):
>
>
>
>
> > Hallo and see below (and thanks for your time)
> >
> > Dick Hollenbeck napsal(a):
> >> What is looking? CMake or gcc?
> >
> > CMake
> >
> >>
> >> What file is """it""" looking for?
> >
> > richtext library file (wxmsw25_richtext.a), qa library file
> > (wxmsw25_qa.a) and so on accorind to this list from
> > FindwxWidgets.cmake file:
> >
> > FOREACH(LIB core adv aui html media xrc dbgrid gl qa richtext)
> >
> >>
> >> Maybe you can post some output.
> >>
> >> I recently used CMake to cross compile a windows DLL, and it went pretty
> >> well. Mingw32 stuff was all self contained, and the compiler never went
> >> looking for anything in the categories:
> >>
> >> 1) C runtime library
> >> 2) gcc support libraries
> >> 3) C runtime headers
> >>
> >> It was all pretty painless. This was on ubuntu hardy with these
> >> standard packages installed:
> >>
> >> ii mingw32
> >> 4.2.1.dfsg-1ubuntu1 Minimalist GNU win32 (cross) compiler
> >> ii mingw32-binutils
> >> 2.17.50-20070129.1-1 Minimalist GNU win32 (cross) binutils
> >> ii mingw32-runtime
> >> 3.13-1 Minimalist GNU win32 (cross) runtime
> >
> >
> > ii mingw32
> > 4.2.1.dfsg Minimalist GNU win32 (cross) compiler
> > ii mingw32-binutils
> > 2.18.50 Minimalist GNU win32 (cross) binutils
> > ii mingw32-runtime
> > 3.13-1 Minimalist GNU win32 (cross) runtime
> >
> > Ubuntu JJ
> >
> > Milan
>
> Milan,
>
> I don't have time or need to work through this on my system. I would
> like for you to succeed however. If you cannot do what I suggested in
> my earlier postings, which included editing the FindwxWidgets.cmake file
> copy, then perhaps you can get some help from the author of that file.
> I believe his email address is in the file.
>
> Otherwise perhaps you can simply edit the file to remove the features
> you do not need, but this would involve understanding it.
>
> Dick
>
> __.
----=_3AD168AF.28E53ED7--
Follow ups