Bennett Helm a écrit :

This should solve your problem until the makefile is fixed.

Thanks, Abdel. I now run into a new problem; any new suggestions?

try to include scoped_ptr at the top of QLMenubar.h:

#include <boost/scoped_ptr.hpp>

Abdel.



Making all in moc
make  all-am
if /bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT3_SUPPORT -DQT_NO_TRANSLATION -I../../../../src -I../../../../src/frontends -I../../../../src/frontends/controllers -I../../../../src/frontends/qt4 -I../../../../src/frontends/qt4 -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.1//include -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.1//include/Qt -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.1//include/QtCore -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.1//include/QtGui -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.1//include/Qt3Support -I../../../../boost -Wextra -Wall -g -Os -MT QLMenubar_moc.lo -MD -MP -MF ".deps/QLMenubar_moc.Tpo" -c -o QLMenubar_moc.lo QLMenubar_moc.C; \ then mv -f ".deps/QLMenubar_moc.Tpo" ".deps/QLMenubar_moc.Plo"; else rm -f ".deps/QLMenubar_moc.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT3_SUPPORT -DQT_NO_TRANSLATION -I../../../../src -I../../../../src/frontends -I../../../../src/frontends/controllers -I../../../../src/frontends/qt4 -I../../../../src/frontends/qt4 -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.1//include -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.1//include/Qt -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.1//include/QtCore -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.1//include/QtGui -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-src-4.1.1//include/Qt3Support -I../../../../boost -Wextra -Wall -g -Os -MT QLMenubar_moc.lo -MD -MP -MF .deps/QLMenubar_moc.Tpo -c QLMenubar_moc.C -o QLMenubar_moc.o
../QLMenubar.h:76: error: 'boost' has not been declared
../QLMenubar.h:76: error: ISO C++ forbids declaration of 'scoped_ptr' with no type
../QLMenubar.h:76: error: expected ';' before '<' token
make[8]: *** [QLMenubar_moc.lo] Error 1
make[7]: *** [all] Error 2
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

Bennett

Reply via email to