-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Program crashes when I try to run it. #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you write a minimal, compilable example that reproduces the bug? |
Steps I had done are: |
I don't have a Windows machine, so I'm not going to be able to follow your instructions. But if you just use the minimal example without modification, my best guess would be that you're not linking libpython correctly. |
I have followed this article to install python on windows machine http://www.howtogeek.com/197947/how-to-install-python-on-windows/ And I am succesfully able to print the last line which he mentioned. Do I need to install matplotlib in python seperately?? I am using python 2.7 |
Yes, as mentioned in the "Installation"-section of the README, you need to have libpython development headers and matplotlib for python installed, so you need to run the windows-equivalent of |
I have installed python correctly following the above tutorial. but I haven't installed matplotlib seperatelly. I'll install matplotlib and then i'll let you know in a while. |
I am running the program in Release mode when I try to run the program it crashes saying "matplotlib.exe" has stopped working. I have just made new project VS2015 imported ur files and set the "Include directories" and "Library directories" path in properties. In Image attached line number is shown where program crashes in matplotlibcpp.h.

Regards
The text was updated successfully, but these errors were encountered: