I am not sure what happened but when I reload the cmake it gives me this error.
I am using Clion. should I reinstall esp-idf again ?
-- Component directory C:/Users/shahi/esp/esp-idf/components/esptool_py does not contain a CMakeLists.txt file. No component will be added
fatal: not a git repository (or any of the parent directories): .git
-- Building ESP-IDF components for target esp32
-- Checking Python dependencies...
Python requirements are satisfied.
Skipping the download of C:\Users\shahi.espressif\espidf.constraints.v5.1.txt because it was downloaded recently.
Constraint file: C:\Users\shahi.espressif\espidf.constraints.v5.1.txt
Requirement files:
C:\Users\shahi\esp\esp-idf\tools\requirements\requirements.core.txt
Python being checked:
C:\Users\shahi.espressif\python_env\idf5.1_py3.10_env\Scripts\python.exe
CMake Error at C:/Users/shahi/esp/esp-idf/tools/cmake/build.cmake:245 (message):
Failed to resolve component 'cxx'.
Call Stack (most recent call first):
C:/Users/shahi/esp/esp-idf/tools/cmake/build.cmake:281 (__build_resolve_and_add_req)
C:/Users/shahi/esp/esp-idf/tools/cmake/build.cmake:576 (__build_expand_requirements)
C:/Users/shahi/esp/esp-idf/tools/cmake/project.cmake:434 (idf_build_process)
CMakeLists.txt:7 (project)
Related
I want to use lpdf dependency in the luarocks. When I am trying to install it using rockspec file following error has occurred .
lpdf - https://luarocks.org/modules/tomasguisasola/lpdf/20130702.51-1
Error: Failed installing dependency: https://luarocks.org/lpdf-20130702.51-1.src.rock
- Could not find header file for PDFLIB
No file pdflib.h in /usr/local/include
No file pdflib.h in /usr/include
No file pdflib.h in /include
You may have to install PDFLIB in your system and/or pass PDFLIB_DIR or PDFLIB_INCDIR
to the luarocks command.
Example: luarocks install lpdf PDFLIB_DIR=/usr/local
Makefile:110: recipe for target 'install' failed
make: *** [install] Error 1
I want to install in on a docker container. Can anyone share an idea on this?
I recently removed Instabug from my React Native 0.53.3 project, but when I run react-native run-ios I get a build failure:
ld: framework not found Instabug
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld /Users/danale/Library/Developer/Xcode/DerivedData/build/Build/Products/Debug-iphonesimulator/NFIBEngage.app/NFIBEngage normal x86_64
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/NFIBEngage.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/NFIBEngage.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
How can I completely remove Instabug from my project so it's not looking for it on iOS build?
So far I have completely removed it from App.js file, but it's still being referenced in build.gradle, MainActivity.java, MainApplication.java, settings.gradle, project.pbxproj and yarn.lock file. I don't even use yarn by the way.
How do I completely clean this up?
If react-native unlink instabug-reactnative didn't work try removing all react-native link changes manually.
You may refer these pages to remove all references
Instabug rn link checklist
Instabug Documentation
Clean the project once every reference is removed.(Deleting Xcode derived data may be needed sometimes)
When trying to install google test on MSYS2, I use:
cmake -G"MSYS Makefiles" ..
make
This works, the code is generated with no errors. Then, to install:
make install
This unfortunately, does not work. There seems to be a common problem, other packages have similar issues.
-- Installing: C:/Program Files/googletest-distribution/include
CMake Error at googlemock/cmake_install.cmake:31 (file):
file INSTALL cannot make directory "C:/Program
Files/googletest-distribution/include": No such file or directory
Call Stack (most recent call first):
cmake_install.cmake:32 (include)
Is this a permissions problem? I tried sudo, but that does not exist on msys2.
The line number 31 of the error seems wrong, that's a comment:
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
# Include the install script for each subdirectory.
include("D:/git/extcode/googletest/build/googlemock/cmake_install.cmake")
endif()
line 32 is the include, which refers to d:,not c:, so I do not understand the message being generated?
I am trying to manually build my ethereum client on Mac OS X 10.13.5 (using brew gives me a similar error). I follow the simple instructions to :
git clone https://github.com/ethereum/cpp-ethereum.git
cd cpp-ethereum
mkdir -p build
cd build
cmake ..
It gives me an error and fails the build:
CMake Error at CMakeLists.txt:7 (include):
include could not find load file:
evmc/cmake/cable/bootstrap.cmake
CMake Error at CMakeLists.txt:8 (include):
include could not find load file:
CableBuildInfo
CMake Error at CMakeLists.txt:9 (include):
include could not find load file:
CableBuildType
CMake Error at CMakeLists.txt:10 (include):
include could not find load file:
CableToolchains
CMake Error at CMakeLists.txt:19 (cable_configure_toolchain):
Unknown CMake command "cable_configure_toolchain".
-- Configuring incomplete, errors occurred!
I know CMake is used to manage the building process but Id on't understand what is causing the problem. What is this CMakeList that is causing my build to fail and how do I troubleshoot these?
I think you can try
git clone --recursive https://github.com/ethereum/cpp-ethereum.git
I read it from the aleth github project.
Run this inside the cloned folder
git submodule update --init --recursive
I removed conda by following option A in the documentation, i.e. I simply removed the
~/anaconda3 directory and got rid of the relevant line in my ~.bashrc. However, when I call cmake in a different project of mine, cmake still tries to link to libraries installed with anaconda:
$ cmake ..
CMake Error at /usr/share/cmake-3.9/Modules/FindBoost.cmake:1247 (file):
file STRINGS file "/home/USERNAME/anaconda3/include/boost/version.hpp"
cannot be read.
Call Stack (most recent call first):
dbklib/CMakeLists.txt:5 (find_package)
-- Boost version: 0.0.0
-- DBKLIB:
CMake Error at pydbk/pybind11/tools/FindPythonLibsNew.cmake:95 (message):
Python config failure:
Call Stack (most recent call first):
pydbk/pybind11/tools/pybind11Tools.cmake:16 (find_package)
pydbk/pybind11/CMakeLists.txt:33 (include)
How do I get rid of anaconda completely? Can I still somehow run the anaconda-clean tool without having conda?
After modifying installed packages set (especially after removing the package), when rebuild CMake project it is needed to clean CMake cache of that project, so CMake will recheck results of previous searching of packages.
CMake cache may be cleared by removing CMakeCache.txt file from build directory, or by completely cleaning the build directory.