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

Followed instructions, does not build #19

Open
chrisbward opened this issue Sep 14, 2023 · 1 comment
Open

Followed instructions, does not build #19

chrisbward opened this issue Sep 14, 2023 · 1 comment

Comments

@chrisbward
Copy link

➜  sam.cpp git:(master) mkdir build && cd build
➜  build git:(master) cmake .. && make -j4

-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:21 (add_subdirectory):
  The source directory

    /media/user/home/Tools/06_MachineLearning/Segmentation/sam.cpp/ggml

  does not contain a CMakeLists.txt file.


-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
-- Configuring incomplete, errors occurred!
@YavorGIvanov
Copy link
Owner

YavorGIvanov commented Sep 14, 2023

You probably forgot the "--recursive" part in the git clone --recursive https://github.com/YavorGIvanov/sam.cpp from the instructions.

You can probably get it compiling by initing and updating the ggml submodule.

git submodule init
git submodule update
mkdir build && cd build
cmake .. && make -j4

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