[ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10

Lars Poeschel larsi@wh2.tu-dresden.de
Fri Mar 16 01:26:00 GMT 2007


Am Donnerstag, 15. März 2007 22:20 schrieb Tales Toledo:
> Hi Lars,
>
> Regarding the compiling problem seems that is related with wxWidgets
> version. I was using 2.6 and now move to 2.4 and also have problems
> but in another file.
> Some declarations/functions have changed.

I don't know what is in Andreas Fritiofson's patch or if the cvs sources 
changed shortly, I will investigate on this and create a new patch if 
necessary next week.
The problem the compiler is encountering is some unicode issue. wxStrings 
printf cannot handle char and wchar_t in one function call.

> At your "patch e-mail" you mentioned that you have used distribution
> installed wxwidgets. Do you know which version was it?

Every 2.6 version is fine. (2.6.3 for example) As mentioned, you do NOT have 
to install a seperate version of wxWidgets. You can use the one supplied with 
your distributions packaging system.

> On 3/15/07, Tales Toledo <toledo.tales@gmail.com> wrote:
> > Hi again,
> >
> > it works, at least for configure command and autoreconf :-(
> >
> > > You don't have to change some lines in some files!! You have to supply
> > > the --with-tcl=8.4 on the configure command line.
> > > You had:
> >
> > In my case I need to use only --with-tcl-version=8.4
> >
> > > Correct should be:
> > >
> > > ~/ecos-build$ /home/toledo/cvs20070315/ecos/host/configure
> > > --prefix=/home/toledo/ecos-build --with-tcl=8.4
> >
> > The complete command line was
> > ~/ecos-build$ /home/toledo/cvs20070315/ecos/host/configure
> > --prefix=/home/toledo/ecos-tools --with-tcl-version=8.4
> >
> > I also apply Andreas Fritiofson (06-08-24) patch since I had some
> > errors after make command. I'm using gcc (GCC) 4.1.2 20060928
> > (prerelease).
> >
> > Everything was going fine until I found a new problem as you can see
> > in the folowing lines
> >
> > ---------------------
> > /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp:560:
> > error: no matching function for call to 'wxString::Printf(const char
> > [151], const wchar_t [6], const char [12], const char [9])'
> > /usr/include/wx-2.6/wx/string.h:1080: note: candidates are: int
> > wxString::Printf(const wxChar*, ...)
> > /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp:
> > In member function 'void
> > ecMainFrame::OnBuildToolsPath(wxCommandEvent&)':
> > /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp:1265
> >: warning: comparison between signed and unsigned integer expressions
> > /home/toledo/ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp:1281
> >: warning: comparison between signed and unsigned integer expressions
> > make[2]: *** [mainwin.o] Error 1
> > make[2]: Leaving directory
> > `/home/toledo/ecos-build/tools/configtool/standalone/wxwin'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory
> > `/home/toledo/ecos-build/tools/configtool/standalone/wxwin'
> > make: *** [all-recursive] Error 1
> > ---------------------
> >
> > Seems to be compiler problem again, I will try to fix it but if
> > someone have a suggestion or even have the same problem solved I
> > appreciate any help.
> >
> > Thx
> > TT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20070316/d55f900e/attachment.sig>


More information about the Ecos-discuss mailing list