Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

cmake Errors #5

Open
mankyd opened this issue Feb 28, 2020 · 2 comments
Open

cmake Errors #5

mankyd opened this issue Feb 28, 2020 · 2 comments

Comments

@mankyd
Copy link

mankyd commented Feb 28, 2020

This does not compile. See the logged output:

dave@desk:~/devel/ibbq-gateway$ idf.py menuconfig
Checking Python dependencies...
Python requirements from /home/dave/devel/esp-idf/requirements.txt are satisfied.
Executing action: menuconfig
Running cmake in directory /home/dave/devel/ibbq-gateway/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized -DCCACHE_ENABLE=0 /home/dave/devel/ibbq-gateway"...
Warn about uninitialized values.
-- Found Git: /usr/bin/git (found version "2.17.1") 
-- IDF_TARGET not set, using default target: esp32
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/dave/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/dave/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/dave/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-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: /home/dave/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
-- Check for working CXX compiler: /home/dave/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project version: 803ed18-dirty
-- Building ESP-IDF components for target esp32
CMake Error at /home/dave/devel/esp-idf/tools/cmake/component.cmake:222 (message):
  CMake Warning (dev) at /home/dave/devel/ibbq-gateway/main/CMakeLists.txt:7:

    Syntax Warning in cmake code at column 32

  

    Argument not separated from preceding token by whitespace.

  Call Stack (most recent call first):

    /home/dave/devel/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:60 (include)
    /home/dave/devel/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:76 (__component_get_requirements)

  This warning is for project developers.  Use -Wno-dev to suppress it.

  

  CMake Error at /home/dave/devel/ibbq-gateway/main/CMakeLists.txt:10:

    Parse error.  Function missing ending ")".  Instead found unterminated
    string with text ")

  

    

  

    register_component()

  

    ".

  Call Stack (most recent call first):

    /home/dave/devel/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:60 (include)
    /home/dave/devel/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:76 (__component_get_requirements)

  

  

Call Stack (most recent call first):
  /home/dave/devel/esp-idf/tools/cmake/build.cmake:404 (__component_get_requirements)
  /home/dave/devel/esp-idf/tools/cmake/project.cmake:337 (idf_build_process)
  CMakeLists.txt:6 (project)


-- Configuring incomplete, errors occurred!
See also "/home/dave/devel/ibbq-gateway/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1
@edje160
Copy link

edje160 commented Nov 8, 2020

Is there a solution ?

@crstrand
Copy link

crstrand commented Jun 4, 2021

There is a " missing at the end of mock_ibbq.cpp

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants