Hi
Which branch is it ?
Because it seems that it's not the last master version as the "#defined AFB_BINDING_VERSION 2" should be removed in the favor of a definition in the CMakeLists.txt to make it project-wide instead of compilation unit wide.
Regards,
Loïc Collignon [IoT.bzh]
2018-08-09 10:53 GMT+02:00 thierry bultel <thierry.bultel@xxxxxxx>:
Hi,
Did you make sure you really pulled the latest version ?
The AFB_BINDING_VERSION is no longer set in a header file but in a cmake file.
The second issue is likely a side effect of the former, because the definition of AFB_DEBUG depends on the bonding version.
Best regards,
Thierry
as follows:______________________________
```
git reset --hard
git submodule init
git submodule update
mkdir -p build && cd build
source /opt/poky-agl/5.1.0/environment-setup-armv7vehf-neon-vfpv4- ______________________________agl-linux-gnueabi
cmake ..
make
```
And I get two errors:
1.
/opt/poky-agl/5.1.0/sysroots/armv7vehf-neon-vfpv4-agl-linux- gnueabi/usr/include/afb/afb- binding.h:60:4: error: #error "Unsupported binding version AFB_BINDING_VERSION " #AFB_BINDING_VERSION
# error "Unsupported binding version AFB_BINDING_VERSION " #AFB_BINDING_VERSION
^~~~~
2.
/home/albert/files/agl/code/audio-4a/agl-service-audio-4a-1/ afb-utilities/filescan-utils. c:37:9: error: implicit declaration of function ‘AFB_DEBUG’ [-Werror=implicit-function-dec laration]
AFB_DEBUG("CONFIG-SCANNING dir=%s not readable", searchPath);
^~~~~~~~~
We can ignore the second error, the first error is not reasonable, the macro "AFB_BINDING_VERSION" has already been defined :
#defineAFB_BINDING_VERSION2
#include<afb/afb-binding.h>
So, do I miss something?
_________________
automotive-discussions mailing list
automotive-discussions@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/automotiv e-discussions
_________________
automotive-discussions mailing list
automotive-discussions@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/automotiv e-discussions
_______________________________________________ automotive-discussions mailing list automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions