# I'm having trouble using 'xcompile.bat'

**URL:** <https://discourse.kitware.com/t/im-having-trouble-using-xcompile-bat/1431>\
**Category:** Pulse Physiology Engine\
**Created:** [December 31, 2024, 4:19am UTC](https://discourse.kitware.com/t/im-having-trouble-using-xcompile-bat/1431 "2024-12-31T04:19:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yi\_Zhang](https://discourse.kitware.com/user_avatar/discourse.kitware.com/yi_zhang/32/1031_2.png) [@Yi\_Zhang](https://discourse.kitware.com/u/Yi_Zhang)\
**Post date:** [December 31, 2024, 4:19am UTC](https://discourse.kitware.com/t/im-having-trouble-using-xcompile-bat/1431/1 "2024-12-31T04:19:16Z")

</div>

Hi everyone：  
Thank you for your open-source project！But now I have encountered a problem。  
When I ran ‘xcompile. bat’, the progress got stuck.  
`[370/581] Building CXX object src/cpp/CMakeFiles/Pulse.dir/engine/common/system/physiology/NervousModel.cpp.o`  
I tried five times and the result was always like this.I also tried to wait for it to finish running, but after 16 hours, it still hasn’t ended.  
I think I need your help.  
Here is my operating environment:

```auto
Windows 10 Professional Edition 22H2
CMake version 3.31.3
Python 3.9.13
Docker version 27.4.0

```

Thanks.

---

<div class="post-metadata">

**Author:** ![Yi\_Zhang](https://discourse.kitware.com/user_avatar/discourse.kitware.com/yi_zhang/32/1031_2.png) [@Yi\_Zhang](https://discourse.kitware.com/u/Yi_Zhang)\
**Post date:** [December 31, 2024, 7:27am UTC](https://discourse.kitware.com/t/im-having-trouble-using-xcompile-bat/1431/2 "2024-12-31T07:27:26Z")

</div>

Hi，My problem has been resolved.I did not limit the resources that WSL can call, and Docker containers use system resources without restrictions, which caused the build to get stuck.Create `.wslconfig` file and the system resources that can be called by WSL are restricted, it can be compiled normally.
