Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on build. #21

Open
dele opened this issue Sep 15, 2021 · 0 comments
Open

Errors on build. #21

dele opened this issue Sep 15, 2021 · 0 comments

Comments

@dele
Copy link

dele commented Sep 15, 2021

Hello,
I'm getting error when i run build on latest version of docker cdt.

root@77c505f65599:/home# cd wax-cdt/
root@77c505f65599:/home/wax-cdt# ls
CHANGELOG.md CONTRIBUTING.md LICENSE SimpleAssets build.sh docs examples install.sh modules tests uninstall.sh
CMakeLists.txt Doxyfile README.md build docker eosio_llvm imports libraries scripts tools
root@77c505f65599:/home/wax-cdt# cd SimpleAssets/
root@77c505f65599:/home/wax-cdt/SimpleAssets# ls
CMakeLists.txt LICENSE README.md README_ES.md README_KR.md README_ZH.md build build.sh external_test include ricardian src
root@77c505f65599:/home/wax-cdt/SimpleAssets# ./build.sh
=========== Building SimpleAssets Contract [by CryptoLions.io] ===========

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting up Eosio Wasm Toolchain 1.6.1 at /usr/local/eosio.cdt
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 3.10)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/wax-cdt/SimpleAssets/build
Scanning dependencies of target SimpleAssets_project
[ 11%] Creating directories for 'SimpleAssets_project'
[ 22%] No download step for 'SimpleAssets_project'
[ 44%] No patch step for 'SimpleAssets_project'
[ 44%] No update step for 'SimpleAssets_project'
[ 55%] Performing configure step for 'SimpleAssets_project'
-- Setting up Eosio Wasm Toolchain 1.6.1 at /usr/local/eosio.cdt
-- Setting up Eosio Wasm Toolchain 1.6.1 at /usr/local/eosio.cdt
-- The C compiler identification is Clang 7.0.0
-- The CXX compiler identification is Clang 7.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Detecting C compile features
-- Detecting C compile features - failed
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Detecting CXX compile features
-- Detecting CXX compile features - failed
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 3.10)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
CMake Warning (dev) at /usr/local/eosio.cdt/lib/cmake/eosio.cdt/EosioCDTMacros.cmake:12 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.

The dependency target
"/home/wax-cdt/SimpleAssets/src/../ricardian/SimpleAssets.clauses.md" of
target "SimpleAssets" does not exist.
Call Stack (most recent call first):
CMakeLists.txt:8 (target_ricardian_directory)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/eosio.cdt/lib/cmake/eosio.cdt/EosioCDTMacros.cmake:12 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.

The dependency target
"/home/wax-cdt/SimpleAssets/src/../ricardian/SimpleAssets.contracts.md" of
target "SimpleAssets" does not exist.
Call Stack (most recent call first):
CMakeLists.txt:8 (target_ricardian_directory)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/wax-cdt/SimpleAssets/build/SimpleAssets
[ 66%] Performing build step for 'SimpleAssets_project'
Scanning dependencies of target SimpleAssets
[ 50%] Building CXX object CMakeFiles/SimpleAssets.dir/SimpleAssets.obj
CMakeFiles/SimpleAssets.dir/build.make:62: recipe for target 'CMakeFiles/SimpleAssets.dir/SimpleAssets.obj' failed
make[5]: *** [CMakeFiles/SimpleAssets.dir/SimpleAssets.obj] Segmentation fault
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/SimpleAssets.dir/all' failed
make[4]: *** [CMakeFiles/SimpleAssets.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/SimpleAssets_project.dir/build.make:111: recipe for target 'SimpleAssets_project-prefix/src/SimpleAssets_project-stamp/SimpleAssets_project-build' failed
make[2]: *** [SimpleAssets_project-prefix/src/SimpleAssets_project-stamp/SimpleAssets_project-build] Error 2
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/SimpleAssets_project.dir/all' failed
make[1]: *** [CMakeFiles/SimpleAssets_project.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant