Re: 4a-hal-generic cmake failed

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

 



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




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

  Powered by Linux