English 中文(简体)
MSS关于macOS的汇编错误建筑档案版本
原标题:Compilation error building archive version of MASS on macOS
  • 时间:2023-06-14 02:55:50
  •  标签:
  • c++
  • r
  • macos

I m> Building andstalation, Kluwer, Kluwer, Kluwer, Kluwer, Kluwer, Kluwer, Kluwer, «, under R 4. on mac. 11.7. I. 议题可能是一次老式的太阳星号,即:<12.5>,<0>,<0>,><0>>,<0><0>>。

* installing *source* package ‘MASS’ ...
** package ‘MASS’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 13.0.0 (clang-1300.0.29.30)’
using SDK: ‘MacOSX12.1.sdk’
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c MASS.c -o MASS.o
MASS.c:37:23: error: unknown type name  Sint ; did you mean  int ?
VR_sammon(double *dd, Sint *nn, Sint *kd, double *Y, Sint *niter,
                      ^~~~
                      int
MASS.c:37:33: error: unknown type name  Sint ; did you mean  int ?
VR_sammon(double *dd, Sint *nn, Sint *kd, double *Y, Sint *niter,
                                ^~~~
                                int
MASS.c:37:54: error: unknown type name  Sint ; did you mean  int ?
VR_sammon(double *dd, Sint *nn, Sint *kd, double *Y, Sint *niter,
                                                     ^~~~
                                                     int
MASS.c:38:20: error: unknown type name  Sint ; did you mean  int ?
          double *stress, Sint *trace, double *aa, double *tol)
                          ^~~~
                          int
MASS.c:168:8: error: unknown type name  Sint ; did you mean  int ?
static Sint *ord;               /* ranks of dissimilarities */
       ^~~~
       int
MASS.c:169:8: error: unknown type name  Sint ; did you mean  int ?
static Sint *ord2;              /* inverse ordering (which one is rank i?) */
       ^~~~
       int
MASS.c:170:8: error: unknown type name  Sint ; did you mean  int ?
static Sint n;                  /* number of  dissimilarities */
       ^~~~
       int
MASS.c:171:8: error: unknown type name  Sint ; did you mean  int ?
static Sint nr;                 /* number of data points */
       ^~~~
       int
MASS.c:172:8: error: unknown type name  Sint ; did you mean  int ?
static Sint nc;                 /* # cols of  fitted configuration */
       ^~~~
       int
MASS.c:181:31: error: unknown type name  Sint ; did you mean  int ?
VR_mds_fn(double *, double *, Sint *, double *, Sint *,
                              ^~~~
                              int
MASS.c:181:49: error: unknown type name  Sint ; did you mean  int ?
VR_mds_fn(double *, double *, Sint *, double *, Sint *,
                                                ^~~~
                                                int
MASS.c:182:14: error: unknown type name  Sint ; did you mean  int ?
          double *, Sint *, Sint *, double *, Sint *, double *);
                    ^~~~
                    int
MASS.c:182:22: error: unknown type name  Sint ; did you mean  int ?
          double *, Sint *, Sint *, double *, Sint *, double *);
                            ^~~~
                            int
MASS.c:182:40: error: unknown type name  Sint ; did you mean  int ?
          double *, Sint *, Sint *, double *, Sint *, double *);
                                              ^~~~
                                              int
MASS.c:188:18: error: unknown type name  Sint ; did you mean  int ?
VR_mds_init_data(Sint *pn, Sint *pc, Sint *pr, Sint *orde,
                 ^~~~
                 int
MASS.c:188:28: error: unknown type name  Sint ; did you mean  int ?
VR_mds_init_data(Sint *pn, Sint *pc, Sint *pr, Sint *orde,
                           ^~~~
                           int
MASS.c:188:38: error: unknown type name  Sint ; did you mean  int ?
VR_mds_init_data(Sint *pn, Sint *pc, Sint *pr, Sint *orde,
                                     ^~~~
                                     int
MASS.c:188:48: error: unknown type name  Sint ; did you mean  int ?
VR_mds_init_data(Sint *pn, Sint *pc, Sint *pr, Sint *orde,
                                               ^~~~
                                               int
MASS.c:189:4: error: unknown type name  Sint ; did you mean  int ?
                 Sint *ordee, double *xx, double *p)
                 ^~~~
                 int
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [MASS.o] Error 1
ERROR: compilation failed for package ‘MASS’
问题回答

暂无回答




相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签