-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install fail using dev tools #5
Comments
\linkS4Class mispelled in neuroim2, have just fixed in neuroim2 repository. |
Thanks for the quick assessment! However, I still get an error:
I'm wondering if this is the problem: "error: unknown target CPU"? |
I'm afraid this one is in your court. You need a working R build toolchain for your mac laptop. see: |
Can you elaborate? My laptop isn't apple silicon, it is intel. But the link you provided references apple silicon. Also, I've compiled many R libraries successfully (e.g., recently ANTsR). What is the issue with rMVPA that is different from these other libraries? |
I don't know the issue, but I know compiling R sources on Mac can be tricky. can you compile the following? Rcpp::sourceCpp(code=' // [[Rcpp::export]] see: |
This is on an apple laptop (intel), running the latest operating system
Here's the output:
── R CMD build ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file ‘/private/var/folders/mk/9_clkwx513df94kdv85c25m80000gn/T/RtmpeSwXX1/remotes24173c198763/bbuchsbaum-neuroim2-6c134a3/DESCRIPTION’ (395ms)
─ preparing ‘neuroim2’: (1s)
Warning: /private/var/folders/mk/9_clkwx513df94kdv85c25m80000gn/T/Rtmp7vQmKC/Rbuild266f13276152/neuroim2/man/LatentNeuroVec-class.Rd:23: unknown macro '\linkS4Class'
─ checking for empty or unneeded directoriesn/LatentNeuroVec-class.Rd:23: unknown macro '\linkS4Class'
** using staged installation
** libs
clang++ -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include' -I/usr/local/include -fPIC "-mtune=native -g O2 -Wall -pedantic -Wconversion" -c RcppExports.cpp -o RcppExports.o
error: unknown target CPU 'native -g O2 -Wall -pedantic -Wconversion'
note: valid target CPU values are: i386, i486, winchip-c6, winchip2, c3, i586, pentium, pentium-mmx, pentiumpro, i686, pentium2, pentium3, pentium3m, pentium-m, c3-2, yonah, pentium4, pentium4m, prescott, nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell, skylake, skylake-avx512, skx, cascadelake, cooperlake, cannonlake, icelake-client, rocketlake, icelake-server, tigerlake, sapphirerapids, alderlake, knl, knm, lakemont, k6, k6-2, k6-3, athlon, athlon-tbird, athlon-xp, athlon-mp, athlon-4, k8, athlon64, athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, znver3, x86-64, geode
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘neuroim2’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/mk/9_clkwx513df94kdv85c25m80000gn/T//RtmpeSwXX1/file24177264035f/neuroim2_0.7.0.tar.gz’ had non-zero exit status
The text was updated successfully, but these errors were encountered: