RcppCore / RcppEigen

Rcpp integration for the Eigen templated linear algebra library
Other
110 stars 40 forks source link

compilation error in lmsol::gesdd #113

Closed user296 closed 2 years ago

user296 commented 2 years ago

When installing the latest RcppEigen_0.3.3.9.2 in R, I get an error in fastLm.cpp, function lmsol::gesdd fastLm.cpp:147:54 error expected ) before FCONE

Seeing same error at fastLm.cpp:151:59.

Fix available?

eddelbuettel commented 2 years ago

We need more details:

The package is a decade+ old, and has been testing a bazillion times at CRAN alone. Running fastLm is part of that. If I had to guess, you are on a system with an incomplete BLAS.

Oh, now I know. You are on ancient compiler. R defines the FCONE macros for a minuscule technical matter related to C and Fortran char interchange. As I recall, on all recent R versions that is defined. You likely have an ancient one. So your 'Fix available?": Upgrade, maybe? Or use an older package on an older system.

eddelbuettel commented 2 years ago

Or just see issues #107 and #112 which are from what I can tell with the little you supplied the same. So I'll likely close this -- problem is on your end, not ours. We provide a package in the form CRAN demands and tests on current systems.

user296 commented 2 years ago

Thank you. My R version is a bit old. I'll try the latest version.

On Mon, Aug 29, 2022 at 2:29 PM Dirk Eddelbuettel @.***> wrote:

We need more details:

  • OS
  • version
  • hardware
  • compiler version
  • installation from source or binary?
  • what sessionInfo() says about BLAS/LAPACK
  • whatever else matters

The package is a decade+ old, and has been testing a bazillion times at CRAN alone. Running fastLm is part of that. If I had to guess, you are on a system with an incomplete BLAS.

Oh, now I know. You are on ancient compiler. R defines the FCONE macros for a minuscule technical matter related to C and Fortran char interchange. As I recall, on all recent R versions that is defined. You likely have an ancient one. So your 'Fix available?": Upgrade, maybe? Or use an older package on an older system.

— Reply to this email directly, view it on GitHub https://github.com/RcppCore/RcppEigen/issues/113#issuecomment-1230699763, or unsubscribe https://github.com/notifications/unsubscribe-auth/APAMIIVIYGML6HYF6QCNTNDV3T6QPANCNFSM576YCTQA . You are receiving this because you authored the thread.Message ID: @.***>