Cant run locally (C++)

I’m stuck on Stage #JT4.

I’ve tried running my C++ code locally through the mentioned steps. I created a test dir then ran the your_git.sh from that.

That gave an error saying CMakeLists.txt is not present. So I copied that to the test folder. This resulted in src files not being found.

Maybe Im missing something but can you please give me a quick step by step of how to test my code locally?

I am on windows and running a wsl cli.

by chance did you run into

cmake -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake ..

command?

Am I required to run this? Coz I didn’t.

When you run ./your_git.sh in c++, the shell is configured to run cmake and vcpkg.

Yes thats correct, I do have these install and setup

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

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.