Open NancyAurum opened 1 year ago
C:\Users\micro\Downloads\ggml\build>cmake -G "Unix Makefiles" ..
CMake Deprecation Warning at 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.
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
Sadly it doesnt work either
On Windows 11
cmake ..
fails to produce a working Makefile One has to explicitly specifycmake -G 'Unix Makefiles' ..
The w64devkit gcc version 12.2.0 (GCC) has no aligned_alloc, therefore
I replaced it with the usual
malloc
, and it compiled just fine.There is also an attempt to use strlen inside
std::
(since when C functions got there?!!)Apparently
#include <cstring>
declares it as part of std.Attempt to run mpt-7b-instruct.ggmlv3.q8_0.bin from https://huggingface.co/TheBloke/MPT-7B-Instruct-GGML results into a Windows related error with using a wstring converter on a utf8 input
Replacing it with
Solves the issue. Nobody needs unicode anyway.