eosio.cdt icon indicating copy to clipboard operation
eosio.cdt copied to clipboard

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

Open Blockchainer1 opened this issue 3 years ago • 5 comments

-- 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

Blockchainer1 avatar Dec 07 '20 11:12 Blockchainer1

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

sanaraufx avatar Apr 21 '21 17:04 sanaraufx

same problem, any news?

weibin159 avatar May 27 '21 08:05 weibin159

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

sanaraufx avatar May 27 '21 13:05 sanaraufx

@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.

weibin159 avatar May 28 '21 01:05 weibin159

I have same issue with latest 1.8.1, on fedora.

Borwe avatar Jul 17 '22 22:07 Borwe