Re: 4a-hal-generic cmake failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Thierry,
This is my fault, sorry, i paste error. Actually, my SDK is the link that you supplied. Thanks very much. It works on my side, i think it could be closed.
 
Thanks,
Sitech

------------------ Original ------------------
Date:  Tue, Aug 14, 2018 02:52 PM
To:  "Sitech"<developer_agl@xxxxxxx>; "automotive-discussions"<automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx>;
Subject:  Re: [agl-discussions] 4a-hal-generic cmake failed
 
Dear Sitech,

 From the URL where you downloaded your SDK from, I can see that you are
still on "eel" release.
I strongly recommend you use the "flounder" release
There is an available SDK here:

https://download.automotivelinux.org/AGL/release/flounder/5.99.2/raspberrypi3/deploy/sdk/poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-armv7vehf-neon-vfpv4-toolchain-5.99.2.sh

meanwhile, I will track the missing lua issue.

Thierry

On 08/14/2018 04:30 AM, Sitech wrote:
> Dear Thierry,
>
>  >The CMake infrastructure uses the PKG_CHECK_MODULES macro, which
>  >relies on pkg-config
> I don't remove lua module from the PKG_CHECK_MODULES macro, I modify the
> 00-debian-osconfig.cmake, it works:
> before:
> list(APPEND PKG_REQUIRED_LIST lua-5.3>=5.3)
> after:
> list(APPEND PKG_REQUIRED_LIST lua>=5.3)
>
>  >Thus, copying the library in the SDK is not enough, you are still
>  >missing the pkg-config file (likely a lua.pc or something like that)
> Yep, i copy them together.
>
>  >Anyway, your SDK seems incomplete and that is a bug.
>  >Could you please report a Jira , pointing out that the SDK for raspberry
>  >is missing lua ?
> My SDK download link:
> http://download.automotivelinux.org/AGL/release/eel/5.1.0/raspberrypi3/deploy/sdk/poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-armv7vehf-neon-vfpv4-toolchain-5.1.0.sh
>
> And i wish i also have a jira id, i don't know who is the jira
> administrators,i apply to Walt about last week, sorry, i forget the
> time, but i don't  get reply yet. Could you help me?
>
>  >Meanwhile, maybe you could also investigate on your side, why your
>  >manual lua install is incomplete ?
>   Yep, I will work it, reinstall it.
>
> Further, i will try to solve another issue.Thanks
>
> Cheers,
> Sitech
> ------------------ Original ------------------
> *From: * "thierry bultel"<thierry.bultel@xxxxxxx>;
> *Date: * Mon, Aug 13, 2018 10:08 PM
> *To: * "Sitech"<developer_agl@xxxxxxx>;
> "automotive-discussions"<automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx>;
> *Subject: * Re: [agl-discussions] 4a-hal-generic cmake failed
> Dear Sitech,
>
> The CMake infrastructure uses the PKG_CHECK_MODULES macro, which
> relies on pkg-config
>
> Thus, copying the library in the SDK is not enough, you are still
> missing the pkg-config file (likely a lua.pc or something like that)
>
> Anyway, your SDK seems incomplete and that is a bug.
> Could you please report a Jira , pointing out that the SDK for raspberry
> is missing lua ?
>
> Meanwhile, maybe you could also investigate on your side, why your
> manual lua install is incomplete ?
>
> Cheers,
> Thierry
>
> On 08/13/2018 03:24 PM, Sitech wrote:
>  > Hi bultel,
>  > Even though install lua-5.3.4 after source the sdk,i copy the liblua.a
>  > to the directory, still error, and here is mine:
>  >
>  >
> albert@albert:/opt/poky-agl/5.99.2/sysroots/armv7vehf-neon-vfpv4-agl-linux-gnueabi/usr/lib$
>
>  > find -name "*.a"
>  > ./libpthread_nonshared.a
>  > ./libQt5FontDatabaseSupport.a
>  > ./libQt5EventDispatcherSupport.a
>  > ./libQt5Bootstrap.a
>  > ./libQt5QmlDevTools.a
>  > ./liblua.a
>  > ./arm-agl-linux-gnueabi/7.2.0/libgcov.a
>  > ./arm-agl-linux-gnueabi/7.2.0/libgcc_eh.a
>  > ./arm-agl-linux-gnueabi/7.2.0/libgcc.a
>  > ./libQt5EglSupport.a
>  > ./libQt5FbSupport.a
>  > ./libQt5ThemeSupport.a
>  > ./libssp_nonshared.a
>  > ./libQt5InputSupport.a
>  > ./libQt5AccessibilitySupport.a
>  > ./libQt5UiTools.a
>  > ./libQt5PlatformCompositorSupport.a
>  > ./libvcard.a
>  > ./libQt5OpenGLExtensions.a
>  > ./libQt5DeviceDiscoverySupport.a
>  > ./libQt5ServiceSupport.a
>  > ./libc_nonshared.a
>  >
>  >
>  > Cheers,
>  > Sitech
>  > ------------------ Original ------------------
>  > *From: * "thierry bultel"<thierry.bultel@xxxxxxx>;
>  > *Date: * Mon, Aug 13, 2018 08:58 PM
>  > *To:
>  >
> * "automotive-discussions"<automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx>;
>
>  >
>  > *Subject: * Re: [agl-discussions] 4a-hal-generic cmake failed
>  > You should not have to re-compile lua since it is provided by the SDK.
>  >
>  >   From what I know, the static lua library is expected.
>  > In my SDK, I have:
>  > /opt/poky-agl/5.99.1+snapshot/sysroots/aarch64-agl-linux/usr/lib/liblua.a
>  >
>  > Can you check in yours please ? That could be an SDK issue, tell us
>  > Thierry
>  >
>  > On 08/13/2018 02:40 PM, Sitech wrote:
>  >  > Hi,
>  >  > When i build 4a-hal-generic project, follow the README.md :
>  >  > ```
>  >  > mkdir build && cd build
>  >  > source
>  >  >
>  >
> /opt/poky-agl/5.99.2/environment-setup-armv7vehf-neon-vfpv4-agl-linux-gnueabi
>  >  > cmake ..
>  >  > ```
>  >  > And i get an error:
>  >  > -- Checking for module 'lua-5.3>=5.3'
>  >  > --   No package 'lua-5.3' found
>  >  > And then, i download lua-5.3.4, compile and install, but still error.I
>  >  > try to install lua-5.3.4 to SDK directory:
>  >  > ```
>  >  > sudo make install
>  >  > INSTALL_TOP=/opt/poky-agl/5.99.2/sysroots/x86_64-aglsdk-linux/usr/bin/
>  >  > ```
>  >  > It doesn't work, i also try to disable lua module through modify the
>  >  > CMakeList.txt:
>  >  > ```
>  >  > set(CONTROL_SUPPORT_LUA 0 CACHE BOOL "Active or not LUA Support")
>  >  > ```
>  >  > Still doesn't work. Does any friends meet this problem?
>  >  >
>  >  > albert@albert:~/files/agl/code/audio-4a/4a-hal-generic/build$
> which lua
>  >  > /opt/poky-agl/5.99.2/sysroots/x86_64-aglsdk-linux/usr/bin/lua
>  >  > albert@albert:~/files/agl/code/audio-4a/4a-hal-generic/build$ lua -v
>  >  > Lua 5.3.4  Copyright (C) 1994-2017 Lua.org, PUC-Rio
>  >  > albert@albert:~/files/agl/code/audio-4a/4a-hal-generic/build$
> whereis lua
>  >  > lua: /usr/bin/lua5.3 /usr/local/bin/lua /usr/local/lib/lua
>  >  > /usr/include/lua5.3 /usr/include/lua5.2 /usr/share/lua5.3
>  >  > /usr/share/lua5.2
>  >  > /opt/poky-agl/5.99.2/sysroots/x86_64-aglsdk-linux/usr/bin/lua
>  >  >
>  >  >
>  >  > _______________________________________________
>  >  > automotive-discussions mailing list
>  >  > automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
>  >  >
> https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
>  >  >
>  > _______________________________________________
>  > automotive-discussions mailing list
>  > automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
>  > https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux