Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WorldForge cyphesis configure fail on "no arguements to Create_PyScript that depend on a template"
- In file included from PythonScriptFactory.cpp:21:
- PythonScriptFactory_impl.h:37:1: error: ‘Create_PyScript’ does not name a type
- 37 | Create_PyScript<T>::~Create_PyScript()
- | ^~~~~~~~~~~~~~~
- PythonScriptFactory_impl.h: In member function ‘int PythonScriptFactory<T>::addScript(T*) const’:
- PythonScriptFactory_impl.h:64:25: error: there are no arguments to ‘Create_PyScript’ that depend on a template parameter, so a declaration of ‘Create_PyScript’ must be available [-fpermissive]
- 64 | PyObject * script = Create_PyScript(wrapper, this->m_class);
- | ^~~~~~~~~~~~~~~
- PythonScriptFactory_impl.h:64:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
- make[1]: *** [Makefile:578: PythonScriptFactory.o] Error 1
- make[1]: Leaving directory '/home/cyphesis/WorldForge/cyphesis-0.6.2/rulesets'
- make: *** [Makefile:445: check-recursive] Error 1
Advertisement
Add Comment
Please, Sign In to add comment