matplotlib-cpp icon indicating copy to clipboard operation
matplotlib-cpp copied to clipboard

fail to run, cannot find python36.dll

Open didrik opened this issue 7 years ago • 1 comments

Hi.

Thank you for your eminent work.

I am truing to get matplotlib-cpp to work.

I have a laptop with Win1o 64 VS 2017 and anaconda3 64

I had to do some changes to get tke config to run.

set batch_file=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools....\VC\Auxiliary\Build\vcvarsall.bat

then CMake Warning: Manually-specified variables were not used by the project:

CMAKE_BUILD_TYPE
PYTHONHOME

are these important?

at the end: The syntax of the command is incorrect.

looks like it is this: if EXIST %PYTHONHOME%/Library/plugins/platforms/qwindows.dll ^ copy %PYTHONHOME%/Library/plugins/platforms/qwindows.dll ./platforms/

NB! windows.dll do exist

I had to set: #define WITHOUT_NUMPY is there a fix for this?

The project compiles and produces 4 exe files.

When I try to run them I get:

... failed due to python36.dll not found!

Could you please give me a hint how this can be fixed?

Regards

Jan Didrik

[email protected] [email protected]

didrik avatar Aug 20 '18 14:08 didrik