-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
I want to use low-level-can-generator to create my own can json. But there is a cmake error when I try to build it. Use docker with 4.99.2 SDK.
Error message is can not found "project_subdirs_add". I found these information in doc. "This macro will search in all subfolder any CMakeLists.txt file. If found then it will be added to your project. This could be use in an hybrid application by example where the binding lay in a sub directory." , but can not found any macro in this project.
-- The C compiler identification is GNU 6.2.0 -- The CXX compiler identification is GNU 6.2.0 -- Check for working C compiler: /xdt/sdk/sysroots/x86_64-aglsdk-linux/usr/bin/aarch64-agl-linux/aarch64-agl-linux-gcc -- Check for working C compiler: /xdt/sdk/sysroots/x86_64-aglsdk-linux/usr/bin/aarch64-agl-linux/aarch64-agl-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /xdt/sdk/sysroots/x86_64-aglsdk-linux/usr/bin/aarch64-agl-linux/aarch64-agl-linux-g++ -- Check for working CXX compiler: /xdt/sdk/sysroots/x86_64-aglsdk-linux/usr/bin/aarch64-agl-linux/aarch64-agl-linux-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:23 (include): include could not find load file: /home/devel/share/low-level-can-generator/conf.d/app-templates/cmake/common.cmake CMake Error at CMakeLists.txt:27 (project_subdirs_add): Unknown CMake command "project_subdirs_add". -- Configuring incomplete, errors occurred! See also "/home/devel/share/low-level-can-generator/build/CMakeFiles/CMakeOutput.log".