geting error trying to use tbb on windows with mingw and clion

geting error trying to use tbb on windows with mingw and clion


Here is my main function:

#include <tbb/tbb.h>

'#include<iostream>

using namespace std;

using namespace tbb;

int main() {  return 0; }

And I got these :

D:/mingw64_9.1.0/mingw64/include/c++/9.1.1/bits/hashtable_policy.h: In member function 'std::__detail::_Map_base<_Key, _Pair, _Alloc, std::__detail::_Select1st, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits, true>::mapped_type& std::__detail::_Map_base<_Key, _Pair, _Alloc, std::__detail::_Select1st, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits, true>::operator[](std::__detail::_Map_base<_Key, _Pair, _Alloc, std::__detail::_Select1st, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits, true>::key_type&&)':
D:/mingw64_9.1.0/mingw64/include/c++/9.1.1/bits/hashtable_policy.h:726:16: error: 'forward_as_tuple' is not a member of 'std'

 

my platform is win10(64bit)+clion+mingw9.1.0. 

first I download the zip of "https://github.com/intel/tbb.git",second I use cmd to run the command "cmake -G 'MinGW Makefiles'",and then run "mingw32-make compiler=gcc arch=intel64 runtime=mingw",and finally ""mingw32-make install".

after all the steps above,I got "C:\Program Files (x86)\tbb/bin","C:\Program Files (x86)\tbb/include","C:\Program Files (x86)\tbb/lib".

and copy those three folder to "E:\CLionProjects\MYtoolTest\bin\tbb"(contain all .lib and .dll) and "E:\CLionProjects\MYtoolTest\include\tbb"(contain all header)

then in my project's cmakelist I wrote this:

cmake_minimum_required(VERSION 3.14)

project(MYtoolTest)

set(CMAKE_CXX_STANDARD 17)

set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")

include_directories(include)

include_directories(E:/CLionProjects/MYtoolTest/MyTool/include) include_directories(D:/ProgramData/Anaconda3/include)

include_directories(E:/CLionProjects/MYtoolTest/MyTool/include)

include_directories(E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl) include_directories(E:/CLionProjects/MYtoolTest/include/tbb/internal)

include_directories(E:/CLionProjects/MYtoolTest/include/armadillo_9.800.3)

include_directories(E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant) include_directories(E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand) include_directories(E:/CLionProjects/MYtoolTest/include/fftw-3.3.5-dll64)

include_directories(E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob) include_directories(E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens) include_directories(E:/CLionProjects/MYtoolTest/include/tbb)

include_directories(E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks) include_directories(E:/CLionProjects/MYtoolTest/include/nolhmann)

include_directories(E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/internal_fns) include_directories(E:/CLionProjects/MYtoolTest/include/tbb/compat)

include_directories(E:/CLionProjects/MYtoolTest/include/stats-master)

include_directories(E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops) include_directories(E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl) include_directories(E:/CLionProjects/MYtoolTest/include/tbb/machine)

include_directories(E:/CLionProjects/MYtoolTest/include/openBLAS)

include_directories(E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc) include_directories(E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/quadrature) include_directories(E:/CLionProjects/MYtoolTest/include/gcem-master) include_directories(E:/CLionProjects/MYtoolTest/include/armadillo_9.800.3/armadillo_bits)

link_directories(E:/CLionProjects/MYtoolTest/bin/tbb D:/ProgramData/Anaconda3/libs bin) include_directories(E:/CLionProjects/MYtoolTest/bin/openBLAS)

include_directories(E:/CLionProjects/MYtoolTest/bin/tbb)

include_directories(E:/CLionProjects/MYtoolTest/bin/fftw-3.3.5-dll64)

add_executable(MYtoolTest E:/CLionProjects/MYtoolTest/MyTool/src/strStuff.cpp E:/CLionProjects/MYtoolTest/MyTool/src/glob.cpp E:/CLionProjects/MYtoolTest/MyTool/src/ioStuff.cpp E:/CLionProjects/MYtoolTest/MyTool/src/ioStuff.cpp E:/CLionProjects/MYtoolTest/MyTool/src/glob.cpp E:/CLionProjects/MYtoolTest/MyTool/src/strStuff.cpp E:/CLionProjects/MYtoolTest/src/main.cpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/cout.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/norm.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/pt.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qexp.hpp E:/CLionProjects/MYtoolTest/include/tbb/scalable_allocator.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/pow.hpp E:/CLionProjects/MYtoolTest/MyTool/include/strStuff.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rwish.hpp E:/CLionProjects/MYtoolTest/include/tbb/index.html E:/CLionProjects/MYtoolTest/include/tbb/aligned_space.h E:/CLionProjects/MYtoolTest/include/tbb/global_control.h E:/CLionProjects/MYtoolTest/include/tbb/machine/windows_ia32.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/find_fraction.hpp E:/CLionProjects/MYtoolTest/include/tbb/parallel_scan.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/log.hpp E:/CLionProjects/MYtoolTest/include/tbb/parallel_for.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dnorm.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qunif.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dens.hpp E:/CLionProjects/MYtoolTest/include/tbb/machine/windows_api.h E:/CLionProjects/MYtoolTest/include/openBLAS/f77blas.h E:/CLionProjects/MYtoolTest/include/tbb/enumerable_thread_specific.h E:/CLionProjects/MYtoolTest/include/tbb/iterators.h E:/CLionProjects/MYtoolTest/MyTool/include/MySetStuff.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/log_binomial_coef.hpp E:/CLionProjects/MYtoolTest/include/tbb/parallel_while.h E:/CLionProjects/MYtoolTest/include/tbb/queuing_rw_mutex.h E:/CLionProjects/MYtoolTest/include/tbb/spin_mutex.h E:/CLionProjects/MYtoolTest/include/tbb/internal/_flow_graph_async_msg_impl.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qf.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/prob.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rand.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dgamma.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/chol.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rbinom.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/statslib_options.hpp E:/CLionProjects/MYtoolTest/include/tbb/concurrent_unordered_map.h E:/CLionProjects/MYtoolTest/include/tbb/machine/linux_ia32.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/spacing.hpp E:/CLionProjects/MYtoolTest/MyTool/include/matplotlibcpp.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/chisq.hpp E:/CLionProjects/MYtoolTest/MyTool/include/MyTimeStuff.hpp E:/CLionProjects/MYtoolTest/include/tbb/concurrent_lru_cache.h E:/CLionProjects/MYtoolTest/include/tbb/internal/_aggregator_impl.h E:/CLionProjects/MYtoolTest/include/tbb/tick_count.h E:/CLionProjects/MYtoolTest/include/tbb/queuing_mutex.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dchisq.hpp E:/CLionProjects/MYtoolTest/include/tbb/compat/ppl.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/repmat.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/pchisq.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/is_odd.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/tan.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dbinom.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/plaplace.hpp E:/CLionProjects/MYtoolTest/include/tbb/internal/_allocator_traits.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/t.hpp E:/CLionProjects/MYtoolTest/include/tbb/internal/_flow_graph_types_impl.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/erf.hpp E:/CLionProjects/MYtoolTest/include/tbb/internal/_tbb_windef.h E:/CLionProjects/MYtoolTest/include/tbb/internal/_x86_eliding_mutex_impl.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dlnorm.hpp E:/CLionProjects/MYtoolTest/MyTool/include/MySlice.hpp E:/CLionProjects/MYtoolTest/include/tbb/machine/macos_common.h E:/CLionProjects/MYtoolTest/include/tbb/memory_pool.h E:/CLionProjects/MYtoolTest/include/tbb/machine/msvc_armv7.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/quad_form.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/pbeta.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/lnorm.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/atan2.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/n_elem.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/exp.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/pgamma.hpp E:/CLionProjects/MYtoolTest/include/tbb/task_group.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/eye.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/get_mem_ptr.hpp E:/CLionProjects/MYtoolTest/include/tbb/internal/_concurrent_queue_impl.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/incomplete_beta_inv.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/weibull.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rinvwish.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/solve.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/is_inf.hpp E:/CLionProjects/MYtoolTest/include/tbb/internal/_flow_graph_item_buffer_impl.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/get_row.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qlaplace.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/ceil.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/acos.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/neg_zero.hpp E:/CLionProjects/MYtoolTest/include/tbb/combinable.h E:/CLionProjects/MYtoolTest/MyTool/include/MyMapReduce.hpp E:/CLionProjects/MYtoolTest/include/openBLAS/lapacke.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dlaplace.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/pnorm.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rmultinom.hpp E:/CLionProjects/MYtoolTest/include/tbb/concurrent_vector.h E:/CLionProjects/MYtoolTest/include/tbb/runtime_loader.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/zeros.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qt.hpp E:/CLionProjects/MYtoolTest/include/tbb/machine/gcc_itsx.h E:/CLionProjects/MYtoolTest/MyTool/include/dictTrans.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/df.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dinvwish.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rlaplace.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rt.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rchisq.hpp E:/CLionProjects/MYtoolTest/include/tbb/blocked_range3d.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/cosh.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qbeta.hpp E:/CLionProjects/MYtoolTest/include/tbb/parallel_do.h E:/CLionProjects/MYtoolTest/include/tbb/pipeline.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rnorm.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qbinom.hpp E:/CLionProjects/MYtoolTest/include/tbb/machine/icc_generic.h E:/CLionProjects/MYtoolTest/include/tbb/machine/linux_common.h E:/CLionProjects/MYtoolTest/include/tbb/internal/_flow_graph_body_impl.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dpois.hpp E:/CLionProjects/MYtoolTest/MyTool/include/ioStuff.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/plogis.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rmvnorm.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/sum_absdiff.hpp E:/CLionProjects/MYtoolTest/include/tbb/tbb_thread.h E:/CLionProjects/MYtoolTest/include/tbb/machine/gcc_arm.h E:/CLionProjects/MYtoolTest/include/tbb/tbb_stddef.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/acosh.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qinvgamma.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/beta.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qgamma.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/gcd.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/misc.hpp E:/CLionProjects/MYtoolTest/include/tbb/internal/_flow_graph_impl.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/lbeta.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/internal_fns/statslib_defs.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rcauchy.hpp E:/CLionProjects/MYtoolTest/include/tbb/machine/linux_intel64.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/pbern.hpp E:/CLionProjects/MYtoolTest/include/tbb/task_scheduler_observer.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/mean.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/cauchy.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/sqrt.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/unif.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/plnorm.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/binomial_coef.hpp E:/CLionProjects/MYtoolTest/include/tbb/machine/sunos_sparc.h E:/CLionProjects/MYtoolTest/include/tbb/machine/msvc_ia32_common.h E:/CLionProjects/MYtoolTest/include/tbb/reader_writer_lock.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/find_whole.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/trace.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/gcem_options.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/cumsum.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/beta.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/is_even.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rgamma.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/pcauchy.hpp E:/CLionProjects/MYtoolTest/include/tbb/concurrent_priority_queue.h E:/CLionProjects/MYtoolTest/include/tbb/tbb_exception.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/n_cols.hpp E:/CLionProjects/MYtoolTest/include/tbb/flow_graph_opencl_node.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/bern.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rlnorm.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/expm1.hpp E:/CLionProjects/MYtoolTest/include/tbb/internal/_flow_graph_indexer_impl.h E:/CLionProjects/MYtoolTest/include/tbb/internal/_range_iterator.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/incomplete_beta.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/min.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/internal_fns/internal_fns.hpp E:/CLionProjects/MYtoolTest/include/tbb/tbb_allocator.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/cerr.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/pow_integral.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/binom.hpp E:/CLionProjects/MYtoolTest/MyTool/include/MyQueue.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/erf_inv.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/laplace.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/tanh.hpp E:/CLionProjects/MYtoolTest/include/tbb/flow_graph_abstractions.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qbern.hpp E:/CLionProjects/MYtoolTest/include/tbb/machine/gcc_ia32_common.h E:/CLionProjects/MYtoolTest/include/tbb/machine/gcc_generic.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/matrix_ops.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/ppois.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/resize.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qchisq.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/pois.hpp E:/CLionProjects/MYtoolTest/include/tbb/parallel_reduce.h E:/CLionProjects/MYtoolTest/include/tbb/internal/_flow_graph_streaming_node.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/find_exponent.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/punif.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/mantissa.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dunif.hpp E:/CLionProjects/MYtoolTest/include/tbb/internal/_flow_graph_cache_impl.h E:/CLionProjects/MYtoolTest/include/tbb/machine/ibm_aix51.h E:/CLionProjects/MYtoolTest/include/tbb/parallel_invoke.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/trans.hpp E:/CLionProjects/MYtoolTest/include/tbb/tbb_machine.h E:/CLionProjects/MYtoolTest/include/tbb/tbb_profiling.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/trunc.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dwish.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/pexp.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dlogis.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/internal_fns/log_if.hpp E:/CLionProjects/MYtoolTest/include/tbb/blocked_range.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/atan.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/factorial.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dinvgamma.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/cos.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/var.hpp E:/CLionProjects/MYtoolTest/MyTool/include/jsonStuff.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qcauchy.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/abs.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/sin.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rexp.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/lgamma.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/round.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/quant.hpp E:/CLionProjects/MYtoolTest/include/tbb/internal/_flow_graph_node_impl.h E:/CLionProjects/MYtoolTest/include/openBLAS/cblas.h E:/CLionProjects/MYtoolTest/include/tbb/internal/_template_helpers.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/max.hpp E:/CLionProjects/MYtoolTest/include/tbb/parallel_for_each.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/inv.hpp E:/CLionProjects/MYtoolTest/include/tbb/aggregator.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rf.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qweibull.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/quadrature/gauss_legendre_50.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/is_nan.hpp E:/CLionProjects/MYtoolTest/include/openBLAS/lapacke_utils.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dcauchy.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dbeta.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dmvnorm.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/pinvgamma.hpp E:/CLionProjects/MYtoolTest/include/tbb/machine/linux_ia64.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/sinh.hpp E:/CLionProjects/MYtoolTest/include/tbb/machine/mic_common.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/incomplete_gamma.hpp E:/CLionProjects/MYtoolTest/MyTool/include/glob.h E:/CLionProjects/MYtoolTest/include/tbb/concurrent_unordered_set.h E:/CLionProjects/MYtoolTest/include/tbb/internal/_flow_graph_trace_impl.h E:/CLionProjects/MYtoolTest/include/tbb/internal/_tbb_trace_impl.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/log1p.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/pweibull.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qlogis.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dt.hpp E:/CLionProjects/MYtoolTest/MyTool/include/MySTLStuff.hpp E:/CLionProjects/MYtoolTest/include/tbb/blocked_range2d.h E:/CLionProjects/MYtoolTest/include/tbb/task_scheduler_init.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/runif.hpp E:/CLionProjects/MYtoolTest/include/tbb/internal/_flow_graph_join_impl.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/sanity_checks.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rinvgamma.hpp E:/CLionProjects/MYtoolTest/include/tbb/internal/_x86_rtm_rw_mutex_impl.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dweibull.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/internal_fns/exp_if.hpp E:/CLionProjects/MYtoolTest/include/tbb/mutex.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/fill.hpp E:/CLionProjects/MYtoolTest/include/tbb/parallel_sort.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/prob_val.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/sgn.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/asin.hpp E:/CLionProjects/MYtoolTest/include/tbb/internal/_concurrent_unordered_impl.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rpois.hpp E:/CLionProjects/MYtoolTest/include/tbb/spin_rw_mutex.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rweibull.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rlogis.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/floor.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/pf.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rbern.hpp E:/CLionProjects/MYtoolTest/include/tbb/flow_graph.h E:/CLionProjects/MYtoolTest/include/tbb/internal/_tbb_hash_compare_impl.h E:/CLionProjects/MYtoolTest/include/tbb/null_rw_mutex.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/gamma.hpp E:/CLionProjects/MYtoolTest/include/tbb/partitioner.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dbern.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/logis.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/tgamma.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qnorm.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/prob/pbinom.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/asinh.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/n_rows.hpp E:/CLionProjects/MYtoolTest/include/tbb/internal/_tbb_strings.h E:/CLionProjects/MYtoolTest/include/tbb/machine/mac_ppc.h E:/CLionProjects/MYtoolTest/include/tbb/internal/_flow_graph_tagged_buffer_impl.h E:/CLionProjects/MYtoolTest/include/tbb/tbb_config.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/lmgamma.hpp E:/CLionProjects/MYtoolTest/include/tbb/null_mutex.h E:/CLionProjects/MYtoolTest/MyTool/include/MySort.hpp E:/CLionProjects/MYtoolTest/include/tbb/internal/_mutex_padding.h E:/CLionProjects/MYtoolTest/include/tbb/critical_section.h E:/CLionProjects/MYtoolTest/include/tbb/recursive_mutex.h E:/CLionProjects/MYtoolTest/include/tbb/task_arena.h E:/CLionProjects/MYtoolTest/include/nolhmann/json.hpp E:/CLionProjects/MYtoolTest/include/tbb/concurrent_hash_map.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/log_det.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qpois.hpp E:/CLionProjects/MYtoolTest/include/tbb/atomic.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/incomplete_gamma_inv.hpp E:/CLionProjects/MYtoolTest/include/tbb/task.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/dens/dexp.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/det.hpp E:/CLionProjects/MYtoolTest/include/tbb/concurrent_queue.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/invgamma.hpp E:/CLionProjects/MYtoolTest/include/tbb/tbb_disable_exceptions.h E:/CLionProjects/MYtoolTest/MyTool/include/myStats.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/accu.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/f.hpp E:/CLionProjects/MYtoolTest/include/openBLAS/lapacke_mangling.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/quant/qlnorm.hpp E:/CLionProjects/MYtoolTest/include/tbb/tbb.h E:/CLionProjects/MYtoolTest/include/tbb/tbbmalloc_proxy.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/atanh.hpp E:/CLionProjects/MYtoolTest/include/tbb/blocked_rangeNd.h E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/sanity_checks/exp.hpp E:/CLionProjects/MYtoolTest/include/openBLAS/openblas_config.h E:/CLionProjects/MYtoolTest/MyTool/include/MultiThreadFrame.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/is_finite.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/quadrature/gauss_legendre_30.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/rand/rbeta.hpp E:/CLionProjects/MYtoolTest/include/stats-master/stats_incl/misc/matrix_ops/exp.hpp E:/CLionProjects/MYtoolTest/include/tbb/cache_aligned_allocator.h E:/CLionProjects/MYtoolTest/include/tbb/machine/windows_intel64.h E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/log.hpp E:/CLionProjects/MYtoolTest/include/gcem-master/gcem_incl/lcm.hpp E:/CLionProjects/MYtoolTest/include/openBLAS/lapacke_config.h E:/CLionProjects/MYtoolTest/include/fftw-3.3.5-dll64/fftw3.h D:/ProgramData/Anaconda3/include/Python.h )

