YavorGIvanov / sam.cpp

MIT License
1.26k stars 52 forks source link

make -j4 -> make: *** No targets specified and no makefile found. Stop. #31

Open samanthabeilman opened 1 month ago

samanthabeilman commented 1 month ago

I am admittedly not very experienced, and might be doing something wrong, but running make -j4 does not work for me, and there is no /build/bin/sam executable created.

Can anyone assist me in figuring out what I am doing wrong? :(

This was my output from cmake:


-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
-- The C compiler identification is MSVC 19.37.32822.0
-- The CXX compiler identification is MSVC 19.37.32822.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe - 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: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at ggml/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- CMAKE_SYSTEM_PROCESSOR: AMD64
-- x86 detected
-- Found OpenGL: opengl32
-- Configuring done (5.2s)
-- Generating done (0.0s)
-- Build files have been written to: C:/directory/sam.cpp```
YavorGIvanov commented 1 month ago

If you are better familiar with Visual Studio on Windows, you can try this https://github.com/spacewalk01/sam-cpp-vs