Closed eclee25 closed 6 years ago
In the first error, the compiler complains about not being able to find the 'pomp.h' header. This is ordinarily not a problem, and the appearance of the '#include
The second situation is even weirder, since you are on a linux box, but the code is searching in "C:/Users/eclee/
In any event, if you send me the codes that generate these errors, it will be most helpful.
Thanks for the quick response. I'm realizing now that I had been playing around with putting an include
statement in one of the Csnippets in response to my error in setup 1. That's why the error in setup 2 is so strange. I think setup 2 seems to be working now that this line is removed, but I'll try to make a simple reproducible example in setup 1.
I believe that there was indeed a problem with my pomp model that seems to have triggered these errors, and now everything appears to be working. Thanks for your help. Closing this issue.
Sorry I also encounter such problem when i was using pomp2 in R studio. I have installed the package successfully but unable to use their result
Code:
parus %>%
pfilter(Np=1000,times="year",t0=1960,
params=c(K=190,r=2.7,sigma=0.2,theta=0.05,N.0=148),
rprocess=discrete_time(
function (r, K, sigma, N, ...) {
e <- rnorm(n=1,mean=0,sd=sigma)
c(N = exp(log(N)+r*(1-N/K)+e))
},
delta.t=1
),
rmeasure=function (N, theta, ...) {
c(pop=rnbinom(n=1,size=1/theta,mu=N+1e-10))
},
dmeasure=function (pop, N, theta, ..., log) {
dnbinom(x=pop,mu=N+1e-10,size=1/theta,log=log)
},
partrans=parameter_trans(log=c("sigma","theta","N_0","r","K")),
paramnames=c("sigma","theta","N_0","r","K")
) -> pf
Error:
in ‘pfilter’: error in building shared-object library from C snippets: in ‘Cbuilder’: compilation error: cannot compile shared-object library ‘C:/Users/Nate/AppData/Local/Temp/Rtmpu2FrxK/13772/pomp_a4090d204de6cc36ae02b72bd061b471.dll’: status = 1 compiler messages: Warning messages: 1: In system(cmd) : 'make' not found 2: In system(paste(cmd, "shlib-clean")) : 'make' not found
Hello,
I am encountering
cannot compile shared-object library
errors in two independent installations of pomp. In both installations, I have executed the code described in FAQ 4.2 and the correct outputs were printed. It seems that the errors arose when I tried to examine diagnostic plots from my models.In setup 1, I am running pomp v1.18.8.1 on a Windows machine with R v3.4.4. Below are the errors and warnings encountered:
In setup 2, I am running pomp v1.18.8.1 on an Ubuntu 16.04.3 LTS machine with R v3.4.3. Below are the errors and warnings encountered:
Any ideas on what may resolve these issues? Thanks!