Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8331669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:29:05+00:00 2026-06-09T02:29:05+00:00

Has anyone successfully compiled the performance test application for boost::math library? link: http://www.boost.org/doc/libs/1_50_0/libs/math/doc/sf_and_dist/html/math_toolkit/perf/perf_test_app.html I

  • 0

Has anyone successfully compiled the performance test application for boost::math library?
link: http://www.boost.org/doc/libs/1_50_0/libs/math/doc/sf_and_dist/html/math_toolkit/perf/perf_test_app.html

I tried compiling by running b2 in the directory and there were lots of errors (over 222000 lines).

First few lines of errors:

../test/erf_data.ipp:6:74: error: wrong number of template arguments (1, should be 2)
In file included from ../../../boost/math/tools/rational.hpp:13:0,
                 from ../../../boost/math/special_functions/log1p.hpp:18,
                 from ../../../boost/math/special_functions/gamma.hpp:35,
                 from test_erf.cpp:9:
../../../boost/array.hpp:60:11: error: provided for ‘template<class T, long unsigned int N> class boost::array’
In file included from test_erf.cpp:13:0:
../test/erf_data.ipp:6:80: error: template argument 1 is invalid
../test/erf_data.ipp:6:91: error: invalid type in declaration before ‘=’ token
../test/erf_data.ipp:7:38: error: ‘SC_’ was not declared in this scope
../test/erf_data.ipp:7:88: error: ‘SC_’ was not declared in this scope
In file included from test_erf.cpp:13:0:
../test/erf_data.ipp:7:136: error: ‘SC_’ was not declared in this scope
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T02:29:07+00:00Added an answer on June 9, 2026 at 2:29 am

    Alright, I got it to compile and link properly but it was not with b2. I know the OP asked for b2 but im not familiar with it so i am providing an alternative. This solution assumes you have Cmake installed. (easy to do, just ask dr google.)

    If you go to the math tests location:

    ~/pathToBoost/libs/math/performance
    

    and you add a file called:

    CMakeLists.txt
    

    with the following Contents:

    cmake_minimum_required(VERSION 2.8)
    find_package(Boost COMPONENTS  REQUIRED)
    include_directories(${DEPENDENCY_DIR}/libboost/lib)
    
    add_executable(main main.cpp test_reference.cpp)
    target_link_libraries (main ${Boost_LIBRARIES} boost_regex)
    

    Then you make a folder called build:

    mkdir build
    

    And build it.

    cd build
    cmake ..
    make
    

    Doing this got me successful compilation and building. I get a program called main out of it.

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone successfully cross-compiled Lighttpd to use on WinCE? On the Lighttpd wiki it
Has anyone successfully iLMerged Enterprise Library 5.0? iLMerge successfully creates the merged dll and
Has anyone successfully compiled the latest CVS version of Emacs on Snow Leopard? If
Has anyone successfully complied pdftk with the /libgcj.so.10 library? Bluehost upgraded from centOS 5
Has anyone successfully cross-compiled mono for ARM under Linux without scratchbox or qemu? (maybe
has anyone successfully compiled a pro*fortran program on windows that connects to Oracle 10g?
Has anyone successfully compiled the android kernel and tested it in the Android emulator,
Has anyone successfully deployed ASP.NET MVC alongside Web Forms in the same application in
Has anyone successfully complied the Apache FOP v1.0 library to a .NET DLL? I
Having everything installed and compiled successfully, I am getting this lovely output, anyone has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.