Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Error while compiling... Absent file 'src/arslogistic/arms.c', needed by `arslogistic' #10

Open
yashoteja opened this issue Dec 16, 2015 · 3 comments

Comments

@yashoteja
Copy link

Hi,

Following is the output of my make:
R CMD SHLIB src/C/util.c src/C/factor_model_util.c src/C/pagerank.c src/C/hierarchical.c src/C/factor_model_multicontext.c src/C/factor_model_util2.cpp -o lib/c_funcs.so
make[1]: Entering directory /home/Desktop/Latent-Factor-Models-master' make[1]: Nothing to be done forall'.
make[1]: Leaving directory /home/Desktop/Latent-Factor-Models-master' make: *** No rule to make targetsrc/arslogistic/arms.c', needed by `arslogistic'. Stop.

Should there be an arms.c somewhere?

Thanks!

@beechung
Copy link
Owner

Please follow these steps:

(1) Download arms_method.zip from http://www1.maths.leeds.ac.uk/~wally.gilks/adaptive.rejection/web_page/Welcome.html
(look for C code)
(2) Unzip arms_method.zip and put arms.c and arms.h into src/arslogistic

@yashoteja
Copy link
Author

That worked! Thank you!

@yrbshoprunner
Copy link

Followed these steps, but got the "src/arslogistic/arsspline.c:95:6: error: conflicting types for 'ARSLOGISTICSPLINE'" error

I had to add the header #include "arsspline.h" in arsspline.c to fix it

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

No branches or pull requests

3 participants