I have installed boost to work with
Windows
Microsoft Visual C++
Cygwin g++
Linux
openSuSe
I can compile and run test programs
On all three versions.
However I get the following error messages when trying To call one of the
routines in
https://www.boost.org/doc/libs/1_67_0/libs/sort/doc/html/sort/parallel.html
Here is the cygwin message
$ g++ ch3604.cxx
ch3604.cxx: In function 'int main()':
ch3604.cxx:155:3: error: 'parallel_stable_sort' was not declared in this
scope
parallel_stable_sort( x.begin() , x.end() );
Here is the Microsoft message
C:\document\cpp\examples>cl /EHsc /I "C:\Program Files\boost\boost_1_67_0"
-O2 /F 1000000000 ch3604.cxx
Microsoft (R) C/C++ Optimizing Compiler Version 19.13.26129 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
ch3604.cxx
I get a similar message on openSuSe linux.
Here is the top part of the source file
#####
#include <iostream>
#include <algorithm>
#include <array>
#include <chrono>
#include <random>
#include <string>
#include