On 2013-01-04 10:51+0100 Arjen Markus wrote:

> It is indeed the FindPython module from CMake that constructs
> the name python27_d.lib on Windows. It seems to represent the
> debug version of the Python library. I am still not able to
> see how this name gets included into the whole build system,
> but I can definitely make progress now.

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.

Alan

__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
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