mlc-ai/tokenizers-cpp

Building the example fails

Closed this issue · 1 comments

I'm trying to run build_and_run.sh in the example directory, but I get the following error:

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

    /home/kriscao_cohere_com/fax/tokenizers-cpp/msgpack

  does not contain a CMakeLists.txt file.


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

    /home/kriscao_cohere_com/fax/tokenizers-cpp/sentencepiece

  does not contain a CMakeLists.txt file.


CMake Error at ../CMakeLists.txt:144 (add_library):
  add_library INTERFACE library requires no source arguments.


CMake Error at ../CMakeLists.txt:145 (target_link_libraries):
  Cannot specify link libraries for target "tokenizers_c" which is not built
  by this project.


-- Configuring incomplete, errors occurred!

am I doing something wrong?

I was doing something wrong, I hadn't initialized the git submodles.