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

Issue Setting Up Processing Server #13

Open
MatthewSabia opened this issue Aug 3, 2023 · 3 comments
Open

Issue Setting Up Processing Server #13

MatthewSabia opened this issue Aug 3, 2023 · 3 comments

Comments

@MatthewSabia
Copy link

I have been trying to set up the processing server on my desktop by following the instructions at https://3dlg-hcvc.github.io/multiscan/read-the-docs/server/index.html#installation.

I have run into some issues, but have gotten to the cmake Build and Install step. When trying to execute cmake in the build directory, there is an error stating CMakeLists.txt is not found. I tried copying the CMakeLists.txt from the parent multiscan folder into build folder, but when running cmake I get

No download info given for 'segmentator' and its source directory:

~/multiscan/build/segmentator

is not an existing non-empty directory. Please specify one of:

  • SOURCE_DIR with an existing non-empty directory
  • DOWNLOAD_COMMAND
  • URL
  • GIT_REPOSITORY
  • SVN_REPOSITORY
  • HG_REPOSITORY
  • CVS_REPOSITORY and CVS_MODULE
    Call Stack (most recent call first):
    ~/anaconda3/envs/multiscan/share/cmake-3.24/Modules/ExternalProject.cmake:4170 (_ep_add_download_command)
    CMakeLists.txt:128 (ExternalProject_Add)
@SamMaoYS
Copy link
Collaborator

SamMaoYS commented Aug 7, 2023

Thank you @MatthewSabia for reporting the issues.

We found the issue is caused by the wrong PREFIX defined in the CMakeLists.txt for the segmentator. The prefix was set to CMAKE_CURRENT_SOURCE_DIR, but it is not correct, it should be the BUILD_DIR.

The issue should be fixed in the new commit. Can you try out the new commit, and let us know if the issue is fixed?

Thank you!

@MatthewSabia
Copy link
Author

I removed the cloned repository from my computer then re cloned it, copied the CMakeLists.txt file into the build folder and tried again, but I am still getting the same issue once I run the same cmake command. Am I missing a step somewhere?

@SamMaoYS
Copy link
Collaborator

SamMaoYS commented Aug 8, 2023

Hi @MatthewSabia , I think you don't need to copy the CMakeLists.txt into the build folder, the CMakeLists.txt will be cloned and be in the root directory of the repo.

For the testing purpose, you can build the segmentator only, by setting MTS_BUILD_INSTANTMESHES, MTS_BUILD_OPEN3D, MTS_BUILD_MVS_TEXTURING to OFF.

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

2 participants