Hi Thorsten,

remarkable! I have no idea as to the status of this version of the SDK, but I 
do know that these things may be referenced by macros within Visual Studio. Hm, 
some documentation I stumbled upon makes clear these libraries are part of the 
Platform SDK and VS does not know anything about them.

Perhaps this requires an extra module for finding them. For the time being we 
might introduce a CMake variable to set the path, along the lines of 
wxWidgets_LIB_DIR, wxWidgets_WIN_SDK_DIR perhaps?

(Or it can be done inside the module - that would be better)

I will have a look at this.

Regards,

Arjen

> -----Original Message-----
> From: Thorsten Behrens [mailto:thorsten.behr...@dorunth.de]
> Sent: Friday, April 04, 2014 3:57 PM
> To: PLplot development discussion
> Subject: Re: [Plplot-devel] Wrong linker directives for Visual Studio 2010
>
> Hi Arjen!
>
> >> Can I just enter this path in FindwxWidgets.cmake by replacing
> >>      list(APPEND wxWidgets_LIBRARIES winmm comctl32 rpcrt4 wsock32) with
> >>      list(APPEND wxWidgets_LIBRARIES C:\Program Files (x86)\Microsoft
> >> SDKs\Windows\v7.0A\Lib\comctl32.lib C:\Program Files (x86)\Microsoft
> >> SDKs\Windows\v7.0A\Lib\rpcrt4.lib)
> >> ?
> >
> > I'd say so, but put the full names in quotes (") as they contain
> > spaces and change \ to /.
> >
> > Now let's keep our fingers crossed ...
>
> Good, that you crossed your fingers ;-)
>
> Now, by replacing
>    list(APPEND wxWidgets_LIBRARIES winmm comctl32 rpcrt4 wsock32) with
>    list(APPEND wxWidgets_LIBRARIES "C:/Program Files (x86)/Microsoft
> SDKs/Windows/v7.0A/Lib/comctl32.lib" "C:/Program Files (x86)/Microsoft
> SDKs/Windows/v7.0A/Lib/rpcrt4.lib")
> all three projects, i.e. wxwidgets, plplotwxwidgets and wxPLplotDemo, compile 
> in
> Visual Studio 2010.
>
> This means, that obviously winmm.lib and wsock32.lib are not needed by any of
> these projects.
>
> Anyway, this problem will occur again as soon as someone else downloads PLplot
> and tries to use it with wxWidgets.
>
> --
> Best regards,
> Thorsten
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel

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.

------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to