Any suggestions?

Bennett

-----------

if /bin/sh ../../../libtool --tag=CXX --mode=compile g++-4 - DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE - DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src - I../../../src/frontends -I../../../images -I/Users/bennett/lyx/ gcc-4.0/qt-4.2.0-install//include -I/Users/bennett/lyx/gcc-4.0/ qt-4.2.0-install//include/QtGui -I/Users/bennett/lyx/gcc-4.0/qt-4.2.0- install//include/QtCore -I../../../boost -I../../../src/frontends/ controllers -Wextra -Wall -g -Os -MT FileDialog.lo -MD -MP -MF ".deps/FileDialog.Tpo" -c -o FileDialog.lo FileDialog.C; \ then mv -f ".deps/FileDialog.Tpo" ".deps/FileDialog.Plo"; else rm -f ".deps/FileDialog.Tpo"; exit 1; fi g++-4 -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE - DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src - I../../../src/frontends -I../../../images -I/Users/bennett/lyx/ gcc-4.0/qt-4.2.0-install//include -I/Users/bennett/lyx/gcc-4.0/ qt-4.2.0-install//include/QtGui -I/Users/bennett/lyx/gcc-4.0/qt-4.2.0- install//include/QtCore -I../../../boost -I../../../src/frontends/ controllers -Wextra -Wall -g -Os -MT FileDialog.lo -MD -MP -MF .deps/ FileDialog.Tpo -c FileDialog.C -o FileDialog.o FileDialog.C: In member function 'const std::pair<FileDialog::ResultType, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > FileDialog::save(const lyx::docstring&, const lyx::support::FileFilterList&, const lyx::docstring&)': FileDialog.C:82: error: invalid initialization of reference of type 'const std::string&' from expression of type 'const std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >' ../../../src/support/filetools.h:218: error: in passing argument 1 of 'const std::string lyx::support::makeAbsPath(const std::string&, const std::string&)' FileDialog.C:85: error: no matching function for call to 'QFileDialog::getSaveFileName(QWidget*, const wchar_t*, const QString, const QString)' /Users/bennett/lyx/gcc-4.0/qt-4.2.0-install//include/QtGui/ qfiledialog.h:151: note: candidates are: static QString QFileDialog::getSaveFileName(QWidget*, const QString&, const QString&, const QString&, QString*, QFlags<QFileDialog::Option>) FileDialog.C: In member function 'const std::pair<FileDialog::ResultType, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > FileDialog::open(const lyx::docstring&, const lyx::support::FileFilterList&, const lyx::docstring&)': FileDialog.C:116: error: invalid initialization of reference of type 'const std::string&' from expression of type 'const std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >' ../../../src/support/filetools.h:218: error: in passing argument 1 of 'const std::string lyx::support::makeAbsPath(const std::string&, const std::string&)' FileDialog.C:119: error: no matching function for call to 'QFileDialog::getOpenFileName(QWidget*, const wchar_t*, const QString, const QString)' /Users/bennett/lyx/gcc-4.0/qt-4.2.0-install//include/QtGui/ qfiledialog.h:144: note: candidates are: static QString QFileDialog::getOpenFileName(QWidget*, const QString&, const QString&, const QString&, QString*, QFlags<QFileDialog::Option>) FileDialog.C: In member function 'const std::pair<FileDialog::ResultType, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > FileDialog::opendir(const lyx::docstring&, const lyx::docstring&)': FileDialog.C:146: error: invalid initialization of reference of type 'const std::string&' from expression of type 'const std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >' ../../../src/support/filetools.h:218: error: in passing argument 1 of 'const std::string lyx::support::makeAbsPath(const std::string&, const std::string&)' FileDialog.C:149: error: no matching function for call to 'QFileDialog::getExistingDirectory(QWidget*, const wchar_t*, const QString)' /Users/bennett/lyx/gcc-4.0/qt-4.2.0-install//include/QtGui/ qfiledialog.h:156: note: candidates are: static QString QFileDialog::getExistingDirectory(QWidget*, const QString&, const QString&, QFlags<QFileDialog::Option>)
make[7]: *** [FileDialog.lo] Error 1
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Reply via email to