Bitcoin

Can’t compile Bitcoin Core in VS 2022 – Stack Overflow

VS cannot detect some .hpp files in boost libraries. Some files have header file calls like this:

#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/identity.hpp>
#include <boost/multi_index/indexed_by.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/sequenced_index.hpp>
#include <boost/multi_index/tag.hpp>
#include <boost/multi_index_container.hpp>

This file is stored in my C:\Users\pachu\boost\libs\multi_index directory. Even after adding it as an additional include directory, the compiler still shows an error while building.

2>E:\bitcoin\src\txmempool.h(25,10): error C1083: Cannot open include file: 'boost/multi_index/hashed_index.hpp': No such file or directory

Related Articles

Back to top button