# Error when trying to execute main()

**URL:** <https://root-forum.cern.ch/t/error-when-trying-to-execute-main/36857>\
**Category:** ROOT\
**Created:** [November 16, 2019, 8:58pm UTC](https://root-forum.cern.ch/t/error-when-trying-to-execute-main/36857 "2019-11-16T20:58:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [November 17, 2019, 8:54am UTC](https://root-forum.cern.ch/t/error-when-trying-to-execute-main/36857/2 "2019-11-17T08:54:24Z")

</div>

Try to rename your “[main](https://en.wikipedia.org/wiki/Entry_point#C_and_C++)” into [something else](https://root-forum.cern.ch/t/how-to-compile-my-code/32780/3).

---

_[View the full topic](https://root-forum.cern.ch/t/error-when-trying-to-execute-main/36857)._
