build icon indicating copy to clipboard operation
build copied to clipboard

Error in runnung bjam

Open daviewan opened this issue 6 years ago • 4 comments

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.

daviewan avatar Oct 09 '19 11:10 daviewan

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

Shireen35 avatar May 02 '21 05:05 Shireen35

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

daviewan avatar May 02 '21 09:05 daviewan

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.

stale[bot] avatar May 29 '21 16:05 stale[bot]

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

waisyousofi avatar Mar 05 '24 19:03 waisyousofi