RcppCore / RcppParallel

High-level functions for parallel programming with Rcpp
http://rcppcore.github.io/RcppParallel/
171 stars 59 forks source link

Error: package or namespace load failed for 'RcppParallel' #166

Closed amegbor closed 2 years ago

amegbor commented 3 years ago

Hello,

I am updating the RcppParallel in RStudio but got an error. Below is the output of the installation

install.packages("RcppParallel") Installing package into ‘C:/Users/au643325/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified)

There is a binary version available but the source version is later: binary source needs_compilation RcppParallel 5.1.1 5.1.2 TRUE

installing the source package ‘RcppParallel’

trying URL 'https://cran.rstudio.com/src/contrib/RcppParallel_5.1.2.tar.gz' Content type 'application/x-gzip' length 1628228 bytes (1.6 MB) downloaded 1.6 MB

* arch - i386 (tbb) Building TBB using bundled sources ... make[1]: Entering directory '/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-i386/tbb/src' OS: windows arch=ia32 compiler=gcc runtime=mingw tbb_build_prefix=windows_ia32_gcc_mingw work_dir=/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-i386/build/windows_ia32_gcc_mingw_release make[1]: Leaving directory '/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-i386/tbb/src' make[1]: Entering directory '/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-i386/tbb/src' Created ../build/lib_release directory make -C "../build/lib_release" -r -f ../../build/Makefile.tbb cfg=release make[2]: Entering directory '/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-i386/tbb/build/lib_release' ../../build/Makefile.tbb:28: CONFIG: cfg=release arch=ia32 compiler=gcc target=windows runtime=mingw C:/rtools40/mingw32/bin/g++ -o concurrent_hash_map.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_hash_map.cpp C:/rtools40/mingw32/bin/g++ -o concurrent_queue.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_queue.cpp C:/rtools40/mingw32/bin/g++ -o concurrent_vector.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_vector.cpp C:/rtools40/mingw32/bin/g++ -o dynamic_link.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/dynamic_link.cpp C:/rtools40/mingw32/bin/g++ -o itt_notify.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp C:/rtools40/mingw32/bin/g++ -o cache_aligned_allocator.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/cache_aligned_allocator.cpp C:/rtools40/mingw32/bin/g++ -o pipeline.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/pipeline.cpp C:/rtools40/mingw32/bin/g++ -o queuing_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_mutex.cpp C:/rtools40/mingw32/bin/g++ -o queuing_rw_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_rw_mutex.cpp C:/rtools40/mingw32/bin/g++ -o reader_writer_lock.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/reader_writer_lock.cpp C:/rtools40/mingw32/bin/g++ -o spin_rw_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_rw_mutex.cpp C:/rtools40/mingw32/bin/g++ -o x86_rtm_rw_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/x86_rtm_rw_mutex.cpp C:/rtools40/mingw32/bin/g++ -o spin_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_mutex.cpp C:/rtools40/mingw32/bin/g++ -o critical_section.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/critical_section.cpp C:/rtools40/mingw32/bin/g++ -o mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/mutex.cpp C:/rtools40/mingw32/bin/g++ -o recursive_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/recursive_mutex.cpp C:/rtools40/mingw32/bin/g++ -o condition_variable.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/condition_variable.cpp C:/rtools40/mingw32/bin/g++ -o tbb_thread.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_thread.cpp C:/rtools40/mingw32/bin/g++ -o concurrent_monitor.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_monitor.cpp C:/rtools40/mingw32/bin/g++ -o semaphore.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/semaphore.cpp C:/rtools40/mingw32/bin/g++ -o private_server.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/private_server.cpp C:/rtools40/mingw32/bin/g++ -o rml_tbb.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/rml/client/rml_tbb.cpp "C:/WINDOWS/system32/cmd.exe" /C cscript //NoLogo //E:JScript "../../build/version_info_windows.js" "C:/rtools40/mingw32/bin/gcc " "ia32" "C:/rtools40/mingw32/bin/g++ -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include -I." > version_string.ver make[2]: * [../../build/common_rules.inc:162: version_string.ver] Error 1 make[2]: Deleting file 'version_string.ver' make[2]: Leaving directory '/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-i386/tbb/build/lib_release' make[1]: [Makefile:100: tbb_release] Error 2 make[1]: Leaving directory '/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-i386/tbb/src' "C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-40~1.4/include" -DNDEBUG -I../inst/include -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c init.cpp -o init.o "C:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-40~1.4/include" -DNDEBUG -I../inst/include -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c options.cpp -o options.o C:/rtools40/mingw32/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o RcppParallel.dll tmp.def init.o options.o -L/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-i386/tbb/build/lib_release -ltbb -ltbbmalloc -LC:/PROGRA~1/R/R-40~1.4/bin/i386 -lR C:/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -ltbb C:/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -ltbbmalloc collect2.exe: error: ld returned 1 exit status installing via 'install.libs.R' to C:/Users/au643325/Documents/R/win-library/4.0/00LOCK-RcppParallel/00new/RcppParallel

* arch - x64 (tbb) Building TBB using bundled sources ... make[1]: Entering directory '/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-x64/tbb/src' OS: windows arch=intel64 compiler=gcc runtime=mingw tbb_build_prefix=windows_intel64_gcc_mingw work_dir=/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-x64/build/windows_intel64_gcc_mingw_release make[1]: Leaving directory '/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-x64/tbb/src' make[1]: Entering directory '/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-x64/tbb/src' Created ../build/lib_release directory make -C "../build/lib_release" -r -f ../../build/Makefile.tbb cfg=release make[2]: Entering directory '/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-x64/tbb/build/lib_release' ../../build/Makefile.tbb:28: CONFIG: cfg=release arch=intel64 compiler=gcc target=windows runtime=mingw C:/rtools40/mingw64/bin/g++ -o concurrent_hash_map.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_hash_map.cpp C:/rtools40/mingw64/bin/g++ -o concurrent_queue.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_queue.cpp C:/rtools40/mingw64/bin/g++ -o concurrent_vector.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_vector.cpp C:/rtools40/mingw64/bin/g++ -o dynamic_link.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/dynamic_link.cpp C:/rtools40/mingw64/bin/g++ -o itt_notify.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp C:/rtools40/mingw64/bin/g++ -o cache_aligned_allocator.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/cache_aligned_allocator.cpp C:/rtools40/mingw64/bin/g++ -o pipeline.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/pipeline.cpp C:/rtools40/mingw64/bin/g++ -o queuing_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_mutex.cpp C:/rtools40/mingw64/bin/g++ -o queuing_rw_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_rw_mutex.cpp C:/rtools40/mingw64/bin/g++ -o reader_writer_lock.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/reader_writer_lock.cpp C:/rtools40/mingw64/bin/g++ -o spin_rw_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_rw_mutex.cpp C:/rtools40/mingw64/bin/g++ -o x86_rtm_rw_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/x86_rtm_rw_mutex.cpp C:/rtools40/mingw64/bin/g++ -o spin_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_mutex.cpp C:/rtools40/mingw64/bin/g++ -o critical_section.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/critical_section.cpp C:/rtools40/mingw64/bin/g++ -o mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/mutex.cpp C:/rtools40/mingw64/bin/g++ -o recursive_mutex.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/recursive_mutex.cpp C:/rtools40/mingw64/bin/g++ -o condition_variable.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/condition_variable.cpp C:/rtools40/mingw64/bin/g++ -o tbb_thread.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_thread.cpp C:/rtools40/mingw64/bin/g++ -o concurrent_monitor.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_monitor.cpp C:/rtools40/mingw64/bin/g++ -o semaphore.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/semaphore.cpp C:/rtools40/mingw64/bin/g++ -o private_server.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/private_server.cpp C:/rtools40/mingw64/bin/g++ -o rml_tbb.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -DMSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/rml/client/rml_tbb.cpp "C:/WINDOWS/system32/cmd.exe" /C cscript //NoLogo //E:JScript "../../build/version_info_windows.js" "C:/rtools40/mingw64/bin/gcc " "intel64" "C:/rtools40/mingw64/bin/g++ -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m64 -mrtm -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include -I." > version_string.ver make[2]: * [../../build/common_rules.inc:162: version_string.ver] Error 1 make[2]: Deleting file 'version_string.ver' make[2]: Leaving directory '/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-x64/tbb/build/lib_release' make[1]: [Makefile:100: tbb_release] Error 2 make[1]: Leaving directory '/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-x64/tbb/src' "C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-40~1.4/include" -DNDEBUG -I../inst/include -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c init.cpp -o init.o "C:/rtools40/mingw64/bin/"g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-40~1.4/include" -DNDEBUG -I../inst/include -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c options.cpp -o options.o C:/rtools40/mingw64/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o RcppParallel.dll tmp.def init.o options.o -L/c/Users/au643325/AppData/Local/Temp/RtmpsZoe5C/R.INSTALL68943612ceb/RcppParallel/src-x64/tbb/build/lib_release -ltbb -ltbbmalloc -LC:/PROGRA~1/R/R-40~1.4/bin/x64 -lR C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ltbb C:/rtools40/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ltbbmalloc collect2.exe: error: ld returned 1 exit status installing via 'install.libs.R' to C:/Users/au643325/Documents/R/win-library/4.0/00LOCK-RcppParallel/00new/RcppParallel R inst byte-compile and prepare package for lazy loading help installing help indices converting help for package 'RcppParallel' finding HTML links ... done RcppParallel-package html
RcppParallel.package.skeleton html
flags html
setThreadOptions html
tbbLibraryPath html
building package indices testing if installed package can be loaded from temporary location
arch - i386 Error: package or namespace load failed for 'RcppParallel': .onLoad failed in loadNamespace() for 'RcppParallel', details: call: library.dynam("RcppParallel", pkgname, libname) error: DLL 'RcppParallel' not found: maybe not installed for this architecture? Error: loading failed Execution halted *** arch - x64 Error: package or namespace load failed for 'RcppParallel': .onLoad failed in loadNamespace() for 'RcppParallel', details: call: library.dynam("RcppParallel", pkgname, libname) error: DLL 'RcppParallel' not found: maybe not installed for this architecture? Error: loading failed Execution halted ERROR: loading failed for 'i386', 'x64'

