We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When Compile c++ files to .so for python use:
python setup.py build_ext -i the error occurs.
I use python 3.6, and the default gcc version in my anaconda env is 7.3.0
mesh_core.cpp:349:31: error: no matching function for call to ‘std::basic_ofstream::basic_ofstream(std::__cxx11::string&)’
The text was updated successfully, but these errors were encountered:
I solved this by modified mesh_core.cpp (line 349) from
ofstream obj_file(filename);
to
ofstream obj_file(filename.c_str());
reference: link
Sorry, something went wrong.
this bug always exits in project, I also solved this issue by modifiing ofstream obj_file(filename.c_str());
No branches or pull requests
When Compile c++ files to .so for python use:
python setup.py build_ext -i
the error occurs.
I use python 3.6, and the default gcc version in my anaconda env is 7.3.0
mesh_core.cpp:349:31: error: no matching function for call to ‘std::basic_ofstream::basic_ofstream(std::__cxx11::string&)’
The text was updated successfully, but these errors were encountered: