[cfe-dev] config errors while building libpng 1.5.10

Eli Friedman eli.friedman at gmail.com
Sun May 13 23:25:59 PDT 2012


On Sun, May 13, 2012 at 11:06 PM,  <naren.mehra at gmail.com> wrote:
> Hi Everbody,
>
> I am trying to build libpng 1.5.10 with clang but am getting errors during
> configuration:
>
> My config_target reads:
> =================
>
> export INSTALL_DIR="/home/nsmehra/Downloads/libpng-1.5.10/BUILD_clang"
> export CC=clang
> export CPP=clang++
> export CPPFLAGS="-x c++"

"export CPP=clang++" is very, very wrong.  Don't do that.  (I assume
you meant to write "export CXX=clang++".)

-Eli



More information about the cfe-dev mailing list