Boost logo

Boost Users :

Subject: Re: [Boost-users] [fusion] Re: Build error 1.46
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2011-02-22 09:52:27


Andreas Wehrmann wrote:

> libs/iostreams/src/bzip2.cpp:164: error: 'BZ2_bzDecompressInit' was not declared in this scope
>
> "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread
> -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG -I"." -c -o
> "bin.v2/libs/iostreams/build/gcc-4.2.0/release/link-static/threading-multi/bzip2.o"
> "libs/iostreams/src/bzip2.cpp"
>
> ...failed gcc.compile.c++
> bin.v2/libs/iostreams/build/gcc-4.2.0/release/link-static/threading-multi/bzip2.o...

Here's you real error. You don't have headers for libbz2. Either install them, or
use --without-iostreams when building.

HTH,

-- 
Vladimir Prus
Mentor Graphics
+7 (812) 677-68-40

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net