Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- editor/editor_icons.gen.cpp: In function 'Ref<ImageTexture> make_icon(const uint8_t*, const uint8_t*)':
- editor/editor_icons.gen.cpp:6080:41: error: 'editor_get_scale' was not declared in this scope
- bool use_hidpi_image=(editor_get_scale()>1.0&&p_hidpi_png);
- ^
- editor/editor_icons.gen.cpp:6082:61: error: 'FORMAT_RGBA8' is not a member of 'Image'
- if (editor_get_scale()>1.0 && !p_hidpi_png) { img->convert(Image::FORMAT_RGBA8
- ^
- editor/editor_icons.gen.cpp:6084:60: error: no matching function for call to 'ImageTexture::create_from_image(Ref<Image>&, Texture::Flags)'
- texture->create_from_image( img,ImageTexture::FLAG_FILTER );
- ^
- In file included from ./scene/resources/font.h:35:0,
- from ./scene/resources/theme.h:35,
- from editor/editor_icons.h:33,
- from editor/editor_icons.gen.cpp:1:
- ./scene/resources/texture.h:116:7: note: candidate: void ImageTexture::create_from_image(const Image&, uint32_t)
- void create_from_image(const Image &p_image, uint32_t p_flags = FLAGS_DEFAULT)
- ^
- ./scene/resources/texture.h:116:7: note: no known conversion for argument 1 from 'Ref<Image>' to 'const Image&'
- In file included from core/resource.h:36:0,
- from core/io/resource_loader.h:34,
- from ./scene/resources/theme.h:33,
- from editor/editor_icons.h:33,
- from editor/editor_icons.gen.cpp:1:
- core/reference.h: In instantiation of 'void Ref<T>::ref_pointer(T*) [with T = Image]':
- core/reference.h:241:15: required from 'Ref<T>::Ref(T*) [with T = Image]'
- editor/editor_icons.gen.cpp:6081:19: required from here
- core/reference.h:98:3: error: 'class Image' has no member named 'init_ref'
- if (p_ref->init_ref())
- ^
- core/reference.h: In instantiation of 'void Ref<T>::unref() [with T = Image]':
- core/reference.h:303:8: required from 'Ref<T>::~Ref() [with T = Image]'
- editor/editor_icons.gen.cpp:6081:19: required from here
- core/reference.h:285:17: error: 'class Image' has no member named 'unreference'
- if (reference && reference->unreference()) {
- ^
- core/reference.h: In instantiation of 'void Ref<T>::ref(const Ref<T>&) [with T = Image]':
- core/reference.h:220:6: required from 'Ref<T>::Ref(const Ref<T>&) [with T = Image]'
- editor/editor_icons.gen.cpp:6081:19: required from here
- core/reference.h:91:4: error: 'class Image' has no member named 'reference'
- reference->reference();
- ^
- scons: *** [editor/editor_icons.gen.x11.tools.64.o] Error 1
- scons: building terminated because of errors.
Advertisement
Add Comment
Please, Sign In to add comment