Opened 8 years ago

Last modified 8 years ago

#11019 new Bugs

Error while building 1.57 with MinGW4.7.1

Reported by: anonymous Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.57.0 Severity: Problem
Keywords: MinGW Cc:

Description

I'm trying to build Boost 1.57 with GCC 4.7.1 bundled with CodeBlocks on Win7 64b.

I did this :

mkdir c:\boost\build cd c:\boost\tools\build\v2 bootstrap.bat gcc b2 install --prefix=C:\boost\build set PATH=%PATH%;C:\boost\build\bin cd c:\boost b2 --build-dir=C:\boost\build toolset=gcc --build-type=complete

And I get this :

error: Name clash for '<pstage\lib>libboost_exception-mgw47-mt-1_57.a'

error: Tried to build the target twice, with property sets having error: these incompabile properties:

error: - none error: - <linkflags>-shared-libgcc <linkflags>-shared-libstdc++

error: Please make sure to have consistent requirements for these error: properties everywhere in your project, especially for install error: targets.

Did I miss anything ?

I haven't found anything on google / boost bug database.

Change History (1)

comment:1 by demystificator@…, 8 years ago

The windows commands with more visibility :

mkdir c:\boost\build 
cd c:\boost\tools\build\v2 
bootstrap.bat gcc 
b2 install --prefix=C:\boost\build 
set PATH=%PATH%;C:\boost\build\bin 
cd c:\boost b2 --build-dir=C:\boost\build toolset=gcc --build-type=complete

Note: See TracTickets for help on using tickets.