[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Includes in wrapper library
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2016-11-21 15:00:34
Message-ID: 5FB414BF-9AE2-4CE2-A877-6FA9197A6416 () riverbankcomputing ! com
[Download RAW message or body]
On 21 Nov 2016, at 2:54 pm, Jay L. <jlaura@asu.edu> wrote:
>
> I am not calling those libraries, but when running sip from the command line (on my \
> wrapper):
> In file included from /data/mylib/inc/ControlPoint.h:32:0,
> from py_mylib/bundle/ControlPoint.sip:5:
> /data/mylib/inc/SurfacePoint.h:28:45: fatal error: \
> boost/numeric/ublas/symmetric.hpp: No such file or directory
> ControlPoint.sip include has:
>
> 4 %TypeHeaderCode
> 5 #include "ControlPoint.h"
> 6 %End
>
> ControlPoint.h has the include to boost - which is causing the error. I am not \
> explicitly calling boost from the Python side - the wrapped CPP is though. In this \
> case, I have to include the necessary boost libraries/headers?
Headers - yes. Libraries - maybe, it depends on exactly how the 3rd party library is \
being used.
A well designed library would hide all its internal dependencies.
Phil
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic