Opened 9 years ago

Last modified 9 years ago

#9530 new Support Requests

Building Boost with minGW

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

Description

Hey, I use CodeBlocks(minGW) and I'm having problems with building boost. "C:\Program Files (x86)\CodeBlocks\MinGW\bin" is in the Path variable and I was able to build b2 and bjam with "bootstrap.bat gcc" but after "b2 toolset=gcc --build-type=complete" I get some errors.

output:

link.jam: No such file or directory

Building the Boost C++ Libraries.


Performing configuration checks

    - 32-bit                   : yes
    - arm                      : no
    - mips1                    : no
    - power                    : no
    - sparc                    : no
    - x86                      : yes
    - has_icu builds           : no
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
    - zlib                     : no
    - iconv (libc)             : no
    - iconv (separate)         : no
    - icu                      : no
    - icu (lib64)              : no
    - g++ -shared-* supported  : yes
    - message-compiler         : no
    - compiler-supports-ssse3  : yes
    - compiler-supports-avx2   : yes
    - gcc visibility           : yes
    - long double support      : yes
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
warning: No python installation configured and autoconfiguration
note: failed.  See http://www.boost.org/libs/python/doc/building.html
note: for configuration instructions or pass --without-python to
note: suppress this message and silently skip all Boost.Python targets
    - zlib                     : no  (cached)
    - zlib                     : no  (cached)
    - zlib                     : no  (cached)
    - zlib                     : no
    - zlib                     : no  (cached)
    - zlib                     : no  (cached)
    - zlib                     : no  (cached)
    - zlib                     : no  (cached)
    - zlib                     : no  (cached)
    - zlib                     : no  (cached)
    - zlib                     : no  (cached)
C:/libs/boost_1_55_0/tools/build/v2/build\virtual-target.jam:1099: in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target: <pstage\lib>libboost_exception-mgw47-mt-1_55.a
error: previous virtual target { common%common.copy-libboost_exception-mgw47-mt-1_55.a.STATIC_LIB { gcc%gcc.archive-libboost_exception-mgw47-mt-1_55.a.STATIC_LIB { gcc%gcc.compile.c++-clone_current_exception_non_intrusive.o.OBJ { clone_current_exception_non_intrusive.cpp.CPP } } } }
error: created from ./stage-proper
error: another virtual target { common%common.copy-libboost_exception-mgw47-mt-1_55.a.STATIC_LIB { gcc%gcc.archive-libboost_exception-mgw47-mt-1_55.a.STATIC_LIB { gcc%gcc.compile.c++-clone_current_exception_non_intrusive.o.OBJ { clone_current_exception_non_intrusive.cpp.CPP } } } }
error: created from ./stage-proper
error: added properties: <linkflags>-shared-libgcc <linkflags>-shared-libstdc++
error: removed properties: none
C:/libs/boost_1_55_0/tools/build/v2/build\virtual-target.jam:484: in actualize-no-scanner from module object(file-target)@5267
C:/libs/boost_1_55_0/tools/build/v2/build\virtual-target.jam:134: in class@virtual-target.actualize from module object(file-target)@5267
C:/libs/boost_1_55_0/tools/build/v2\build-system.jam:720: in load from module build-system
C:\libs\boost_1_55_0\tools\build\v2/kernel\modules.jam:289: in import from module modules
C:\libs\boost_1_55_0\tools\build\v2/kernel/bootstrap.jam:139: in boost-build from module
C:\libs\boost_1_55_0\boost-build.jam:17: in module scope from module

Change History (1)

Note: See TracTickets for help on using tickets.