Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Build Error need urgent help

OP codingninja62001

17th July 2014, 04:49 PM   |  #1  
OP Member
Thanks Meter: 2
 
47 posts
Join Date:Joined: Mar 2014
alright im trying to port cm11 to my LG Optimus F6 and ive tackled a few errors but this I need help with
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:818:29: error: 'GRALLOC_USAGE_PRIVATE_INTERNAL_ONLY' was not declared in this scope
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libgui_intermediates/Surface.o] Error 1
make: *** Waiting for unfinished jobs....
well I know it is that GRALLOC_USAGE_PRIVATE_INTERNAL_ONLY isnt declared but I dont know how to declare that please help
19th July 2014, 04:23 PM   |  #2  
OP Member
Thanks Meter: 2
 
47 posts
Join Date:Joined: Mar 2014
I solved this by finally finding a way to declare it in the surface. CPP file by adding a enum and declaring it in there
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes