Title: GitHub · Where software is built
Open Graph Title: RcppCore/RcppParallel
X Title: RcppCore/RcppParallel
Description: High-level functions for parallel programming with Rcpp - RcppCore/RcppParallel
Open Graph Description: High-level functions for parallel programming with Rcpp - RcppCore/RcppParallel
X Description: High-level functions for parallel programming with Rcpp - RcppCore/RcppParallel
Opengraph URL: https://github.com/RcppCore/RcppParallel
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to Compile RcppParallel on windows on ARM64 platform: TBB Library Issue","articleBody":"I am trying to install RcppParallel on my Snapdragon X laptop, which has an ARM64-based processor, but the installation is failing with the error shown below,\n\n\n\n\u003e install.packages(\"RcppParallel\", type = \"source\")\n--- Please select a CRAN mirror for use in this session ---\ntrying URL 'https://cloud.r-project.org/src/contrib/RcppParallel_5.1.11-1.tar.gz'\nContent type 'application/x-gzip' length 1633955 bytes (1.6 MB)\ndownloaded 1.6 MB\n\n* installing *source* package 'RcppParallel' ...\n** this is package 'RcppParallel' version '5.1.11-1'\n** package 'RcppParallel' successfully unpacked and MD5 sums checked\n** using staged installation\n** preparing to configure package 'RcppParallel' ...\n*** configured file: 'R/tbb-autodetected.R.in' =\u003e 'R/tbb-autodetected.R'\n*** configured file: 'src/Makevars.in' =\u003e 'src/Makevars'\n*** configured file: 'src/install.libs.R.in' =\u003e 'src/install.libs.R'\n** finished configure for package 'RcppParallel'\n** libs\n(tbb) Building TBB using bundled sources ...\nmake[1]: Entering directory '/c/Users/HCKTest/AppData/Local/Temp/Rtmps5DsVa/R.INSTALL3c745d3e22f3/RcppParallel/src/tbb/src'\nOS: windows\narch=unknown\ncompiler=gcc\nruntime=mingw19.1.7\ntbb_build_prefix=windows_unknown_gcc_mingw19.1.7\nwork_dir=/c/Users/HCKTest/AppData/Local/Temp/Rtmps5DsVa/R.INSTALL3c745d3e22f3/RcppParallel/src/build/windows_unknown_gcc_mingw19.1.7_release\nmake[1]: Leaving directory '/c/Users/HCKTest/AppData/Local/Temp/Rtmps5DsVa/R.INSTALL3c745d3e22f3/RcppParallel/src/tbb/src'\nmake[1]: Entering directory '/c/Users/HCKTest/AppData/Local/Temp/Rtmps5DsVa/R.INSTALL3c745d3e22f3/RcppParallel/src/tbb/src'\nCreated ../build/lib_release directory\nmake -C \"../build/lib_release\" -r -f ../../build/Makefile.tbb cfg=release\nmake[2]: Entering directory '/c/Users/HCKTest/AppData/Local/Temp/Rtmps5DsVa/R.INSTALL3c745d3e22f3/RcppParallel/src/tbb/build/lib_release'\nexpr: syntax error: unexpected argument '19.1.7'\nexpr: syntax error: unexpected argument '19.1.7'\n../../build/Makefile.tbb:28: CONFIG: cfg=release arch=unknown compiler=gcc target=windows runtime=mingw19.1.7\naarch64-w64-mingw32.static.posix-clang++ -o concurrent_hash_map.o -c -MMD -O2 -DUSE_WINTHREAD -D_WIN32_WINNT=0x0502 -DMINGW_HAS_SECURE_API=1 -msse -mthreads -D__TBB_BUILD=1 -Wall -std=gnu++11 -O2 -Wall -DTBB_NO_LEGACY=1 -DTBB_USE_GCC_BUILTINS -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_hash_map.cpp\nclang-19: error: unsupported option '-msse' for target 'aarch64-w64-mingw32'\nclang-19: warning: argument unused during compilation: '-mthreads' [-Wunused-command-line-argument]\nmake[2]: *** [../../build/common_rules.inc:116: concurrent_hash_map.o] Error 1\nmake[2]: Leaving directory '/c/Users/HCKTest/AppData/Local/Temp/Rtmps5DsVa/R.INSTALL3c745d3e22f3/RcppParallel/src/tbb/build/lib_release'\nmake[1]: *** [Makefile:100: tbb_release] Error 2\nmake[1]: Leaving directory '/c/Users/HCKTest/AppData/Local/Temp/Rtmps5DsVa/R.INSTALL3c745d3e22f3/RcppParallel/src/tbb/src'\naarch64-w64-mingw32.static.posix-clang++ -std=gnu++17 -I\"C:/PROGRA~1/R-AARC~1/R-45~1.0/include\" -DNDEBUG -I../inst/include -DTBB_USE_GCC_BUILTINS -I\"C:/rtools45-aarch64/aarch64-w64-mingw32.static.posix/include\" -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -O2 -Wall -c init.cpp -o init.o\naarch64-w64-mingw32.static.posix-clang++ -std=gnu++17 -I\"C:/PROGRA~1/R-AARC~1/R-45~1.0/include\" -DNDEBUG -I../inst/include -DTBB_USE_GCC_BUILTINS -I\"C:/rtools45-aarch64/aarch64-w64-mingw32.static.posix/include\" -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -O2 -Wall -c options.cpp -o options.o\naarch64-w64-mingw32.static.posix-clang++ -std=gnu++17 -I\"C:/PROGRA~1/R-AARC~1/R-45~1.0/include\" -DNDEBUG -I../inst/include -DTBB_USE_GCC_BUILTINS -I\"C:/rtools45-aarch64/aarch64-w64-mingw32.static.posix/include\" -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -O2 -Wall -c tbb.cpp -o tbb.o\naarch64-w64-mingw32.static.posix-clang++ -std=gnu++17 -shared -s -static-libgcc -o RcppParallel.dll tmp.def init.o options.o tbb.o -Ltbb/build/lib_release -ltbb -ltbbmalloc -LC:/rtools45-aarch64/aarch64-w64-mingw32.static.posix/lib -LC:/rtools45-aarch64/aarch64-w64-mingw32.static.posix/lib -LC:/PROGRA~1/R-AARC~1/R-45~1.0/bin -lR\nlld: error: unable to find library -ltbb\nclang-19: error: linker command failed with exit code 1 (use -v to see invocation)\ninstalling via 'install.libs.R' to C:/Program Files/R-aarch64/R-4.5.0/library/00LOCK-RcppParallel/00new/RcppParallel\n** R\n** inst\n** byte-compile and prepare package for lazy loading\n** help\n*** installing help indices\n** building package indices\n** testing if installed package can be loaded from temporary location\nError: package or namespace load failed for 'RcppParallel':\n .onLoad failed in loadNamespace() for 'RcppParallel', details:\n call: library.dynam(\"RcppParallel\", pkgname, libname, local = FALSE)\n error: DLL 'RcppParallel' not found: maybe not installed for this architecture?\nError: loading failed\nExecution halted\nERROR: loading failed\n* removing 'C:/Program Files/R-aarch64/R-4.5.0/library/RcppParallel'\n\nThe downloaded source packages are in\n ‘C:\\Users\\HCKTest\\AppData\\Local\\Temp\\RtmpKAHq1P\\downloaded_packages’\nWarning message:\nIn install.packages(\"RcppParallel\", type = \"source\") :\n installation of package ‘RcppParallel’ had non-zero exit status\n","author":{"url":"https://github.com/Akash9824","@type":"Person","name":"Akash9824"},"datePublished":"2025-09-19T09:24:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/239/RcppParallel/issues/239"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:4a1e1afe-a9f2-50f9-a716-82977ba48a1e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F40:3D113A:619DC3:897ED6:6970AD9F |
| html-safe-nonce | d9613a99c516347954f446103a1fb250ed90d6c92587fd3ed8fb248aed567a8b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjQwOjNEMTEzQTo2MTlEQzM6ODk3RUQ2OjY5NzBBRDlGIiwidmlzaXRvcl9pZCI6IjQ4NDM4NDI4MTA4NjUwMzY3MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 535509c539117f0e4a55157102c9f5e61f28219c51f5ff919d0e0e60ea2969dc |
| hovercard-subject-tag | repository:21576989 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RcppCore/RcppParallel/issues/239 |
| twitter:image | https://opengraph.githubassets.com/a689213eb218b6f89cb5c4bf4efc38e1c8bd0e421ece0d790dcd344c5bea4aff/RcppCore/RcppParallel |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a689213eb218b6f89cb5c4bf4efc38e1c8bd0e421ece0d790dcd344c5bea4aff/RcppCore/RcppParallel |
| og:image:alt | High-level functions for parallel programming with Rcpp - RcppCore/RcppParallel |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5246860f280a060af866c1c633f74a6720ad2dd5d576534e4c5e462496b693ae |
| turbo-cache-control | no-cache |
| go-import | github.com/RcppCore/RcppParallel git https://github.com/RcppCore/RcppParallel.git |
| octolytics-dimension-user_id | 5811336 |
| octolytics-dimension-user_login | RcppCore |
| octolytics-dimension-repository_id | 21576989 |
| octolytics-dimension-repository_nwo | RcppCore/RcppParallel |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21576989 |
| octolytics-dimension-repository_network_root_nwo | RcppCore/RcppParallel |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d29ab0ba8deb7bbecf06b664759d4e847623783 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width