revmischa / cloudcam

IP camera surveillance management system using AWS IoT with support for Axis cameras.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building ACAP Application

hatboyzero opened this issue · comments

I am having an issue compiling the ACAP application for an axis target.

make -C axis dist
make[1]: Entering directory '/home/ubuntu/development/cloudcam/axis'
create-package.sh armv6
make armv6-axis-linux-gnueabimake[2]: Entering directory '/home/ubuntu/development/cloudcam/axis'
rm -f  lib/libaws-iot.a
rm -f cloudcam *.o core
make -C  clean
make[5]: *** clean: No such file or directory.  Stop.
Makefile:54: recipe for target 'clean-mbedtls' failed
make[4]: *** [clean-mbedtls] Error 2
/home/ubuntu/axis/emb-app-sdk_2_0_3/tools/build/rules/targets.mak:84: recipe for target 'checkclean' failed
make[3]: *** [checkclean] Error 2
/home/ubuntu/axis/emb-app-sdk_2_0_3/tools/build/rules/targets.mak:23: recipe for target 'armv6-axis-linux-gnueabi' failed
make[2]: *** [armv6-axis-linux-gnueabi] Error 1
make[2]: Leaving directory '/home/ubuntu/development/cloudcam/axis'
Makefile:62: recipe for target 'dist' failed
make[1]: *** [dist] Error 2
make[1]: Leaving directory '/home/ubuntu/development/cloudcam/axis'
Makefile:89: recipe for target 'dist' failed
make: *** [dist] Error 2

I also noticed that the ./axis/Makefile references files that do not exist like ./axis/cloudcam_axis.c and ./axis/lib/libaws_iot.a. I get the feeling that this implementation is incomplete.

I also noticed that when running the host build, a configuration file is missing:

DEBUG:   cloudcam_init_iot_client L#32 current dir: .

DEBUG:   cloudcam_init_iot_client L#33 
AWS IoT SDK Version 2.1.1-

ERROR: cloudcam_init_iot_client L#42 error: payload parsing config file ./config.json: unable to open ./config.json: No such file or directory at ./config.json

WARN:  main L#44 cloudcam_init_iot_client failed, exiting

Please advise.

Yes, the implementation is incomplete. The top-level makefile should build libaws_iot.a and mbedtls for you though.
If you want to build on this project you're more than welcome to! Let me know if I can help