SpaceInvaders

WorldForge configure cyphesis fail on Create_PyScript

Apr 2nd, 2023
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. WorldForge cyphesis configure fail on "no arguements to Create_PyScript that depend on a template"
  2.  
  3. In file included from PythonScriptFactory.cpp:21:
  4. PythonScriptFactory_impl.h:37:1: error: ‘Create_PyScript’ does not name a type
  5. 37 | Create_PyScript<T>::~Create_PyScript()
  6. | ^~~~~~~~~~~~~~~
  7. PythonScriptFactory_impl.h: In member function ‘int PythonScriptFactory<T>::addScript(T*) const’:
  8. 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]
  9. 64 | PyObject * script = Create_PyScript(wrapper, this->m_class);
  10. | ^~~~~~~~~~~~~~~
  11. 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)
  12. make[1]: *** [Makefile:578: PythonScriptFactory.o] Error 1
  13. make[1]: Leaving directory '/home/cyphesis/WorldForge/cyphesis-0.6.2/rulesets'
  14. make: *** [Makefile:445: check-recursive] Error 1
  15.  
Advertisement
Add Comment
Please, Sign In to add comment