On Sun, 2 Nov 2003 11:39:59 +0100 nerijus <[EMAIL PROTECTED]> wrote: n> It still does not work with GTK2, only compiles. If you want, you n> can work in this direction.
Thanks for the suggestion but about the only skills in C++ I have at present are figuring what .h file to add to what .cpp file to make them compile. That is why getting Python up and going is taking so long. As it is, everything I do is with reference to my copy of "Python Essential Reference" Second Edition by David Beazley the SWIG author which also has a SWIG chapter. I suspect that if a Python/C++ guru like Vadim was on the case, it would only be a few hours or less of work especially because he is so much more familiar with what files to look in for what code. I am going to do a snap compile and capture the errors and put it up for comments as to where I should look / suggestions. Hmm, that was such a good idea, I did it ;-) MailFolder.i c++ -o Python/MailFolder.o -c -I/home/markl/projects/M/build/include -I/home/markl/projects/M/include -I/usr/local/include/python2.3 -DNO_IDEA -DNO_DSA -DOPENSSL_NO_KRB5 -DDEBUG -DDEBUG_markl -I/usr/local/lib/wx/include/gtkd-2.5 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/home/markl/projects/M/extra/include -I/home/markl/projects/M/build/extra/src/c-client -I/home/markl/projects/M/extra/src/compface -I/home/markl/projects/M/src/wx/vcard -fno-exceptions -fno-rtti -fno-operator-names -g3 -O0 -MMD -Wall Python/MailFolder.cpp Python/MailFolder.cpp: In function `PyObject* _wrap_MailFolder_CreateFolder(PyObject*, PyObject*)': Python/MailFolder.cpp:764: no method `MailFolder::CreateFolder' Python/MailFolder.cpp: In function `PyObject* _wrap_MailFolder_ConvertMessageStatusToString(PyObject*, PyObject*)': Python/MailFolder.cpp:796: no method `MailFolder::ConvertMessageStatusToString' Python/MailFolder.cpp: In function `PyObject* _wrap_MailFolder_SetSequenceFlag(PyObject*, PyObject*)': Python/MailFolder.cpp:1101: no matching function for call to `MailFolder::SetSequenceFlag(const wxString&, int&, bool&)' /home/markl/projects/M/include/MailFolder.h:619: candidates are: virtual bool MailFolder::SetSequenceFlag(MailFolder::SequenceKind, const Sequence&, int, bool = true) /home/markl/projects/M/include/MailFolder.h:623: bool MailFolder::SetSequenceFlag(const Sequence&, int, bool = true) Python/MailFolder.cpp: In function `PyObject* _wrap_FolderListingEntry_GetName(PyObject*, PyObject*)': Python/MailFolder.cpp:1739: `FolderListingEntry' undeclared (first use this function) Python/MailFolder.cpp:1739: (Each undeclared identifier is reported only once for each function it appears in.) Python/MailFolder.cpp:1739: `arg1' undeclared (first use this function) Python/MailFolder.cpp:1739: parse error before `)' token Python/MailFolder.cpp: In function `PyObject* _wrap_FolderListingEntry_GetAttribute(PyObject*, PyObject*)': Python/MailFolder.cpp:1759: parse error before `)' token Python/MailFolder.cpp: In function `PyObject* _wrap_delete_FolderListingEntry(PyObject*, PyObject*)': Python/MailFolder.cpp:1776: parse error before `)' token make[1]: *** [Python/MailFolder.o] Error 1 make[1]: Leaving directory `/home/markl/projects/M/build/src' make: *** [all] Error 2 MAppBase.i /usr/bin/swig -I.src/Python/ -c++ -python -shadow -c -o Python/MAppBase.cpp .src/Python/MAppBase.i c++ -o Python/MAppBase.o -c -I/home/markl/projects/M/build/include -I/home/markl/projects/M/include -I/usr/local/include/python2.3 -DNO_IDEA -DNO_DSA -DOPENSSL_NO_KRB5 -DDEBUG -DDEBUG_markl -I/usr/local/lib/wx/include/gtkd-2.5 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/home/markl/projects/M/extra/include -I/home/markl/projects/M/build/extra/src/c-client -I/home/markl/projects/M/extra/src/compface -I/home/markl/projects/M/src/wx/vcard -fno-exceptions -fno-rtti -fno-operator-names -g3 -O0 -MMD -Wall Python/MAppBase.cpp Python/MAppBase.cpp: In function `PyObject* _wrap_MDialog_FileRequester(PyObject*, PyObject*)': Python/MAppBase.cpp:965: conversion from `const wxString' to `String&' discards qualifiers Python/MAppBase.cpp:967: conversion from `const wxString' to `String&' discards qualifiers Python/MAppBase.cpp:969: conversion from `const wxString' to `String&' discards qualifiers Python/MAppBase.cpp:971: conversion from `const wxString' to `String&' discards qualifiers Python/MAppBase.cpp:1024: invalid conversion from `const wxChar*' to `char*' make[1]: *** [Python/MAppBase.o] Error 1 make[1]: Leaving directory `/home/markl/projects/M/build/src' make: *** [all] Error 2 MProfile.i c++ -o Python/MProfile.o -c -I/home/markl/projects/M/build/include -I/home/markl/projects/M/include -I/usr/local/include/python2.3 -DNO_IDEA -DNO_DSA -DOPENSSL_NO_KRB5 -DDEBUG -DDEBUG_markl -I/usr/local/lib/wx/include/gtkd-2.5 -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/home/markl/projects/M/extra/include -I/home/markl/projects/M/build/extra/src/c-client -I/home/markl/projects/M/extra/src/compface -I/home/markl/projects/M/src/wx/vcard -fno-exceptions -fno-rtti -fno-operator-names -g3 -O0 -MMD -Wall Python/MProfile.cpp Python/MProfile.cpp: In function `PyObject* _wrap_Profile_SetPath(PyObject*, PyObject*)': Python/MProfile.cpp:846: no matching function for call to `Profile::SetPath(wxString&)' make[1]: *** [Python/MProfile.o] Error 1 make[1]: Leaving directory `/home/markl/projects/M/build/src' make: *** [all] Error 2 InitPython.cpp Python/InitPython.o(.text+0x439): In function `InitPython()': /home/markl/projects/M/build/src/.src/Python/InitPython.cpp:137: undefined reference to `initMStringc' Python/InitPython.o(.text+0x43e):/home/markl/projects/M/build/src/.src/Python/InitPython.cpp:142: undefined reference to `initMObjectc' collect2: ld returned 1 exit status make[1]: *** [M] Error 1 make[1]: Leaving directory `/home/markl/projects/M/build/src' make: *** [all] Error 2 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
