Hi Dirk, Simon, Nik,
I found the roots for the failed checks. I used a virtual method and then
overloaded it in derived classes. Furthermore I used the inline keyword and
that produced some undefined symbols. Now all checks run through on all
platforms.
Thanks again to each one of you for giving
Simon,
I'm not a C++ expert, but I think there are two issues:
1) you cannot inline virtual methods so you have to remove "inline"
2) you have to bring in the definition of the method that you want to override
if it is intentional
so just to fix ParStudentInd.* you need
diff --git
Hi Simon,
thank you for bringing this up. As mentioned in the answer to Dirk, I am at
this point not anymore that fluent in C++ as I was some years ago. I am
looking through the classes and I am not yet sure what to look for. What I
see is an error message:
./PriorStudentInd.h:31:14: warning:
Dirk,
thank you for your response. That eliminates already a source. I am
honestly not anymore that fluent in C++ than I was some years ago.
Best,
Simon
Am So., 7. Nov. 2021 um 16:56 Uhr schrieb Dirk Eddelbuettel :
>
> Simon,
>
> Your Makevars [1] is very standard so I would suspect it may be
Simon,
this is not a build issue, it breaks on all platforms in clang (tested on macOS
and Debian+clang-11). There are tons of warnings in the C++ code (way over 1000
lines!) which lead to an error at link time (most of them are type mismatches
leading to overrides of virtual methods). The
Simon,
Your Makevars [1] is very standard so I would suspect it may be the actions
setup for macOS. Rcpp is still used by a large number of packages all of
which appear to build just fine on macOS (as eg evidenced by the CRAN checks)
if and when everything is setup correctly.
Dirk
[1]
Hi everyone,
I have a problem with the compilation of a package on MacOS when running
the R-CDM-check github action. On all other platforms the package compiles,
but on MacOS.
I get a problem with the shared library on MacOS:
OE> Error: package or namespace load failed for ‘finmix’ in