# Error while installing bootstrap

**URL:** https://discourse.cmake.org/t/error-while-installing-bootstrap/9176
**Category:** Usage
**Tags:** os:windows
**Created:** [October 11, 2023, 1:53pm UTC](https://discourse.cmake.org/t/error-while-installing-bootstrap/9176 "2023-10-11T13:53:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Nicolas\_Nguyen](https://discourse.cmake.org/user_avatar/discourse.cmake.org/nicolas_nguyen/32/3903_2.png) [@Nicolas\_Nguyen](https://discourse.cmake.org/u/Nicolas_Nguyen)
#### Post date: [October 11, 2023, 1:53pm UTC](https://discourse.cmake.org/t/error-while-installing-bootstrap/9176/1 "2023-10-11T13:53:50Z")

</div>

Hello,

Beginner here, trying ot install CARLA built from source.

I have some issue installing Bootstrap, it ends up with an error :

/c/Users/Colibus/Documents/CARLA\_SW\_REQ/cmake-3.27.7/Bootstrap.cmk/cmsys/Configure.h:42:23: error: conflicting types for ‘cmsysProcess\_SetPipeNative’; have ‘void(cmsysProcess _, int, void \* const_)’ {aka ‘void(struct cmsysProcess\_s _, int, void \* const_)’}  
42 | # define kwsys\_ns(x) cmsys##x

I look up in the cmake\_bootstrap and found that :

/c/Users/Colibus/Documents/CARLA\_SW\_REQ/cmake-3.27.7/Source/kwsys/kwsysPlatformTestsCXX.cxx: In function ‘int main()’:  
/c/Users/Colibus/Documents/CARLA\_SW\_REQ/cmake-3.27.7/Source/kwsys/kwsysPlatformTestsCXX.cxx:53:13: error: ‘environ’ was not declared in this scope; did you mean ‘union’?  
53 | char\* e = environ[0];  
| ^ ~~~~~~  
| union  
Test failed to compile

I don’t know what is wrong and some help would be welcome.

Thenks a lot !

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [October 11, 2023, 4:11pm UTC](https://discourse.cmake.org/t/error-while-installing-bootstrap/9176/2 "2023-10-11T16:11:51Z")

</div>

This looks like MinGW of some kind. Why are you bootstrapping CMake instead of using MSYS packages?

---

<div class="post-metadata">

### Author: ![Nicolas\_Nguyen](https://discourse.cmake.org/user_avatar/discourse.cmake.org/nicolas_nguyen/32/3903_2.png) [@Nicolas\_Nguyen](https://discourse.cmake.org/u/Nicolas_Nguyen)
#### Post date: [October 13, 2023, 1:16pm UTC](https://discourse.cmake.org/t/error-while-installing-bootstrap/9176/3 "2023-10-13T13:16:13Z")

</div>

That’s what is recommended when building CARLA from source. As it is a minor requierement, I may skip it but I know it might be problem later on

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [October 13, 2023, 11:40pm UTC](https://discourse.cmake.org/t/error-while-installing-bootstrap/9176/4 "2023-10-13T23:40:05Z")

</div>

That is…strange. I’d try with the MSYS CMake package. If problems come up, figuring out the behavioral difference between a custom build and the package would be of interest. I don’t think there should be one.
