Ok. Unfortunately, I don't have time to dig into this at the moment, and
in the end, I don't think it will be an issue for me since I always use
static anyway.

It should probably be corrected at some point to promote wider
acceptance and usage of the wxArt2D package.

Thanks,
David


On 4/18/2011 11:30 AM, HOLWERDA Klaas wrote:
> Well that is all template initiation, which is microsoft  crap needed for dll.
> Horrible to make it work, and the reason why I always use static.
> Klion long gone from here, did get it to work by trial and error.
>
> I suspect that the implementation of std has changed a little.
>
> Try first by out commenting those lines, if you get linking errors, you know 
> what to do.
>
> Again not tested for some years, I only try to not remove it.
>
> If you search for WXUSINGDLL, you will see in several modules/libs the same.
>
> I think the idea is that if you initiate template list std in some lib, you 
> need to DLL export it.
> If not you get linking errors.
>
> Klaas
>
>> -----Original Message-----
>> From: damateem [mailto:damate...@gmail.com]
>> Sent: Monday, 18 April, 2011 17:11
>> To: wxart2d-users_dev
>> Subject: [Wxart2d-users_dev] '_List_nod' is not a member of 'std'
>>
>> To build with shared libraries and mingw, I do the following.
>>
>> cmake -DwxWidgets_USE_DEBUG:BOOL=0 -
>> DwxWidgets_USE_MONOLITHIC:BOOL=0
>> -DwxWidgets_USE_UNICODE:BOOL=0 -DwxWidgets_USE_STATIC:BOOL=0 -G
>> "CodeBlocks - MinGW Makefiles"
>> c:\user_data\david\code\source_pool\wxArt2D\packages\wxdocview
>>
>> mingw32-make
>>
>> This results in the following error
>>
>> [  1%] Building CXX object
>> general/src/CMakeFiles/general.dir/comevt.cpp.obj
>> In file included from
>> c:\user_data\david\code\source_pool\wxArt2D\packages\wxdo
>> cview\include/wx/general/comevt.h:37,
>>                  from
>> c:\user_data\david\code\source_pool\wxArt2D\packages\wxdo
>> cview\general\src\comevt.cpp:37:
>> c:\user_data\david\code\source_pool\wxArt2D\packages\wxdocview\inclu
>> de/wx/gener
>> al/gen.h:2549: error: '_List_nod' is not a member of 'std'
>> c:\user_data\david\code\source_pool\wxArt2D\packages\wxdocview\inclu
>> de/wx/gener
>> al/gen.h:2549: error: '_List_nod' is not a member of 'std'
>> In file included from
>> c:\user_data\david\code\source_pool\wxArt2D\packages\wxdo
>> cview\include/wx/general/comevt.h:37,
>>                  from
>> c:\user_data\david\code\source_pool\wxArt2D\packages\wxdo
>> cview\general\src\comevt.cpp:37:
>> c:\user_data\david\code\source_pool\wxArt2D\packages\wxdocview\inclu
>> de/wx/gener
>> al/gen.h:2549: error: template argument 1 is invalid
>> c:\user_data\david\code\source_pool\wxArt2D\packages\wxdocview\inclu
>> de/wx/gener
>> al/gen.h:2549: error: expected unqualified-id before '>' token
>> c:\user_data\david\code\source_pool\wxArt2D\packages\wxdocview\inclu
>> de/wx/gener
>> al/gen.h:2550: error: '_List_ptr' is not a member of 'std'
>> c:\user_data\david\code\source_pool\wxArt2D\packages\wxdocview\inclu
>> de/wx/gener
>> al/gen.h:2550: error: '_List_ptr' is not a member of 'std'
>> c:\user_data\david\code\source_pool\wxArt2D\packages\wxdocview\inclu
>> de/wx/gener
>> al/gen.h:2550: error: template argument 1 is invalid{etc.....}
>>
>> The problem goes away when I use static libraries (-
>> DwxWidgets_USE_STATIC:BOOL=1).
>>
>> What is causing this error? I saw some mention of it in the archives, but
>> wasn't able to totally understand the problem.
>>
>> Thanks,
>> David
>>
>> ------------------------------------------------------------------------------
>> Benefiting from Server Virtualization: Beyond Initial Workload
>> Consolidation -- Increasing the use of server virtualization is a top
>> priority.Virtualization can reduce costs, simplify management, and improve
>> application availability and disaster protection. Learn more about boosting
>> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
>> _______________________________________________
>> Wxart2d-users_dev mailing list
>> Wxart2d-users_dev@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev
> ------------------------------------------------------------------------------------------------------------
> Disclaimer:
>
> If you are not the intended recipient of this email, please notify the sender 
> and delete it. 
> Any unauthorized copying, disclosure or distribution of this email or its 
> attachment(s) is forbidden. 
> Thales Nederland BV will not accept liability for any damage caused by this 
> email or its attachment(s). 
> Thales Nederland BV is seated in Hengelo and is registered at the Chamber of 
> Commerce under number 06061578.
> ------------------------------------------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload 
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve 
> application availability and disaster protection. Learn more about boosting 
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Wxart2d-users_dev mailing list
> Wxart2d-users_dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to