Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Do not understand these messages

Date2008-09-17 14:03
FromMichael Gogins
SubjectRe: [Cs-dev] Do not understand these messages
These warnings can be ignored. 

The first one means that Event derives from ublas::vector, but SWIG does not know how to generate Python wrapper code for ublas::vector. I tried to get SWIG to wrap this with the recommended %template directive, but it didn't work. I probably could have succeeded with more work, i.e. by writing some additional typemaps, but I settled for adding a few convenience functions instead.

Similarly for Midifile. In this case, it would have been pretty easy to wrap std::map as SWIG can do that with the recommended %template directive, but there was no particular reason to wrap it, Python programmers don't need this level of access here.

Regards,
Mike

-----Original Message-----
>From: jpff 
>Sent: Sep 17, 2008 4:29 AM
>To: csound-devel@lists.sourceforge.net
>Subject: [Cs-dev] Do not understand these messages
>
>frontends/CsoundAC/Event.hpp:76: Warning(401): Nothing known about base class 'ublas::vector'. Ignored.
>frontends/CsoundAC/Event.hpp:76: Warning(401): Maybe you forgot to instantiate 'ublas::vector' using %template.
>frontends/CsoundAC/Midifile.hpp:123: Warning(401): Nothing known about base class 'std::map'. Ignored.
>frontends/CsoundAC/Midifile.hpp:123: Warning(401): Maybe you forgot to instantiate 'std::map' using %template.
>C++ analysis...
>
>==John ffitch
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net