[C++-sig] Using py++ GCCXML error (type definition ?)
Coockie_jr
achille.talon at gmail.com
Wed Jun 27 16:17:08 CEST 2007
Roman Yakovenko wrote:
>
>
>
>>>>I don't think you are missing something. Did you succeed to compile the
files with your compiler?
> I managed to compile the files when removing the external references ( in
> this example the Inet type). Bjam generated the .pyd file without any
> problems :)
>
>>>>Can you post small & complete example that reproduce the problem?
> Here's my simple example Address.h
>
> class Address
> {
> unsigned long m_ip;
> unsigned short m_port;
> public:
> Address(void);
> Address(unsigned long ip,unsigned short port);
> Address(Inet& ip,unsigned short port); // Here's the "Inet" problem
> Address(char* addr,unsigned short port);
> ~Address(void);
>
> unsigned long getIp()const{
> return m_ip;
> }
>
> void setIp(unsigned long ip){
> m_ip = ip;
> }
>
> unsigned short getPort()const{
> return m_port;
> }
>
> void setPort(unsigned short port){
> m_port = port;
> }
>
>
> };
>
>
>
>
>
>>>>Py++ GUI also has an option to add include paths, did you tried it?
> Yes I set the path to the directory with all my header files, though it
> would be the solution but I guess not
>
>
> Thanks for your time
>
>
> --
> Roman Yakovenko
> C++ Python language binding
> http://www.language-binding.net/
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
>
>
--
View this message in context: http://www.nabble.com/-C%2B%2B-sig--Using-py%2B%2B-GCCXML-error-%28type-definition--%29-tf3988097.html#a11325302
Sent from the Python - c++-sig mailing list archive at Nabble.com.
More information about the Cplusplus-sig
mailing list