# Couldn't start stage 2 as CmakeLists.txt

**URL:** <https://forum.codecrafters.io/t/couldnt-start-stage-2-as-cmakelists-txt/823>\
**Category:** Challenges\
**Tags:** challenge:shell\
**Created:** [June 23, 2024, 2:00pm UTC](https://forum.codecrafters.io/t/couldnt-start-stage-2-as-cmakelists-txt/823 "2024-06-23T14:00:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![IndraNeelMulakaloori](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/indraneelmulakaloori/32/749_2.png) [@IndraNeelMulakaloori](https://forum.codecrafters.io/u/IndraNeelMulakaloori)\
**Post date:** [June 23, 2024, 2:00pm UTC](https://forum.codecrafters.io/t/couldnt-start-stage-2-as-cmakelists-txt/823/1 "2024-06-23T14:00:26Z")

</div>

![Screenshot from 2024-06-23 19-27-02](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/1X/090653862cefd0e98c8367ab5808ce554a613108.png)  
Hi there,  
I couldn’t run `your_shell.sh` as cmake isn’t configuring vcpkg and error is popping even I have installed in my pc.

---

<div class="post-metadata">

**Author:** ![rohitpaulk](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/rohitpaulk/32/6_2.png) [@rohitpaulk](https://forum.codecrafters.io/u/rohitpaulk)\
**Post date:** [July 3, 2024, 8:33am UTC](https://forum.codecrafters.io/t/couldnt-start-stage-2-as-cmakelists-txt/823/2 "2024-07-03T08:33:15Z")

</div>

@IndraNeelMulakaloori can you confirm whether `VCPKG_ROOT` is set?

---

<div class="post-metadata">

**Author:** ![IndraNeelMulakaloori](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/indraneelmulakaloori/32/749_2.png) [@IndraNeelMulakaloori](https://forum.codecrafters.io/u/IndraNeelMulakaloori)\
**Post date:** [July 3, 2024, 8:46am UTC](https://forum.codecrafters.io/t/couldnt-start-stage-2-as-cmakelists-txt/823/3 "2024-07-03T08:46:46Z")

</div>

Yeah. I’ve configured it.

---

<div class="post-metadata">

**Author:** ![rohitpaulk](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/rohitpaulk/32/6_2.png) [@rohitpaulk](https://forum.codecrafters.io/u/rohitpaulk)\
**Post date:** [July 3, 2024, 12:57pm UTC](https://forum.codecrafters.io/t/couldnt-start-stage-2-as-cmakelists-txt/823/4 "2024-07-03T12:57:47Z")

</div>

Hmm, I’m not able to reproduce this locally.

@IndraNeelMulakaloori does this help by any chance? [c++ - CMake was unable to find a build program corresponding to "Unix Makefiles" - Stack Overflow](https://stackoverflow.com/questions/48160125/cmake-was-unable-to-find-a-build-program-corresponding-to-unix-makefiles)

---

<div class="post-metadata">

**Author:** ![IndraNeelMulakaloori](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/indraneelmulakaloori/32/749_2.png) [@IndraNeelMulakaloori](https://forum.codecrafters.io/u/IndraNeelMulakaloori)\
**Post date:** [July 3, 2024, 1:10pm UTC](https://forum.codecrafters.io/t/couldnt-start-stage-2-as-cmakelists-txt/823/5 "2024-07-03T13:10:41Z")

</div>

Hey @rohitpaulk I’ve resolved the issue sorry for the delay. I’ve modified the `$VCPKG_ROOT` variable to point towards my installed directory.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [July 8, 2024, 1:10pm UTC](https://forum.codecrafters.io/t/couldnt-start-stage-2-as-cmakelists-txt/823/6 "2024-07-08T13:10:43Z")

</div>

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