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

Build Fail #196

Closed
zhengerkui opened this issue Sep 21, 2022 · 2 comments
Closed

Build Fail #196

zhengerkui opened this issue Sep 21, 2022 · 2 comments
Labels
more-info waiting for submitter to reply with more information

Comments

@zhengerkui
Copy link

My server info
uname -a
Linux ip-10-105-19-225 5.11.0-1028-aws #31~20.04.1-Ubuntu SMP Fri Jan 14 14:37:50 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
step1
apt-get update && apt-get install
build-essential
cmake
curl
git
libboost-all-dev
libcurl4-openssl-dev
libgmp-dev
libssl-dev
libusb-1.0-0-dev
llvm-11-dev
pkg-config

step2
git submodule update --init --recursive
mkdir build
cd build

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/usr/lib/llvm-11 ..
When I execute the above command line, I keep getting the following error

CMake Error in libraries/fc/CMakeLists.txt:
Imported target "Boost::date_time" includes non-existent path

"/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not
    provide.

CMake Error in libraries/fc/CMakeLists.txt:
Imported target "Boost::date_time" includes non-existent path

"/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not
    provide.

CMake Error in libraries/chainbase/CMakeLists.txt:
Imported target "Boost::filesystem" includes non-existent path

"/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.
@spoonincode
Copy link
Member

spoonincode commented Sep 22, 2022

Hello. Please remove and recreate the build directory and run the cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/usr/lib/llvm-11 .. command again, and copy the entire output here so we can see. Also please copy the output of cmake --version.

@spoonincode spoonincode added more-info waiting for submitter to reply with more information and removed triage labels Sep 29, 2022
@stephenpdeos
Copy link
Member

Closing due to inactivity

Repository owner moved this from Todo to Done in Team Backlog Oct 27, 2022
@stephenpdeos stephenpdeos reopened this Oct 27, 2022
@stephenpdeos stephenpdeos closed this as not planned Won't fix, can't repro, duplicate, stale Oct 27, 2022
@stephenpdeos stephenpdeos reopened this Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more-info waiting for submitter to reply with more information
Projects
Archived in project
Development

No branches or pull requests

4 participants