boostorg / build

B2 makes it easy to build C++ projects, everywhere.
Boost Software License 1.0
230 stars 47 forks source link

Error in runnung bjam #491

Open daviewan opened 4 years ago

daviewan commented 4 years ago

Running bjam i get the followingg error: ./bjam -j3

Failed to run bash -c "g++ -dM -x c++ -E /dev/null -include boost/version.hpp 2>/dev/null |grep '#define BOOST_'" Boost does not seem to be installed or g++ is confused.

Shireen35 commented 3 years ago

Hey, Did you get the solution for this I am getting the same problem

daviewan commented 3 years ago

Try ./bjam --prefix=... install

or you can also install g++

sudo apt install build-essential

or installing boost

sudo apt update sudo apt install libboost-all-dev

stale[bot] commented 3 years ago

Thank you for your contributions. Main development of B2 has moved to https://github.com/bfgroup/b2 This issue has been automatically marked as "transition" to indicate the potential for needing transition to the new B2 development project.

waisyousofi commented 4 months ago

For my case doing SRILM step of this link helped: https://masonreznov.github.io/installing-moses-the-statistical-machine-translation-toolkit/