From https://docs.espressif.com/projects/esp ... hread.html:
But where is the actual pthread library itself?This module offers Espressif specific extensions to the pthread library
Thanks.
But where is the actual pthread library itself?This module offers Espressif specific extensions to the pthread library
Code: Select all
find_package(Threads REQUIRED PATHS C:/esp-idf/components/pthread)
And indeed, those files don't seem to exist. Any idea what I'm doing wrong?CMake Error at CMakeLists.txt:148 (find_package):
Could not find a package configuration file provided by "Threads" with any
of the following names:
ThreadsConfig.cmake
threads-config.cmake
Code: Select all
idf_component_register(...
REQUIRES pthread)
Code: Select all
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
Code: Select all
-find_package(Threads REQUIRED)
+find_package(Threads REQUIRED PATHS C:/esp-idf/components/pthread)
Users browsing this forum: Bing [Bot], selec1 and 150 guests