On Thu, Jun 12, 2008 at 1:33 PM, Vincent Ferries
<vin...@gm...> wrote:
> I added some different call_policies to wrap some functions.
> These functions where not fully wrapped due to missing informations on
> call_policies.
> I added the following call_policy :
>
> function.call_policies =
> call_policies.return_value_policy(call_policies.return_pointee_value)
>
> I encounter problems during compilation :
>
> wrappers/NastranMaterial.pypp.cpp: In function 'void
> register_NastranMaterial_class()':
> wrappers/NastranMaterial.pypp.cpp:179: error: 'pyplusplus' was not
> declared in this scope
> wrappers/NastranMaterial.pypp.cpp:179: error: template argument 1 is invalid
> scons: *** [wrappers/NastranMaterial.pypp.os] Error 1
> scons: building terminated because of errors.
>
> There is nothing in the examples on call_policies I haven't in my python script.
> Am I missing something?
Do you replace "include" files? Can you post NastranMaterial.pypp.cpp file?
Thanks
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
|