Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Installation/compilation fails on Linux #4

Open
tomthe opened this issue Mar 3, 2023 · 3 comments
Open

Installation/compilation fails on Linux #4

tomthe opened this issue Mar 3, 2023 · 3 comments

Comments

@tomthe
Copy link
Member

tomthe commented Mar 3, 2023

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

@tomthe
Copy link
Member Author

tomthe commented Mar 13, 2023

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
Copy link

elinw commented Apr 11, 2023

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
Copy link
Member Author

tomthe commented Apr 12, 2023

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants