[waffle] Compiling waffle against latest Android source tree
Arun Sl
arun.sl at tcs.com
Mon Nov 25 01:37:39 PST 2013
Hello All,
I am using the latest Android source tree.
I am getting the following error while doing mm after putting waffle in
android source external directory and doing mm.
Does anyone in the list knows of any solution to the same?
> target Gen: libwaffle <=
external/waffle/include/waffle/waffle_version.h
> Header: out/target/product/generic/obj/include/waffle-1/waffle_version.h
> target thumb C++: libwaffle-1 <=
> external/waffle/src/waffle/android/droid_surfaceflingerlink.cpp
> In file included from frameworks/native/include/utils/RefBase.h:27:0,
> from frameworks/native/include/binder/IBinder.h:21,
> from
> frameworks/native/include/gui/SurfaceComposerClient.h:23,
> from
> external/waffle/src/waffle/android/droid_surfaceflingerlink.cpp:28:
> frameworks/native/include/utils/StrongPointer.h: In instantiation of
> 'android::sp<T>::~sp() [with T = android::Surface]':
> external/waffle/src/waffle/android/droid_surfaceflingerlink.cpp:139:72:
> required from here
> frameworks/native/include/utils/StrongPointer.h:149:16: error: invalid
use
> of incomplete type 'class android::Surface'
> if (m_ptr) m_ptr->decStrong(this);
> ^
> In file included from
> frameworks/native/include/gui/IGraphicBufferProducer.h:29:0,
> from frameworks/native/include/gui/BufferQueue.h:24,
> from frameworks/native/include/gui/ConsumerBase.h:20,
> from frameworks/native/include/gui/CpuConsumer.h:20,
> from
> frameworks/native/include/gui/SurfaceComposerClient.h:33,
> from
> external/waffle/src/waffle/android/droid_surfaceflingerlink.cpp:28:
> frameworks/native/include/ui/GraphicBuffer.h:126:18: error: forward
> declaration of 'class android::Surface'
> friend class Surface;
> ^
> In file included from frameworks/native/include/utils/RefBase.h:27:0,
> from frameworks/native/include/binder/IBinder.h:21,
> from
> frameworks/native/include/gui/SurfaceComposerClient.h:23,
> from
> external/waffle/src/waffle/android/droid_surfaceflingerlink.cpp:28:
> frameworks/native/include/utils/StrongPointer.h: In instantiation of
> 'android::sp<T>& android::sp<T>::operator=(const android::sp<U>&) [with
U
> = android::Surface; T = ANativeWindow]':
> external/waffle/src/waffle/android/droid_surfaceflingerlink.cpp:139:27:
> required from here
> frameworks/native/include/utils/StrongPointer.h:173:28: error: cannot
> convert 'android::Surface* const' to 'ANativeWindow*' in initialization
> T* otherPtr(other.m_ptr);
> ^
> make: ***
>
[out/target/product/generic/obj/SHARED_LIBRARIES/libwaffle-1_intermediates/src/waffle/android/droid_surfaceflingerlink.o]
> Error 1
Thanks & Regards
Arun S L
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/waffle/attachments/20131125/cba3596b/attachment.html>
More information about the waffle
mailing list