How to build the Codec Device Test Application

crosswick
Posts: 3
Joined: Wed Jan 03, 2024 7:39 pm

How to build the Codec Device Test Application

Postby crosswick » Mon Feb 05, 2024 8:27 pm

Hi, how do I build this?

https://github.com/espressif/esp-adf/tr ... c_dev/test

running `idf.py build` in that folder gives this output:

Code: Select all

Executing action: all (aliases: build)
Running cmake in directory /Users/steven/.espressif/esp-adf/components/esp_codec_dev/test/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/Users/steven/.espressif/python_env/idf5.3_py3.11_env/bin/python -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /Users/steven/.espressif/esp-adf/components/esp_codec_dev/test"...
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt:
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is AppleClang 14.0.0.14000029
-- The CXX compiler identification is AppleClang 14.0.0.14000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:1 (idf_component_register):
  Unknown CMake command "idf_component_register".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.28)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
cmake failed with exit code 1, output of the command is in the /Users/steven/.espressif/esp-adf/components/esp_codec_dev/test/build/log/idf_py_stderr_output_29116 and /Users/steven/.espressif/esp-adf/components/esp_codec_dev/test/build/log/idf_py_stdout_output_29116

crosswick
Posts: 3
Joined: Wed Jan 03, 2024 7:39 pm

Re: How to build the Codec Device Test Application

Postby crosswick » Tue Feb 06, 2024 1:28 pm


Who is online

Users browsing this forum: No registered users and 40 guests