Not able to run grep project in local

I am trying to run the grep project locally after completing the stage 3 of the project. But I am receiving following error.

CMake Error at /usr/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:176 (message):
  Could not find toolchain file: /scripts/buildsystems/vcpkg.cmake
Call Stack (most recent call first):
  CMakeLists.txt:3 (project)


CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

I am using Ubuntu 24 LTS and have installed cmake.

This is my first codecrafters challenge, any help would be appreciated!

@deepakrvg Looks like cmake couldn’t find gcc on your system.

Could you try also installing build-essential, and see if it works?

sudo apt update
sudo apt install build-essential

Closing this thread due to inactivity. If you still need assistance, feel free to reopen or start a new discussion!