Skip to content
Advertisement

Tag: g++

how to write C++ DLL file for python correctly?

this is my test.cpp file.(I also used makefile to create dll file) when I run following code in python everything is ok and I get this output from python. but when I change my test.cpp in this way(I just uncommented iostream): I get the following error from python. this is also my dependencies enter image description here by the way

Advertisement