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

Volesti v1.1.4 installation failure (R interface) #217

Open
imitator19 opened this issue Apr 29, 2022 · 3 comments
Open

Volesti v1.1.4 installation failure (R interface) #217

imitator19 opened this issue Apr 29, 2022 · 3 comments
Labels

Comments

@imitator19
Copy link

Hello everyone, I am trying to upgrade Volesti from 1.1.3 to 1.1.4 in R. The operation system is win10, with R 4.1.0 and Rtools properly installed.
The installation instruction in the following link can successfully install volesti 1.1.3, howerver, it cannot install volesti 1.1.4 successfully. https://github.com/GeomScale/volesti/blob/2e6572d9ba757de311f2a55b09abf8f9c02e932e/doc/r_interface.md

I tried to install volesti 1.1.4 with instruction in the link, the error information is :
"In file included from ../../include/convex_bodies/hpolytope.h:21,
from ../../include/volume/volume_sequence_of_balls.hpp:21,
from direct_sampling.cpp:19:
../../include/lp_oracles/solve_lp.h:32:10: fatal error: lp_lib.h: No such file or directory
#include "lp_lib.h"
^~~~~~~~~~
compilation terminated."

I think the error is related to the fact that lp_solve is not included in volesti directory root/include/lp_oracles. I understand that lp_solve is designed to be downloaded in the complie process. However, it did not work in this case.

Could you please update the installation instruction applicable to v 1.1.4?
Or is it possible to update the CRAN version to v1.1.4? The link is https://cran.r-project.org/web/packages/volesti/index.html.
I think another possible solution is to provide an additional version with lp_solve included locally, like v1.1.3.

Thanks a lot!

@vissarion
Copy link
Member

It seems that v1.1.4 builds correctly on windows on CI see https://github.com/GeomScale/volesti/runs/5186310857?check_suite_focus=true

What if you follow the instructions in the corresponding workflow?
https://github.com/GeomScale/volesti/blob/develop/.github/workflows/R-CMD-check-windows.yml

However, this is a workaround since the workflow generates and builds the cran package.

@vissarion vissarion added the build label Jul 1, 2022
@vissarion vissarion changed the title Volesti v1.1.4 installation failure Volesti v1.1.4 installation failure (R interface) Jul 1, 2022
@NehaAr
Copy link

NehaAr commented Mar 26, 2023

@vissarion is this issue still open. I am unable to find volesti v1.1.4 in the archive

@vissarion
Copy link
Member

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

No branches or pull requests

3 participants