Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2007-06-03 23:32:47


on Thu May 31 2007, "chun ping wang" <cablepuff-AT-gmail.com> wrote:

> chun ping wang <cablepuff_at_[hidden]> 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<T, std::allocator<_
> CharT> > operator-(CONT<T, std::allocator<_CharT> >, CONT<T, std::allocator<_Cha
> rT> >)':

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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net