Re: [Rcpp-devel] RcppEigen-related compilation error for Windows i386

2020-09-20 Thread Evan Biederstedt
Thanks Dirk for the help! As a summary, based on the discussion here, it now compiles successfully on i386. https://github.com/kharchenkolab/N2R/pull/2 https://github.com/kharchenkolab/N2R/pull/3 Here is the rough outline of steps to do this: * use `int64_t` instead of `int` * must place the '

Re: [Rcpp-devel] RcppEigen-related compilation error for Windows i386

2020-09-20 Thread Dirk Eddelbuettel
Evan, Let's consider this discussion moved to GitHub as it is flowing here https://github.com/kharchenkolab/N2R/pull/2 I don't really have the energy to repeat everything in two places. Let's recap here once we have a solution. Dirk -- https://dirk.eddelbuettel.com | @eddelbuettel | e...@de

Re: [Rcpp-devel] RcppEigen-related compilation error for Windows i386

2020-09-19 Thread Evan Biederstedt
Hey there The thing that remains extremely puzzling to me is that using `Linking to: Rcpp, RcppEigen` (without the RcppSpdlog calls), it compiles correctly on i386. I've created a branch here: https://github.com/kharchenkolab/N2R/tree/without_RcppSpdlog https://win-builder.r-project.org/04120gdc3

Re: [Rcpp-devel] RcppEigen-related compilation error for Windows i386

2020-09-19 Thread Evan Biederstedt
Hey Dirk I really appreciate the help here. I've been trying this via Mac OS with VMWare Fusion using a Windows 10 32-bit ISO. (Yeesh, it's slow.) > 1. You get an R CMD check warning on use of stderr. That is understandable as you included _upstream_ spdlog. It will do that. Once you instrument i

Re: [Rcpp-devel] RcppEigen-related compilation error for Windows i386

2020-09-19 Thread Dirk Eddelbuettel
Evan, As you posted a link to the repo, I took a look -- given my recent work on RcppSpdlog this was of obvious interest. Now, as I understand it, you are fighting two battles here: 1. You get an R CMD check warning on use of stderr. That is understandable as you included _upstream_ spdlog. It

Re: [Rcpp-devel] RcppEigen-related compilation error for Windows i386

2020-09-19 Thread Dirk Eddelbuettel
Evan, On 19 September 2020 at 15:40, Evan Biederstedt wrote: | Hi Dirk and friends | | Thanks for the help. In my attempt to isolate the issue, I wonder if | there's an issue with linking to RcppSpdlog. It is always possible that a new package has a side effect. That said, - if you suspect an

Re: [Rcpp-devel] RcppEigen-related compilation error for Windows i386

2020-09-19 Thread Evan Biederstedt
Hi Dirk and friends Thanks for the help. In my attempt to isolate the issue, I wonder if there's an issue with linking to RcppSpdlog. I tried compiling with "LinkingTo: Rcpp, RcppEigen, RcppSpdlog", and the error exists: https://win-builder.r-project.org/F2g5vjpw6M1T https://github.com/kharchenko

Re: [Rcpp-devel] RcppEigen-related compilation error for Windows i386

2020-09-19 Thread Dirk Eddelbuettel
Hi Evan, On 19 September 2020 at 10:14, Evan Biederstedt wrote: | I'm in the process uploading an R package to CRAN, which is a relatively | simple interface to a C++ library: https://github.com/kharchenkolab/N2R | | The windows binaries just became available for RcppSpdLog, so I wanted to | che

[Rcpp-devel] RcppEigen-related compilation error for Windows i386

2020-09-19 Thread Evan Biederstedt
Hello there I'm in the process uploading an R package to CRAN, which is a relatively simple interface to a C++ library: https://github.com/kharchenkolab/N2R The windows binaries just became available for RcppSpdLog, so I wanted to check how it installed on windows before CRAN submission. The pac