TARGET_LINK_LIBRARIES(MYtoolTest E:/CLionProjects/MYtoolTest/bin/openBLAS/libopenblas.a E:/CLionProjects/MYtoolTest/bin/fftw-3.3.5-dll64/libfftw3f-3.lib E:/CLionProjects/MYtoolTest/bin/tbb/libtbbmalloc_proxy.dll.a E:/CLionProjects/MYtoolTest/bin/tbb/libtbbmalloc_static.a E:/CLionProjects/MYtoolTest/bin/tbb/libtbb_static.a E:/CLionProjects/MYtoolTest/bin/fftw-3.3.5-dll64/libfftw3-3.lib E:/CLionProjects/MYtoolTest/bin/tbb/libtbbmalloc_proxy_static.a E:/CLionProjects/MYtoolTest/bin/fftw-3.3.5-dll64/libfftw3l-3.lib E:/CLionProjects/MYtoolTest/bin/openBLAS/libopenblas.dll.a E:/CLionProjects/MYtoolTest/bin/tbb/libtbb.dll.a E:/CLionProjects/MYtoolTest/bin/openBLAS/libopenblas.lib E:/CLionProjects/MYtoolTest/bin/tbb/libtbbmalloc.dll.a python36.lib imagehlp.lib )

TARGET_LINK_LIBRARIES(MYtoolTest E:/CLionProjects/MYtoolTest/bin/openBLAS/libopenblas.dll E:/CLionProjects/MYtoolTest/bin/libdlltest.dll E:/CLionProjects/MYtoolTest/bin/openBLAS/libgcc_s_seh-1.dll E:/CLionProjects/MYtoolTest/bin/tbb/libtbbmalloc.dll E:/CLionProjects/MYtoolTest/bin/tbb/libtbb.dll E:/CLionProjects/MYtoolTest/bin/tbb/libtbbmalloc_proxy.dll E:/CLionProjects/MYtoolTest/bin/openBLAS/libgfortran-3.dll E:/CLionProjects/MYtoolTest/bin/fftw-3.3.5-dll64/libfftw3l-3.dll E:/CLionProjects/MYtoolTest/bin/fftw-3.3.5-dll64/libfftw3-3.dll E:/CLionProjects/MYtoolTest/bin/fftw-3.3.5-dll64/libfftw3f-3.dll )

just don't know I miss what,thank for your valuable time for reading this.

 

 

4 posts / 0 new

I think the problem is that :"D:/mingw64_9.1.0/mingw64/include/c++/9.1.1/bits/hashtable_policy.h:725:16: error: 'forward_as_tuple' is not a member of 'std'".

In hashtable_policy.h,it wrote "#include <tuple>",but my compiler get this file from "E:\CLionProjects\MYtoolTest\include\tbb\compat\tuple" instead of "D:\mingw64_9.1.0\mingw64\include\c++\9.1.1\tuple"

what should I do to fix this?


hello,

There is similar issue reported (https://github.com/intel/tbb/issues/107). In that case looks to be with a compiler environment.

Vladimir


Quote:

li, ruochen wrote:

In hashtable_policy.h,it wrote "#include <tuple>",but my compiler get this file from "E:\CLionProjects\MYtoolTest\include\tbb\compat\tuple" instead of "D:\mingw64_9.1.0\mingw64\include\c++\9.1.1\tuple"

what should I do to fix this?

remove "include_directories(E:/CLionProjects/MYtoolTest/include/tbb/compat)" from your cmake.

Leave a Comment

Please sign in to add a comment. Not a member? Join today