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

Ubuntu installation problem #174

Open
pedrozamboni opened this issue Jun 7, 2024 · 3 comments
Open

Ubuntu installation problem #174

pedrozamboni opened this issue Jun 7, 2024 · 3 comments

Comments

@pedrozamboni
Copy link

Hi, I'm trying to install CloudComPy310 using conda on Ubuntu and I'm having this error:

CMake Error at CMakeLists.txt:83 (add_subdirectory):
The source directory

/home/pedro/projets/CloudComPy/CloudComPy/CloudCompare

does not contain a CMakeLists.txt file.

I checked and the /home/pedro/projets/CloudComPy/CloudComPy/CloudCompare folder is empty. Does anyone know how to proceed?

@prascle
Copy link
Collaborator

prascle commented Jun 7, 2024

Hello,
When cloning sources, you must include the submodules:
git clone --recurse-submodules https://github.com/CloudCompare/CloudComPy.git
Best regards,
Paul

@jlee-67
Copy link

jlee-67 commented Nov 20, 2024

Hello, When cloning sources, you must include the submodules: git clone --recurse-submodules https://github.com/CloudCompare/CloudComPy.git Best regards, Paul

Is this okay?
git clone --depth 1 https://github.com/micmacIGN/micmac.git

@prascle
Copy link
Collaborator

prascle commented Nov 21, 2024

Hello,
I'm not sure I understand your question:
--Depth 1 is used to minimize the size of the clone when you don't need the history. It has nothing to do with submodules. I don't know micmac, but it seems that micmac is not structured with submodules, so your instruction should be correct if you just want to build the code.
--recurse-submodules is necessary for a repository like CloudComPy that integrates other repositories (CloudCompare).
Best regards,
Paul

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