Guest User

Untitled

a guest
Jul 13th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. editor/editor_icons.gen.cpp: In function 'Ref<ImageTexture> make_icon(const uint8_t*, const uint8_t*)':
  2. editor/editor_icons.gen.cpp:6080:41: error: 'editor_get_scale' was not declared in this scope
  3. bool use_hidpi_image=(editor_get_scale()>1.0&&p_hidpi_png);
  4. ^
  5. editor/editor_icons.gen.cpp:6082:61: error: 'FORMAT_RGBA8' is not a member of 'Image'
  6. if (editor_get_scale()>1.0 && !p_hidpi_png) { img->convert(Image::FORMAT_RGBA8
  7. ^
  8. editor/editor_icons.gen.cpp:6084:60: error: no matching function for call to 'ImageTexture::create_from_image(Ref<Image>&, Texture::Flags)'
  9. texture->create_from_image( img,ImageTexture::FLAG_FILTER );
  10. ^
  11. In file included from ./scene/resources/font.h:35:0,
  12. from ./scene/resources/theme.h:35,
  13. from editor/editor_icons.h:33,
  14. from editor/editor_icons.gen.cpp:1:
  15. ./scene/resources/texture.h:116:7: note: candidate: void ImageTexture::create_from_image(const Image&, uint32_t)
  16. void create_from_image(const Image &p_image, uint32_t p_flags = FLAGS_DEFAULT)
  17. ^
  18. ./scene/resources/texture.h:116:7: note: no known conversion for argument 1 from 'Ref<Image>' to 'const Image&'
  19. In file included from core/resource.h:36:0,
  20. from core/io/resource_loader.h:34,
  21. from ./scene/resources/theme.h:33,
  22. from editor/editor_icons.h:33,
  23. from editor/editor_icons.gen.cpp:1:
  24. core/reference.h: In instantiation of 'void Ref<T>::ref_pointer(T*) [with T = Image]':
  25. core/reference.h:241:15: required from 'Ref<T>::Ref(T*) [with T = Image]'
  26. editor/editor_icons.gen.cpp:6081:19: required from here
  27. core/reference.h:98:3: error: 'class Image' has no member named 'init_ref'
  28. if (p_ref->init_ref())
  29. ^
  30. core/reference.h: In instantiation of 'void Ref<T>::unref() [with T = Image]':
  31. core/reference.h:303:8: required from 'Ref<T>::~Ref() [with T = Image]'
  32. editor/editor_icons.gen.cpp:6081:19: required from here
  33. core/reference.h:285:17: error: 'class Image' has no member named 'unreference'
  34. if (reference && reference->unreference()) {
  35. ^
  36. core/reference.h: In instantiation of 'void Ref<T>::ref(const Ref<T>&) [with T = Image]':
  37. core/reference.h:220:6: required from 'Ref<T>::Ref(const Ref<T>&) [with T = Image]'
  38. editor/editor_icons.gen.cpp:6081:19: required from here
  39. core/reference.h:91:4: error: 'class Image' has no member named 'reference'
  40. reference->reference();
  41. ^
  42. scons: *** [editor/editor_icons.gen.x11.tools.64.o] Error 1
  43. scons: building terminated because of errors.
Advertisement
Add Comment
Please, Sign In to add comment