Hi Alan,

On Fri, 15 Mar 2013 09:48:03 -0700 (PDT)
  "Alan W. Irwin" <[email protected]> wrote:


> 
> Yes, a static runtime (a user decision concerning which 
>Microsoft core
> libraries should be used) is a completely different 
>issue than whether
> the PLplot libraries are built as shared or static.  If 
>PLplot
> libraries are built as static, you are going to see a 
>problematic
> mixture of code compiled from both C and C++ sources in 
>libplplotd
> (until someone fixes that issue for the PLplot static 
>libraries'
> case). If PLplot libraries are built as shared then they 
>should
> contain nothing but code compiled from C sources.
> 

Oh, my mistake. But still, dropping that option I still
get these error messages:

[ 34%] Built target plplotd
Scanning dependencies of target plplotcxxd
[ 34%] Building CXX object 
bindings/c++/CMakeFiles/plplotcxxd.dir/plstream.cc.obj
plstream.cc
Linking CXX shared library ..\..\dll\plplotcxxd.dll
    Creating library ..\..\dll\plplotcxxd.lib and object 
..\..\dll\plplotcxxd.exp

[ 34%] Built target plplotcxxd
Scanning dependencies of target plplotwxwidgetsd
[ 35%] Building CXX object 
bindings/wxwidgets/CMakeFiles/plplotwxwidgetsd.dir/wxPLplotstream.cpp.obj
wxPLplotstream.cpp
[ 35%] Building CXX object 
bindings/wxwidgets/CMakeFiles/plplotwxwidgetsd.dir/wxPLplotwindow.cpp.obj
wxPLplotwindow.cpp
d:\tmp\plplot\bindings\wxwidgets\wxPLplotwindow.h(36) : 
warning C4275: non dll-interface class 'wxWindow' used as 
base for dll-interface class 'wxPLplotwindow'
         D:\wxWidgets\include\wx/msw/window.h(32) : see 
declaration of 'wxWindow'
         d:\tmp\plplot\bindings\wxwidgets\wxPLplotwindow.h(35) 
: see declaration of 'wxPLplotwindow'
Linking CXX shared library ..\..\dll\plplotwxwidgetsd.dll
msvcprt.lib(MSVCP100.dll) : error LNK2005: "void __cdecl 
std::_Xlength_error(char const *)" 
(?_Xlength_error@std@@YAXPBD@Z) already defined in 
libcpmt.lib(xthrow.obj)

msvcprt.lib(MSVCP100.dll) : error LNK2005: "void __cdecl 
std::_Xout_of_range(char const *)" 
(?_Xout_of_range@std@@YAXPBD@Z) already defined in 
libcpmt.lib(xthrow.obj)
...

I think I need to recompile wxWidgets with the /MT flag to
get rid of this incompatibility. Hopefully that is not too
much work - there are dozens of "projects" in the 
wxWidgets
"solution".

Regards,

Arjen

 

DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.





------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to