Hi, Yes this is strange. So can you tell me your version of gcc. I am using 64 bit Ubuntu, and you?
I compiled wxWidgest static, and in debug. What are you using? It seems looking at this down here, that WXUSINGDLL is defined true. I thought that was windows only, but I am not sure. wxWidgets-2.9.1\build\msw\makefile.vc defines it for windows. What happens if you explicitly undefine it in generaldef.h? I have no idea where it is set in Linux, I find it in Makefile.in files all over the place. Will check again this evening. Klaas > -----Original Message----- > From: Stefan Tröger [mailto:stefantro...@gmx.de] > Sent: Thursday, 29 July, 2010 09:43 > To: wxart2d-users_dev@lists.sourceforge.net > Subject: Re: [Wxart2d-users_dev] Compilation Error with wxGTK 2.9.1 > > > Hello, > > I've tested the svn trunk and get the same errors as before. My system > is > Kubuntu 10.04 too, Interesting that it works for you. I copied the > error, > maybe that helps in improving things: > > > [ 18%] Building CXX object > modules/general/src/CMakeFiles/general.dir/comevt.cpp.o > In file included from > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 37, > from > /home/stefan/Workspace/Source/wxArt2D/modules/general/src/comevt.cpp:37 > : > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/gen.h:253 > 7: > error: ‘_List_nod’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/gen.h:253 > 7: > error: ‘_List_nod’ is not a member of ‘std’ > In file included from > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 37, > from > /home/stefan/Workspace/Source/wxArt2D/modules/general/src/comevt.cpp:37 > : > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/gen.h:253 > 7: > error: template argument 1 is invalid > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/gen.h:253 > 7: > error: expected unqualified-id before ‘>’ token > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/gen.h:253 > 8: > error: ‘_List_ptr’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/gen.h:253 > 8: > error: ‘_List_ptr’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/gen.h:253 > 8: > error: template argument 1 is invalid > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/gen.h:253 > 8: > error: expected unqualified-id before ‘>’ token > In file included from > /home/stefan/Workspace/Source/wxArt2D/modules/general/src/comevt.cpp:37 > : > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 801: > error: ‘_List_nod’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 801: > error: ‘_List_nod’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 801: > error: template argument 1 is invalid > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 801: > error: expected unqualified-id before ‘>’ token > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 802: > error: ‘_List_ptr’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 802: > error: ‘_List_ptr’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 802: > error: template argument 1 is invalid > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 802: > error: expected unqualified-id before ‘>’ token > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1524: > error: ‘_List_nod’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1524: > error: ‘_List_nod’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1524: > error: wrong number of template arguments (2, should be 1) > /usr/include/c++/4.4/bits/stringfwd.h:45: error: provided for > ‘template<class > _Alloc> class std::allocator’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1524: > error: expected unqualified-id before ‘>’ token > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1525: > error: ‘_List_ptr’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1525: > error: ‘_List_ptr’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1525: > error: wrong number of template arguments (2, should be 1) > /usr/include/c++/4.4/bits/stringfwd.h:45: error: provided for > ‘template<class > _Alloc> class std::allocator’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1525: > error: expected unqualified-id before ‘>’ token > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1636: > error: ‘_List_nod’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1636: > error: ‘_List_nod’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1636: > error: template argument 1 is invalid > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1636: > error: expected unqualified-id before ‘>’ token > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1637: > error: ‘_List_ptr’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1637: > error: ‘_List_ptr’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1637: > error: template argument 1 is invalid > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 1637: > error: expected unqualified-id before ‘>’ token > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 2433: > error: ‘_List_nod’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 2433: > error: ‘_List_nod’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 2433: > error: template argument 1 is invalid > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 2433: > error: expected unqualified-id before ‘>’ token > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 2434: > error: ‘_List_ptr’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 2434: > error: ‘_List_ptr’ is not a member of ‘std’ > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 2434: > error: template argument 1 is invalid > /home/stefan/Workspace/Source/wxArt2D/modules/general/include/comevt.h: > 2434: > error: expected unqualified-id before ‘>’ token > make[2]: *** [modules/general/src/CMakeFiles/general.dir/comevt.cpp.o] > Error 1 > make[1]: *** [modules/general/src/CMakeFiles/general.dir/all] Error 2 > make: *** [all] Error 2 > > > Regards, > Stefan > > > > > On Wednesday 28 July 2010 22:49:14 klaas.holwerda wrote: > > Hi, > > > > Today i committed some changes. > > For me the current SVN head works for vc2008 and Ubuntu 10.04. > > Please let me know if there are still problems. > > > > Regards, > > > > Klaas > > > > On 07/27/2010 01:15 PM, Ger Hobbelt wrote: > > > Heh. Ran into that very same issue last week (I'm still in the > process > > > of making wxArt2D play real nice with bleeding edge (read: > > > CVS/SVN/whatever HEAD versions of ...) wxWidgets and agg2 (sans > wxLua > > > -- too much hassle and not mandatory for me right now). > > > > > > The issue is not with wx but with the std libs: the _List_nod/ptr > is > > > apparently some internals stuff that's MSVC specific. :-S Anyhow, > > > track down the error lines and you'll see it's complaining > everywhere > > > where you find a template class std::allocator<...> line. > > > The temporary hack was to add '&& 0' to the surrounding #ifdef > > > WXUSINGDLL line, pending a better idea once I move from > > > Kubuntu10/64-bit back to MSVC2008 and find out what sort of trouble > I > > > caused for myself with that ugly hack. > > > > --------------------------------------------------------------------- > ------ > > --- The Palm PDK Hot Apps Program offers developers who use the > > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > > of $1 Million in cash or HP Products. Visit us here for more details: > > http://p.sf.net/sfu/dev2dev-palm > > _______________________________________________ > > Wxart2d-users_dev mailing list > > Wxart2d-users_dev@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev > > ----------------------------------------------------------------------- > ------- > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Wxart2d-users_dev mailing list > Wxart2d-users_dev@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev