Hi Alan,

the frist thing I tried was copying python27.lib to 
python27_d.lib and making sure that it was included in
the link step. This however let to a couple of unresolved
externals - apparently connected to the debugging 
facilities
the actual library offers.

So I guessed that the default Debug configuration was to
blame. I have now set the configuration to Release and
the build process went smoothly. No hiccups.

I can try again with the PYTHON_LIBRARY variable set, just
to see what the result is.

Regards,

Arjen


On Fri, 4 Jan 2013 02:58:51 -0800 (PST)
  "Alan W. Irwin" <[email protected]> wrote:

> Good.  And to answer your above question, look at 
>bindings/python
> CMakeLists.txt.  See the
> 
> swig_link_libraries(plplotcmodule plplot${LIB_TAG} 
>${PYTHON_LIBRARIES})
> 
> there?  Its that PYTHON_LIBRARIES variable that is 
>affecting the
> linking of the plplotcmodule dll.  If you check the
> documentation of CMake (e.g., with cmake --help-full) 
>and look for
> 
>FindPythonLibs
> 
> in those results you will find PYTHON_LIBRARIES 
>documented there. That documentation
> also explicitly states that if you modify the cache 
>variable
> PYTHON_LIBRARY it will change the find variable results 
>and I assume
> that includes PYTHON_LIBRARIES.
> 
> So please try setting -DPYTHON_LIBRARY (not 
>-DPYTHON_LIBRARIES) on the
> cmake command line (like I guessed previously was the 
>answer) to see
> if that solves the issue.

 

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.





------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to