Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2004-03-12 14:21:55


Shunming Fang <shunm_fang_at_[hidden]> writes:

> Heollo, guys,
> I try to wrap a c++ extension class requiring qt lib
> through boost.python, I failed always because of the
> following error:
> c:\Python23\include\object.h(343): error C2059: syntax
> error : ';'
>
> My code will link to qt-2.30nc lib (window version).
> I don't know why. Can someone give ahint how to fix
> it?

Your first #include file must always be a Boost.Python header.

HTH,

-- 
Dave Abrahams
Boost Consulting
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