This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SIMPLELINK-CC13XX-CC26XX-SDK: GitHub sdk build errors

Part Number: SIMPLELINK-CC13XX-CC26XX-SDK
Other Parts Discussed in Thread: SYSCONFIG

Hello,

I tried cloning and building the libraries as described in the GitHub sdk.

I set up all of my environment variables to point to the correct folders, but cmake is failing with an error in configuring the build.

I notice two things, one is that it's giving me some warnings that the compiler/ asm is not found:

-- The ASM compiler identification is unknown
-- Found assembler: /Applications/ti/ccs1240/ccs/tools/compiler/ti-cgt-armllvm_2.1.3.LTS/bin/tiarmclang
-- Warning: Did not find file Compiler/-ASM
-- Supported platforms: cc13x1, cc26x1, cc13x2, cc26x2, cc13x2x7, cc26x2x7, cc13x4, cc26x3, cc26x4
-- Supported architectures: m4, m4f, m33f
-- Package search paths: 
   -- /Users/xxxx/Documents/customer_apps/cc13xx_cc26xx_sdk/source/cmake/platforms/ticlang
   -- /Users/xxxx/Documents/customer_apps/cc13xx_cc26xx_sdk/source/cmake/wrappers/ticlang
-- Warning: Did not find file Compiler/-ASM
-- Warning: Did not find file Compiler/-ASM
-- Warning: Did not find file Compiler/-ASM
-- Warning: Did not find file Compiler/-ASM
-- Warning: Did not find file Compiler/-ASM
-- Configuring done

The second is the actual error I'm seeing where it looks like maybe the include paths are defined twice? Has anyone else run into this issue?

CMake Error in source/ti/drivers/CMakeLists.txt:
  Target "tfm_dependencies_cc26x4" INTERFACE_INCLUDE_DIRECTORIES property
  contains path:

    "/Users/xxxx/Documents/customer_apps/cc13xx_cc26xx_sdk/tfm_s/cc26x4/build_dependencies"

  which is prefixed in the source directory.


CMake Error in source/ti/drivers/CMakeLists.txt:
  Target "tfm_dependencies_cc26x4" INTERFACE_INCLUDE_DIRECTORIES property
  contains path:

    "/Users/xxxx/Documents/customer_apps/cc13xx_cc26xx_sdk/source/"

  which is prefixed in the source directory.


CMake Error in source/ti/drivers/CMakeLists.txt:
  Target "tfm_dependencies_cc26x4" INTERFACE_INCLUDE_DIRECTORIES property
  contains path:

    "/Users/xxxx/Documents/customer_apps/cc13xx_cc26xx_sdk/source/third_party/tfm/interface/include"

  which is prefixed in the source directory.


CMake Error in source/ti/drivers/CMakeLists.txt:
  Target "tfm_dependencies_cc26x4" INTERFACE_INCLUDE_DIRECTORIES property
  contains path:

    "/Users/xxxx/Documents/customer_apps/cc13xx_cc26xx_sdk/source/third_party/mbedcrypto/include"

  which is prefixed in the source directory.


CMake Error in source/ti/drivers/CMakeLists.txt:
  Target "tfm_dependencies_cc26x4" INTERFACE_INCLUDE_DIRECTORIES property
  contains path:

    "/Users/xxxx/Documents/customer_apps/cc13xx_cc26xx_sdk/source/third_party/mbedcrypto/ti"

  which is prefixed in the source directory.


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
make: *** [build-ticlang] Error 1