From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1493 invoked by alias); 1 May 2006 16:15:48 -0000 Received: (qmail 1485 invoked by uid 22791); 1 May 2006 16:15:48 -0000 X-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 01 May 2006 16:15:45 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1Fab3l-00085F-00; Mon, 01 May 2006 18:15:41 +0200 Date: Mon, 01 May 2006 16:15:00 -0000 To: Andy Jackson Cc: ecos-devel@ecos.sourceware.org, Lars Poeschel Subject: Re: configtool development Message-ID: <20060501161541.GD4353@lunn.ch> References: <200604141947.07839.larsi@wh2.tu-dresden.de> <001c01c66d2a$84a2e5c0$9701a8c0@Kimbara> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001c01c66d2a$84a2e5c0$9701a8c0@Kimbara> User-Agent: Mutt/1.5.11+cvs20060403 From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2006-05/txt/msg00001.txt.bz2 On Mon, May 01, 2006 at 03:21:20PM +0100, Andy Jackson wrote: > Hi, > > Apologies for the late response. Patches to enable Configtool compilation > with wxWidgets 2.6.x can be found at our web site: > > http://www.xylanta.com > > in the Downloads section. My build environment is Cygwin, so your mileage > may vary, however if they prove stable, then I will submit them for > inclusion in the repository. Hi Andy Thanks for the pointer to the patch. Unfortunetly, it will not compile on my Linux system. c++ -O2 -c -I/usr/include/tcl8.4/ -I/opt/ecos//include -I/home/lunn/eCos/anoncvs-clean/host//tools/configtool/common/common -I/home/lunn/eCos/anoncvs-clean/host//tools/Utils/common -I/home/lunn/eCos/anoncvs-clean/host//tools/ecostest/common -DecUSE_EXPERIMENTAL_CODE=1 `/usr/bin/wx-config --cppflags` -o /home/lunn/eCos/build/aboutdlg.o /home/lunn/eCos/anoncvs-clean/host//tools/configtool/standalone/wxwin/aboutdlg.cpp /home/lunn/eCos/anoncvs-clean/host//tools/Utils/common/Collections.h: In member function 'bool String::operator==(const char*) const': /home/lunn/eCos/anoncvs-clean/host//tools/Utils/common/Collections.h:88: error: no matching function for call to 'String::compare(const char* const&) const' /usr/lib/gcc/i486-linux-gnu/4.0.4/../../../../include/c++/4.0.4/bits/basic_string.h:1919: note: candidates are: int std::basic_string<_CharT, _Traits, _Alloc>::compare(const std::basic_string<_CharT, _Traits, _Alloc>&) const [with _CharT = wchar_t, _Traits = std::char_traits, _Alloc = std::allocator] /usr/lib/gcc/i486-linux-gnu/4.0.4/../../../../include/c++/4.0.4/bits/basic_string.tcc:885: note: int std::basic_string<_CharT, _Traits, _Alloc>::compare(typename _Alloc::size_type, typename _Alloc::size_type, const std::basic_string<_CharT, _Traits, _Alloc>&) const [with _CharT = wchar_t, _Traits = std::char_traits, _Alloc = std::allocator] I'm no C++ programmer, but it looks like a wchar problem. I had to remove the eCos wcharunix.h and replace it with the system wchar.h to get this far. Andrew