Hi,<div><br></div><div>I am facing a problem while wrapping a C++ class with SIP. This class inherits another non-standard user-defined class and not the standard Qt classes like QLabel etc. as given in the examples. When I try to compile it, it gives me the following error:</div>

<div><div><br></div><div>vipul@vipul-laptop:~/ossim-svn/src/pyossim/sip/current$ python config.py </div><div>sip: ossimPlanetQtLegendItem has not been defined</div><div>Error: Unable to open "./pyossim.sbf"</div>

</div><div><br></div><div>Here is the class I am trying to wrap: <a href="http://paste.debian.net/125806/">http://paste.debian.net/125806/</a></div><div>And this is the corresponding SIP file: <a href="http://paste.debian.net/125817/">http://paste.debian.net/125817/</a></div>

<div><br></div><div>Also, I had another doubt. How do I wrap #ifndef, #define, #endif macro definitions using SIP? </div><div><br></div><div>Kindly help.</div><div><br></div><div>Thanks and Regards,</div><div><div><div><div>

<div><div><div><div><font class="Apple-style-span" face="verdana, sans-serif">Vipul Raheja</font></div></div></div></div></div></div></div>
</div>