• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

when building from source receive error!

Search This thread

sattarvoybek

Member
Oct 4, 2014
8
1
I'm in trouble please help I receive here such error!
Code:
frameworks/native/libs/gui/Surface.cpp: In member function 'virtual android::status_t android::Surface::lock(ANativeWindow_Buffer*, ARect*)':
frameworks/native/libs/gui/Surface.cpp:828:29: error: 'GRALLOC_USAGE_PRIVATE_INTERNAL_ONLY' was not declared in this scope
make: *** [/home/sattar/cm11/out/target/product/X9180/obj/SHARED_LIBRARIES/libgui_intermediates/Surface.o]
:(:(