On 2013-10-31 15:57+1100 Joost Kuckartz wrote:

> I had to recently update my computer OS, and have shifted from
Windows XP to Windows 7. Additionally, I've shifted from Visual Studio
2010 to Visual Studio 2012.

> After installing and building wxWidgets and shapelib, I tried the
procedure for compiling plplot (from svn trunk). The procedure I use:-
Start a DOS window from the Visual Studio start menu (NOT
start-run-'cmd')- Execute the following commands: cd C:\ mkdir
plplot-static cd plplot-static cmake C:\plplot-trunk -G "NMake
Makefiles" -DCMAKE_INSTALL_PREFIX:PATH="C:\Programming"
-DwxWidgets_LIB_DIR=%WXWIN%\lib\vc_lib -DwxWidgets_CONFIGURATION=mswu
-DBUILD_SHARED_LIBS=OFF (to also compile examples: add option
"-DBUILD_TEST=ON" to the list) nmake nmake install

> If I modify %WXWIN% to my wxWidgets installation directory, it still
results in "ENABLE_wxwidgets: OFF". In the list that comes scrolling
by, I notice no wxwidgets check anymore (compared to the last time I
compiled my version, before the computer update). It also says
"manually-specified variables were not used by the project:
wxWidgets_CONFIGURATION", which to me indicates the wxWidgets checking
ability has been removed.

> Is this a know modification / error, and how to fix this?

Hi Joost:

I have recently gotten wxwidgets to work on the Wine version of
Windows using CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH to help cmake
find the wxwidgets headers and libraries.  I also used
-DBUILD_SHARED_LIBS=ON and I did not specify
-DwxWidgets_CONFIGURATION.

To make further progress please capture the complete cmake output
and also the CMakeCache.txt file and send them to this list as a
compressed tarball attachment.

Even though I don't use wxWidgets_CONFIGURATION myself, I was
surprised that cmake complained that was an unused variable.  That
variable is documented in the CMake-2.8.12 documentation and also the
FindwxWidgets.cmake file that is part of the cmake-2.8.12
installation.  So that message is a clue that something is wrong, but
we will have a much better chance of helping you to figure out what is
wrong if you share with us the complete cmake output and the cmake
cache file requested above.

By the way, part of that cmake output will tell us your cmake version,
and if you are not already using cmake-2.8.12, I recommend you update
to it since that is the one I have been using recently.

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
__________________________

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to