You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 74%] Linking CXX shared library libcosim_sc_wrapper.so
[ 74%] Built target cosim_sc_wrapper
Scanning dependencies of target greenscript
[ 74%] Building CXX object libs/greenlib/greenscript/lib/CMakeFiles/greenscript.dir//src/greenscript.cpp.o
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp: In constructor ‘gs::script::GreenScriptModule::GreenScriptModule(sc_core::sc_module_name, const char*)’:
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp:178:39: error: ‘PyString_FromString’ was not declared in this scope
name_py = PyString_FromString(name()); // new ref
^
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp: In member function ‘void gs::script::GreenScriptModule::load(const char*)’:
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp:221:46: error: ‘PyString_AsString’ was not declared in this scope
std::string s(PyString_AsString(path_py));
^
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp: In member function ‘void gs::script::GreenScriptModule::add_to_pythonpath(const char*)’:
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp:262:47: error: ‘PyString_FromString’ was not declared in this scope
PyObject path_py = PyString_FromString(path); // new ref
^
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp: In member function ‘bool gs::script::GreenScriptModule::private_load(const char)’:
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp:278:68: error: ‘PyFile_FromString’ was not declared in this scope
PyObject* PyFileObject = PyFile_FromString((char *)fullname, mode);
^
In file included from /usr/local/include/python3.7m/Python.h:129:0,
from /root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp:38:
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp:279:56: error: ‘PyFile_AsFile’ was not declared in this scope
PyObject *ret = PyRun_File(PyFile_AsFile(PyFileObject),
^
/usr/local/include/python3.7m/pythonrun.h:146:23: note: in definition of macro ‘PyRun_File’
PyRun_FileExFlags(fp, p, s, g, l, 0, NULL)
^
libs/greenlib/greenscript/lib/CMakeFiles/greenscript.dir/build.make:62: recipe for target 'libs/greenlib/greenscript/lib/CMakeFiles/greenscript.dir//src/greenscript.cpp.o' failed
make[2]: *** [libs/greenlib/greenscript/lib/CMakeFiles/greenscript.dir/__/src/greenscript.cpp.o] Error 1
CMakeFiles/Makefile2:2079: recipe for target 'libs/greenlib/greenscript/lib/CMakeFiles/greenscript.dir/all' failed
make[1]: *** [libs/greenlib/greenscript/lib/CMakeFiles/greenscript.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
[ 74%] Linking CXX shared library libcosim_sc_wrapper.so
[ 74%] Built target cosim_sc_wrapper
Scanning dependencies of target greenscript
[ 74%] Building CXX object libs/greenlib/greenscript/lib/CMakeFiles/greenscript.dir//src/greenscript.cpp.o
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp: In constructor ‘gs::script::GreenScriptModule::GreenScriptModule(sc_core::sc_module_name, const char*)’:
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp:178:39: error: ‘PyString_FromString’ was not declared in this scope
name_py = PyString_FromString(name()); // new ref
^
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp: In member function ‘void gs::script::GreenScriptModule::load(const char*)’:
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp:221:46: error: ‘PyString_AsString’ was not declared in this scope
std::string s(PyString_AsString(path_py));
^
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp: In member function ‘void gs::script::GreenScriptModule::add_to_pythonpath(const char*)’:
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp:262:47: error: ‘PyString_FromString’ was not declared in this scope
PyObject path_py = PyString_FromString(path); // new ref
^
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp: In member function ‘bool gs::script::GreenScriptModule::private_load(const char)’:
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp:278:68: error: ‘PyFile_FromString’ was not declared in this scope
PyObject* PyFileObject = PyFile_FromString((char *)fullname, mode);
^
In file included from /usr/local/include/python3.7m/Python.h:129:0,
from /root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp:38:
/root/nvdla/vp/libs/greenlib/greenscript/src/greenscript.cpp:279:56: error: ‘PyFile_AsFile’ was not declared in this scope
PyObject *ret = PyRun_File(PyFile_AsFile(PyFileObject),
^
/usr/local/include/python3.7m/pythonrun.h:146:23: note: in definition of macro ‘PyRun_File’
PyRun_FileExFlags(fp, p, s, g, l, 0, NULL)
^
libs/greenlib/greenscript/lib/CMakeFiles/greenscript.dir/build.make:62: recipe for target 'libs/greenlib/greenscript/lib/CMakeFiles/greenscript.dir//src/greenscript.cpp.o' failed
make[2]: *** [libs/greenlib/greenscript/lib/CMakeFiles/greenscript.dir/__/src/greenscript.cpp.o] Error 1
CMakeFiles/Makefile2:2079: recipe for target 'libs/greenlib/greenscript/lib/CMakeFiles/greenscript.dir/all' failed
make[1]: *** [libs/greenlib/greenscript/lib/CMakeFiles/greenscript.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: