Title: Unable to Compile RcppParallel on windows on ARM64 platform: TBB Library Issue · Issue #239 · RcppCore/RcppParallel · GitHub
Open Graph Title: Unable to Compile RcppParallel on windows on ARM64 platform: TBB Library Issue · Issue #239 · RcppCore/RcppParallel
X Title: Unable to Compile RcppParallel on windows on ARM64 platform: TBB Library Issue · Issue #239 · RcppCore/RcppParallel
Description: 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, install.packages("RcppParallel", type = "source") --- Please select a CRAN mir...
Open Graph Description: 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, install.packages("RcppParallel", type ...
X Description: 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, install.packages("RcppParallel&qu...
Opengraph URL: https://github.com/RcppCore/RcppParallel/issues/239
X: @github
Domain: patch-diff.githubusercontent.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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:198fcb24-1117-368a-ed47-b925920ff23c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5D8:6834D:2A1D908:387C69B:697076DE |
| html-safe-nonce | 0e83324b37a77b3b145013cb10b39825e714aa291177ddf08ed59009e246ce45 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUQ4OjY4MzREOjJBMUQ5MDg6Mzg3QzY5Qjo2OTcwNzZERSIsInZpc2l0b3JfaWQiOiI4NTM0MjgxODg1MDE2MTU5OTY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b98bb24488a86a867c969540b83a95f68c690f1b92a894e0a8439d4e43416c70 |
| hovercard-subject-tag | issue:3433621411 |
| 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/_view_fragments/issues/show/RcppCore/RcppParallel/239/issue_layout |
| twitter:image | https://opengraph.githubassets.com/be0cfb2f2aa9bc043b1bef3929c7b3d7752af97bf34bf593415269bd786e1329/RcppCore/RcppParallel/issues/239 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be0cfb2f2aa9bc043b1bef3929c7b3d7752af97bf34bf593415269bd786e1329/RcppCore/RcppParallel/issues/239 |
| og:image:alt | 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, install.packages("RcppParallel", type ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Akash9824 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| 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 | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width