8000 error: cannot convert ‘wchar_t**’ to ‘char**’ for argument ‘2’ to ‘void PySys_SetArgv(int, char**)’ PySys_SetArgv(argc, const_cast<wchar_t **>(argv)); · Issue #221 · lava/matplotlib-cpp · GitHub
[go: up one dir, main page]

Skip to content

error: cannot convert ‘wchar_t**’ to ‘char**’ for argument ‘2’ to ‘void PySys_SetArgv(int, char**)’ PySys_SetArgv(argc, const_cast<wchar_t **>(argv)); #221

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

Closed
munirjojoverge opened this issue Sep 6, 2020 · 0 comments

Comments

@munirjojoverge
Copy link
munirjojoverge commented Sep 6, 2020

Ubuntu 18.04
Running: g++ minimal.cpp -std=c++11 -I/usr/include/python2.7 -lpython2.7
Error:
../matplotlibcpp.h: In constructor ‘matplotlibcpp::detail::_interpreter::_interpreter()’:
../matplotlibcpp.h:177:57: error: cannot convert ‘wchar_t**’ to ‘char**’ for argument ‘2’ to ‘void PySys_SetArgv(int, char**)’
PySys_SetArgv(argc, const_cast<wchar_t **>(argv));

williamleong added a commit to williamleong/matplotlib-cpp that referenced this issue Oct 2, 2020
lava pushed a commit that referenced this issue Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0