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

Support for Linux Headless Servers #10

Closed
JYChen18 opened this issue Sep 27, 2024 · 3 comments
Closed

Support for Linux Headless Servers #10

JYChen18 opened this issue Sep 27, 2024 · 3 comments

Comments

@JYChen18
Copy link

Hi,

Thank you for your excellent work!

Are there any plans to support installation on Linux for headless servers?

@Xrvitd
Copy link
Owner

Xrvitd commented Sep 27, 2024

Hi, I never run it on Linux, but you can try to follow this to build on MacOS: Xrvitd/RFEPS#3. They should be similar on Linux.

Rui

@JYChen18
Copy link
Author

Thanks for your reply! I find it not so difficult and I have already made it.

Some modifications are listed below if anyone else is interested:

  1. Replace isinf in include/BGAL/Optimization/GradientDescent/GradientDescent.h and include/BGAL/Optimization/LBFGS/LBFGS.h with std::isinf, which is related to Compilation with C++17 #6 .
  2. Replace gamma in src/CVTLike/CVT.cpp with other names due to the duplicated definition.
  3. Replace <io.h> in MAIN/main.cpp with <unistd.h> for Linux/Unix.
  4. Replace the path connector \\ in src/CVTLike/CVT.cpp with /.
  5. Comment out the line 2 in CMakeLists.txt and run cmake with the command cmake .. -DCMAKE_TOOLCHAIN_FILE=${YOUR_PATH_TO_VCPKG_CMAKE} -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++

@xyb1314
Copy link

xyb1314 commented Jan 3, 2025

Thanks for your good job! I would like to know that what is the specific installation details for Linux\Ubuntu!
Please using vcpkg to install dependent libraries!!! (This step I have done it!) (below essential dependency packages how to install In Liunx OS?) .\vcpkg install boost:x64-windows .\vcpkg install cgal:x64-windows ​ use "git pull" if you get errors with the "gmp" library. .\vcpkg install Eigen3:x64-windows .\vcpkg install libigl:x64-windows .\vcpkg integrate install

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