Hi Alan!

I encountered three projects (as it is called within Visual Studio) that
can't be built due to errors in the linker include definition. wxwidgets, plplotwxwidgets and wxPLplotDemo all contain four linker
includes each that are not correctly defined for Visual Studio. Instead
of giving these libs as winmm.lib, comctl32.lib, rpcrt4.lib and
wsock32.lib they are given as -L+winmm.lib, -L+comctl32.lib,
-L+rpcrt4.lib and -L+wsock32.lib. Removing the prefix "-L+" within the
properties of all three projects makes them build without further
problems. I assume this prefix might be used either on a Unix platform
or with some other compiler environment. A search for the string "-L+"
reveals .\cmake\modules\language_support\cmake\CMakeDInformation.cmake
as the only source file containing it.

Thanks for this report.  But could you send more details please? In
particular I need the exact command-line command you used to invoke
cmake, the complete stderr and stdout from running that command, and
the resulting CMakeCache.txt file.  Please wrap those various results
in a compressed tarball which you attach to a post to this mailing
list.

The command line I used was this:
cmake -G "Visual Studio 10" -DBUILD_TEST=ON -DwxWidgets_LIB_DIR=%WXWINDLL% I:\PLplot\PLplot-5.10.0

Please finde the command line output to stdout and stderr as well as the resulting CMakeCache.txt file attached.

All your above linking issues were with wxwidgets components of the
PLplot build so it is possible that the CMake find module for
wxwidgets is giving strangely formatted build information on your
particular Windows platform which is confusing the PLplot build
system. Of course, to investigate that possibility I need all the
requested information above.

I have wxWidgets V3.0.0 installed. Installation for wxWidgets is rather straight forward, i.e. extract it, compile all of it and set some environment variables and extend the PATH.

wxWidgets is installed at F:\wxWidgets-3.0.0 on my platform. All modules compiled fine after extracting it there. The following environment variables have been set afterwards:
WXWIN=F:\wxWidgets-3.0.0
WXWINDLL=F:\wxWidgets-3.0.0\lib\vc_lib
PATH=...;%WXWIN%\lib\vc_dll

--
Gruß,
Thorsten

Attachment: build.tar.gz
Description: GNU Zip compressed data

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

Reply via email to