Skip to content

CMakeLists.txt statement "if(NOT PICO_BOARD OR NOT ESP_PLATFORM)" #376

@marnikvd

Description

@marnikvd

Hello,
This issue brought me here.
I'm not able to compile the esp-idf-smb-client in VSCODE.
My ESP-IDF version is 5.2.1
To narrow down the problem I would like to understand why the CMakeLists.txt file in libsmb2 has the following statements

if(NOT PICO_BOARD OR NOT ESP_PLATFORM)

and
if(NOT PICO_BOARD OR NOT ESP_PLATFORM)

This means that the if block is ALWAYS executed EXCEPT when you compile for raspberry pi pico AND esp32 at the same time. Can someone confirm that this is correct?
As a consequence I get this error :

  CMake Error at
  C:/Users/marnik/esp/mijnProjecten/esp-idf-smb-client/components/libsmb2/CMakeLists.txt:72
  (include):

    include could not find requested file:



      cmake/ConfigureChecks.cmake

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions