Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

CMake Warning at CMakeLists.txt:6 (find_package): #1012

Open
Blockchainer1 opened this issue Dec 7, 2020 · 5 comments
Open

CMake Warning at CMakeLists.txt:6 (find_package): #1012

Blockchainer1 opened this issue Dec 7, 2020 · 5 comments

Comments

@Blockchainer1
Copy link

-- Setting up Eosio Wasm Toolchain 1.7.0 at /usr
CMake Warning at CMakeLists.txt:6 (find_package):
By not providing "Findeosio.cdt.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"eosio.cdt", but CMake did not find one.

Could not find a package configuration file provided by "eosio.cdt" with
any of the following names:

eosio.cdtConfig.cmake
eosio.cdt-config.cmake

Add the installation prefix of "eosio.cdt" to CMAKE_PREFIX_PATH or set
"eosio.cdt_DIR" to a directory containing one of the above files. If
"eosio.cdt" provides a separate development package or SDK, be sure it has
been installed.

CMake Error at eosio.bios/CMakeLists.txt:1 (add_contract):
Unknown CMake command "add_contract".

-- Configuring incomplete, errors occurred!
See also "/root/eosio.contracts-1.8.x/build/contracts/CMakeFiles/CMakeOutput.log".
See also "/root/eosio.contracts-1.8.x/build/contracts/CMakeFiles/CMakeError.log".
make[2]: *** [contracts_project-prefix/src/contracts_project-stamp/contracts_project-configure] Error 1
make[1]: *** [CMakeFiles/contracts_project.dir/all] Error 2
make: *** [all] Error 2

@sanaraufx
Copy link

Which version of eosio.cdt do you have installed and how did you install it?

@weibin159
Copy link

same problem, any news?

@sanaraufx
Copy link

@SoulWwb - Which version of eosio.cdt do you have installed and how did you install it?

@weibin159
Copy link

weibin159 commented May 28, 2021

@SoulWwb - Which version of eosio.cdt do you have installed and how did you install it?

@sanaraufx

OS: CentOS Linux release 7.9.2009 (Core)
eosio.cdt: 1.7.0

eosio.cdt installed by

wget https://github.com/EOSIO/eosio.cdt/releases/download/v1.7.0/eosio.cdt-1.7.0-1.el7.x86_64.rpm
sudo yum install ./eosio.cdt-1.7.0-1.el7.x86_64.rpm

But it's ok when I build eosio.contracts in docker. I built a docker image with eosio.cdt installed by the same way.

@Borwe
Copy link

Borwe commented Jul 17, 2022

I have same issue with latest 1.8.1, on fedora.

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

4 participants