#1 compilation problem

v1.0 (example)
open-fixed
nobody
None
5
2007-06-20
2007-06-15
Anonymous
No

i got this error on make:

make all-am
make[1]: Entrando no diret��rio `/opt/SRC/SimBar'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o `test -f 'src/main.cc' || echo './'`src/main.cc; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
src/main.cc: In function ���std::string wx2std(const wxString&)���:
src/main.cc:46: error: no matching function for call to ���wxString::wc_str() const���
/usr/local/include/wx-2.8/wx/string.h:942: note: candidates are: const wxWCharBuffer wxString::wc_str(const wxMBConv&) const
src/main.cc: In member function ���void MyFrame::OnPaint(wxPaintEvent&)���:
src/main.cc:894: warning: taking address of temporary
src/main.cc:917: warning: taking address of temporary
make[1]: ** [main.o] Erro 1
make[1]: Saindo do diret��rio `/opt/SRC/SimBar'
make: ** [all] Erro 2

######################################
im trying to build with a newly compiled wxgtk 2.8.4.

slackjr@hotmail.com

Discussion

    • milestone: --> v1.0 (example)
    • status: open --> open-fixed
     
  • Logged In: YES
    user_id=1810915
    Originator: NO

    SVN version compiles now