on Thu May 31 2007, "chun ping wang"
chun ping wang
wrote: hi , while trying to compile boost.python i get these following errors.
ar: creating ./lib/libOperatingSystem.a ranlib ./lib/libOperatingSystem.a rm -f ./lib/DeadLockAvoid.o ./lib/ContainerOperation.o make[1]: Leaving directory `C:/CPW/cs_classes' g++.exe -Wall -D__DEBUG__ -c ./cs540/c++/DeadLockPythonWrapper.cpp -o ./boost_py thon/DeadLockPythonWrapper.o -I"C:/Boost/include/boost_1_34" -I"C:/Python25/inc lude" -I"./Scripts" -ansi -fexceptions -fverbose-asm -fexpensive-optimization s -O3 -pg -g3 In file included from ./cs540/c++/DeadLockPythonWrapper.cpp:7: ./cs540/c++/cppdef/ContainerOperation.cpp: In function `CONT
> operator-(CONT >, CONT >)':
Clearly you're not compiling Boost.Python. There is no such source file as ContainerOperation.cpp in that library.
Is there a way to integerate lambda into boost python.
OperatingSystemLib.mak works .. i just can't put lambda inside implementation file for boost.python.
I suggest that you're missing an #include somewhere, but it has little or nothing to do with Boost.Python. Probably you need #include "boost/lambda.hpp" but I'm only guessing. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com