[waffle] Compiling waffle against latest Android source tree
Arun Sl
arun.sl at tcs.com
Mon Nov 25 22:20:40 PST 2013
Hello Juha,
I have cloned waffle master branch and still have the issue.
I am using 64 bit Ubuntu machine to compile.
make and repo sync worked successfully in android source code without
waffle.
So only thing different seems to be the latest android source.
Thanks & Regards
Arun S L
From:
Juha-Pekka Heikkilä <juha-pekka.heikkila at linux.intel.com>
To:
"Arun Sl" <arun.sl at tcs.com>
Cc:
waffle at lists.freedesktop.org
Date:
11/25/2013 05:09 PM
Subject:
Re: Compiling waffle against latest Android source tree
Hi,
I did try master Waffle branch does compile against JB MR2 without
problems. I did put my computer to fetch latest Android sources to try out
but it seems syncing of the tree will probably finish sometime tomorrow or
so.
/Juha-Pekka
On Mon, November 25, 2013 11:37 am, Arun Sl wrote:
> 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
>
=====-----=====-----=====
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/20131126/67d5041a/attachment.html>
More information about the waffle
mailing list