Click here to Skip to main content
15,886,578 members

Comments by Optimistic76 (Top 18 by date)

Optimistic76 1-Apr-20 7:53am View    
Eureka!! Richard your suggestion make me think and i found that i didn't call PySys_setArg in python initialization!!!

I just added in the script
if len(sys.argv) < 1:
sys.argv.append("")
and everything works fine!!!
Optimistic76 1-Apr-20 7:33am View    
the line is

plt.plot([1,2,4],[1,2,3])
Optimistic76 17-Feb-20 2:21am View    
Well if i compile boost 32bit everything is fine. The problem is with 64 bit.
I tried installing winpython 32bit and 64bit
Optimistic76 13-Feb-20 9:28am View    
I don't think this is the case. I already added all the references but the errors still appears
Optimistic76 13-Feb-20 7:49am View    
precisely 7 unresolved symbols (sorry for the ugly format deriving from copy and paste):

unresolved external symbol "class boost::python::api::object __cdecl boost::python::objects::function_object(struct boost::python::objects::py_function const &)" (?function_object@objects@python@boost@@YA?AVobject@api@23@AEBUpy_function@123@@Z) BoostPython C:\work\VC++ Projects\BoostPython\BoostPython\main.obj 1 Build
unresolved external symbol "public: struct _typeobject const * __cdecl boost::python::converter::registration::expected_from_python_type(void)const " (?expected_from_python_type@registration@converter@python@boost@@QEBAPEBU_typeobject@@XZ) BoostPython C:\work\VC++ Projects\BoostPython\BoostPython\main.obj 1 Build
unresolved external symbol "public: virtual unsigned int __cdecl boost::python::objects::py_function_impl_base::max_arity(void)const " (?max_arity@py_function_impl_base@objects@python@boost@@UEBAIXZ) BoostPython C:\work\VC++ Projects\BoostPython\BoostPython\main.obj 1 Build
unresolved external symbol "public: virtual __cdecl boost::python::objects::py_function_impl_base::~py_function_impl_base(void)" (??1py_function_impl_base@objects@python@boost@@UEAA@XZ) BoostPython C:\work\VC++ Projects\BoostPython\BoostPython\main.obj 1 Build
unresolved external symbol "struct boost::python::converter::registration const * __cdecl boost::python::converter::registry::query(struct boost::python::type_info)" (?query@registry@converter@python@boost@@YAPEBUregistration@234@Utype_info@34@@Z) BoostPython C:\work\VC++ Projects\BoostPython\BoostPython\main.obj 1 Build
unresolved external symbol "struct _object * __cdecl boost::python::detail::init_module(struct PyModuleDef &,void (__cdecl*)(void))" (?init_module@detail@python@boost@@YAPEAU_object@@AEAUPyModuleDef@@P6AXXZ@Z) BoostPython C:\work\VC++ Projects\BoostPython\BoostPython\main.obj 1 Build
unresolved external symbol "void __cdecl boost::python::detail::scope_setattr_doc(char const *,class boost::python::api::object const &,char const *)" (?scope_setattr_doc@detail@python@boost@@YAXPEBDAEBVobject@api@23@0@Z) BoostPython C:\work\VC++ Projects\BoostPython\BoostPython\main.obj 1 Build