Phil,

I force stopped the INSTALL and tried again.  I do not have my previous notes but I thought ALL_BUILD may work (help).

After running ALL_BUILD and then doing INSTALL I got the following errors.

The release build seemed to work with the exception of the following error.

10>-- Install configuration: "Release"
10>CMake Error at cmake_install.cmake:44 (file):
10>  file cannot create directory: C:/Program Files/plplot/share/doc/plplot.
10>  Maybe need administrative privileges.

The debug build stopped with the following error

Error    MSB3073    The command "setlocal
"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd" exited with code 1.    INSTALL    C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets 138

When I did the Cmake I pointed to C:\plplot-5.15.0\build as suggested in the instructions.  So I am surprised something tried to write to Program Files.  It is my computer, I do have admin privileged but did not build from an admin Command Prompt, I used a VS developer Command Prompt.

I see quite a bit of stuff deposited in the build dir.  There are dll's in both the Debug and Release folders, though no source code of headers in the include dir, just more projects and plhershey-unicode-gen applications.  Based on my last build there should be a set of headers.  They may be in a different folder. It is possible that I have all I need but will have to hunt for it.

Any input on the above errors would be appreciated.

David


On 8/27/2019 8:05 PM, Phil Rosenberg wrote:
Hi David
Any chance you could report the exact cmake command you are using and the exact error message you are getting?

I also use plplot with wxwidgets and VS, so I'll see if I can help as best as I can.

Phil

Get Outlook for Android <https://aka.ms/ghei36>

------------------------------------------------------------------------
*From:* David Bergman <stuntguitar1...@gmail.com>
*Sent:* Wednesday, August 28, 2019 12:27:21 AM
*To:* plplot-general@lists.sourceforge.net <plplot-general@lists.sourceforge.net>
*Subject:* [Plplot-general] Problems with plPlot VS 2017 build
All,

I had a drive fail recently, data is all backed up, but I am now
installing s/w and getting newer versions of wxWidgets and plPlot.
Unfortunately, following the plPlot instructions to the best of my
ability did not lead to success.

The cmake seemed to work without a hitch, but would not install in my
build directory.  I moved files into build and opened and ran the sln
from there.  The sln reported 2 successful and 1 failed at the end of
the build.  I see no dll or lib anywhere.

I had similar issues with my first plplot install a couple years ago and
was able to get help from this forum and hope that I can again.

I have Windows 8.1, wxWidgets-3.1.2, MS VS 2017 and am trying to build
plplot-5.15.0.

Since my last request for help I have been developing quite a bit of
simulation software that is controlled by the wxWidgets GUI and displays
results using plplot.  If you could please confirm that code written
will work once the new install is complete I would greatly appreciate
it.  I of course expect to have to change paths to include directories
and point to new dll as needed but are there are major changes to plplot
functions, interfaces, or expected behavior?

Thank you in advance for your help.

David

--
David Bergman
David R Bergman Music LLC
"Have Guitar Will Travel"
Morristown NJ
551-655-4720
stuntguitar1...@gmail.com
www.davidrobertbergmanmusic.com <http://www.davidrobertbergmanmusic.com>


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



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

--
David Bergman
David R Bergman Music LLC
"Have Guitar Will Travel"
Morristown NJ
551-655-4720
stuntguitar1...@gmail.com
www.davidrobertbergmanmusic.com

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

Reply via email to