MPIDR/rsocsim

Installation/compilation fails on Linux

Opened this issue · 3 comments

compilation fails as of now with 1 error and a few warnings. I will work on this and post updates here.

Compilation finishes without errors but with warnings now. Installation succeeds

Simulation crashes immediately.

Unfortunately the debugging experience of Rcpp-stuff is really bad. The whole R-runtime crashes and I get no information on the crash whatsoever. No debugger except "print to the log file", which is tedious. Maybe I can compile the current version without Rcpp and R in an IDE with debugging functionality.

elinw commented

Yes, tried installing on Posit Workbench Pro (RStudio Server) and got
In file included from ./src/events.cpp:16:0,
from startSocsimWithFile.cpp:4:
./src/load.cpp:7:22: fatal error: filesystem: No such file or directory
#include
^
compilation terminated.
make: *** [startSocsimWithFile.o] Error 1
ERROR: compilation failed for package ‘rsocsim’

tomthe commented

I fixed the compilation errors in March and compilation runs fine on fresh installs on Mac and Linux for me now.

I fixed the simulation crashes in March, they happened because of buffer overflows in log messages. This is the commit: ddcb6e4

I can not reproduce your error, but I think I have seen it before. Maybe it is something specific to RStudio Server?