kevinushey commented 3 years ago

Looks like this is failing on your machine for some reason:

"C:/WINDOWS/system32/cmd.exe" /C cscript //NoLogo //E:JScript "../../build/version_info_windows.js" "C:/rtools40/mingw32/bin/gcc " "ia32" "C:/rtools40/mingw32/bin/g++ -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include -I." > version_string.ver make[2]: *** [../../build/common_rules.inc:162: version_string.ver] Error 1

Unfortunately, I don't know why. The binary version of RcppParallel 5.1.2 should be propagating on CRAN soon so hopefully you can just use that.

amegbor commented 3 years ago

Thank you, Kevin.

"Teach us to number our days, that we may gain a heart of wisdom" - Psalm 90:12

Selected Publications:

Variations in Emotional, Sexual, and Physical Intimate Partner Violence Among Women in Uganda: A Multilevel Analysis https://journals.sagepub.com/eprint/9FFyKgaJjYem79UvBy93/full

What geography can tell us? Effect of higher education on intimate partner violence against women in Uganda https://authors.elsevier.com/a/1YoPJWf-B4IlV https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fauthors.elsevier.com%2Fa%2F1YoPJWf-B4IlV&data=02%7C01%7C11pma4%40queensu.ca%7C99389d4649c14d2f5c6608d6b39e372d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C1%7C636893889447765004&sdata=wFB9lqD%2Bwl0g0PZmO0amYqv97U9ETX%2FifHj8K6ziixU%3D&reserved=0

“Does place matter? A multilevel analysis of victimization and satisfaction with personal safety of seniors in Canada” www.sciencedirect.com/science/article/pii/S1353829218300984

"Predictors of basic self-care and intermediate self-care functional disabilities among older adults in Ghana" www.sciencedirect.com/science/article/pii/S0167494318300670

On Tue, Apr 20, 2021 at 6:31 PM Kevin Ushey @.***> wrote:

Looks like this is failing on your machine for some reason:

"C:/WINDOWS/system32/cmd.exe" /C cscript //NoLogo //E:JScript "../../build/version_info_windows.js" "C:/rtools40/mingw32/bin/gcc " "ia32" "C:/rtools40/mingw32/bin/g++ -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -D__MSVCRT_VERSION=0x0700 -msse -mthreads -m32 -march=i686 -mrtm -flifetime-dse=1 -DTBB_BUILD=1 -Wall -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include -I." > version_string.ver make[2]: *** [../../build/common_rules.inc:162: version_string.ver] Error 1

Unfortunately, I don't know why. The binary version of RcppParallel 5.1.2 should be propagating on CRAN soon so hopefully you can just use that.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RcppCore/RcppParallel/issues/166#issuecomment-823421595, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOMW7BHWK7BKCCWFJN7ABYLTJWT43ANCNFSM43H4ZGLQ .