gen/kaa_remote_control_ecf.h: No such file or directory - iot

I'm Using Kaa Opensource IoT platform to control GPIO of ESP8266. Im using ESP-01 module for this project. Im using this example. Getting error while compiling the code
[ 93%] Building C object CMakeFiles/demo_client_s.dir/src/kaa_demo.c.obj
/home/sse/Kaa/ESP8266/kaa_gpio_esp8266_example/src/kaa_demo.c:23:40: fatal error: gen/kaa_remote_control_ecf.h: No such file or directory
#include <gen/kaa_remote_control_ecf.h>
^
compilation terminated.
CMakeFiles/demo_client_s.dir/build.make:62: recipe for target 'CMakeFiles/demo_client_s.dir/src/kaa_demo.c.obj' failed
make[2]: *** [CMakeFiles/demo_client_s.dir/src/kaa_demo.c.obj] Error 1
CMakeFiles/Makefile2:69: recipe for target 'CMakeFiles/demo_client_s.dir/all' failed
make[1]: *** [CMakeFiles/demo_client_s.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
there is a file missing named gen/kaa_remote_control_ecf.h Im not able to locate this file anywhere.
Is there any other way to find this file?
I'm using latest Kaa SDK 0.10.

Related

SWUpdate building error in yocto. make[1]: *** [swupdate_unstripped] Error 1 , make: *** [sub-make] Error 2

I am building custom image in yocto and I want to include SWUpdate in my image but while building the image I am getting a build error of make[1]: *** [swupdate_unstripped] Error 1 and make: *** [sub-make] Error 2 below are the log messages
/swupdate/2021.04-r0/recipe-sysroot/usr/lib/liblua5.1.a(loadlib.o): undefined reference to symbol 'dlsym##GLIBC_2.17'
/swupdate/2021.04-r0/recipe-sysroot/lib/libdl.so.2: error adding symbols: DSO missing from command line
/swupdate/2021.04-r0/git/Makefile:421: recipe for target 'swupdate_unstripped' failed
I searched the internet about the error I am getting, and according to it if u-boot version and swupdate version are not compatible then the following error occures. But in my case both the swupdate is at its latest verson and even u-boot is at latest version.
I added meta-swupdate in bblayers.config and added swupdate, swupdate-www in IMAGE_INSTALL to add the swupdate in image.

Build from source error: missing input file 'external/net_sf_jchart2d/jar/jchart2d.jar'

I try to build drake1.0.0 from source using bazel. However I encounter the following error:
ERROR: /home/chenwang/drake-build/_bazel_chenwang/bcff9e14963ec4b6ed21d9b7e9e180fc/external/net_sf_jchart2d/jar/BUILD.bazel:2:12: Extracting interface #net_sf_jchart2d//jar:jar failed: missing input file 'external/net_sf_jchart2d/jar/jchart2d.jar', owner: '#net_sf_jchart2d//jar:jchart2d.jar'
ERROR: /home/chenwang/drake-build/_bazel_chenwang/bcff9e14963ec4b6ed21d9b7e9e180fc/external/net_sf_jchart2d/jar/BUILD.bazel:2:12: Extracting interface #net_sf_jchart2d//jar:jar failed: 1 input file(s) do not exist
Target //:install failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/chenwang/drake-build/_bazel_chenwang/bcff9e14963ec4b6ed21d9b7e9e180fc/external/net_sf_jchart2d/jar/BUILD.bazel:2:12 Extracting interface #net_sf_jchart2d//jar:jar failed: 1 input file(s) do not exist
INFO: Elapsed time: 23.087s, Critical Path: 8.22s
INFO: 2890 processes: 2584 internal, 306 linux-sandbox.
FAILED: Build did NOT complete successfully
CMakeFiles/drake_cxx_python.dir/build.make:110: recipe for target 'drake_cxx_python-prefix/src/drake_cxx_python-stamp/drake_cxx_python-build' failed
make[2]: *** [drake_cxx_python-prefix/src/drake_cxx_python-stamp/drake_cxx_python-build] Error 1
CMakeFiles/Makefile2:931: recipe for target 'CMakeFiles/drake_cxx_python.dir/all' failed
make[1]: *** [CMakeFiles/drake_cxx_python.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
I have built older version drake from source successfully. It seems that I miss some third-party library for building the new version drake. Thank you for your help!
It turns out that the install_repreqs.sh has been updated and I forget to rerun it. After installing the prerequisite by rerunning install_repreqs.sh, I can build drake from source successfully.

Docker NodeMCU ESP32 recipe for target 'build' failed

On OSX 10.13.6 I get the following failure in an ESP32 build using marcelstoer/docker-nodemcu-build:
make[3]: *** No rule to make target '/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h', needed by '/opt/nodemcu-firmware/build/luac_cross/uzlib_deflate.d'. Stop.
make[3]: Leaving directory '/opt/nodemcu-firmware/build/luac_cross'
/opt/nodemcu-firmware/components/luac_cross/component.mk:5: recipe for target 'build' failed
make[2]: *** [build] Error 2
make[2]: Leaving directory '/opt/nodemcu-firmware/build/luac_cross'
/opt/nodemcu-firmware/sdk/esp32-esp-idf/make/project.mk:552: recipe for target 'component-luac_cross-build' failed
make[1]: *** [component-luac_cross-build] Error 2
make[1]: Leaving directory '/opt/nodemcu-firmware'
Makefile:18: recipe for target 'all' failed
make: *** [all] Error 2`
Anyone got any suggestions?
Not the answer you were looking for but...
This appears to be a known issue. At https://github.com/nodemcu/nodemcu-firmware/issues/2779 a few people are discussing an issue that looks a lot like yours.

ORB-SLAM2 openCV installation error

I am trying out ORB SLAM2 for further processes of pose estimation. I m installing it in Ubuntu and after installing python, openGL, openCV, C++ compiler, Pangolin, Eigen3, BLAS and LAPACK, I am getting a make error while I install DBoW2.
The error is as follows.
root#wehubs:/src/orbslam2/DBoW2/build# cmake ..
-- Boost version: 1.54.0
DLib library not found in the system, it will be downloaded on build
-- Configuring done
-- Generating done
-- Build files have been written to: /src/orbslam2/DBoW2/build
root#wehubs:/src/orbslam2/DBoW2/build#
root#wehubs:/src/orbslam2/DBoW2/build# make
[ 6%] Performing update step for 'DLib'
Already on 'master'
Your branch is up-to-date with 'origin/master'.
[ 13%] Performing configure step for 'DLib'
-- Configuring done
-- Generating done
-- Build files have been written to: /src/orbslam2/DBoW2/build/dependencies/src/DLib-build
[ 20%] Performing build step for 'DLib'
[ 3%] Building CXX object CMakeFiles/DLib.dir/src/DVision/BRIEF.cpp.o
In file included from /src/orbslam2/DBoW2/build/dependencies/src/DLib/src/DVision/BRIEF.cpp:13:0:
/src/orbslam2/DBoW2/build/dependencies/src/DLib/include/DVision/BRIEF.h:32:28: fatal error: opencv2/core.hpp: No such file or directory
#include <opencv2/core.hpp>
^
compilation terminated.
make[5]: *** [CMakeFiles/DLib.dir/src/DVision/BRIEF.cpp.o] Error 1
make[4]: *** [CMakeFiles/DLib.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [dependencies/src/DLib-stamp/DLib-build] Error 2
make[1]: *** [CMakeFiles/DLib.dir/all] Error 2
make: *** [all] Error 2

OpenCV installation

In file included from /home/lucas/OpenCV/opencv-3.2.0/modules/core/src/hal_internal.cpp:49:0:
/home/lucas/OpenCV/build/opencv_lapack.h:2:45: fatal error: LAPACKE_H_PATH-NOTFOUND/lapacke.h: No such file or directory
compilation terminated.
modules/core/CMakeFiles/opencv_core.dir/build.make:906: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o' failed
make[2]: * [modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o] Error 1
CMakeFiles/Makefile2:1945: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/all' failed
make[1]: * [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
I believe this is because my python path is set incorrectly...
install package liblapacke-dev
manually define -DLAPACKE_H_PATH=/usr/include when calling cmake

Resources