# Windows build fails with missing symbol \_\_imp\_CommandLineToArgvW

**URL:** <https://discourse.libsdl.org/t/windows-build-fails-with-missing-symbol-imp-commandlinetoargvw/27256>\
**Category:** SDL Development\
**Created:** [February 20, 2020, 4:45pm UTC](https://discourse.libsdl.org/t/windows-build-fails-with-missing-symbol-imp-commandlinetoargvw/27256 "2020-02-20T16:45:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cgutman](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@cgutman](https://discourse.libsdl.org/u/cgutman)\
**Post date:** [February 21, 2020, 12:39am UTC](https://discourse.libsdl.org/t/windows-build-fails-with-missing-symbol-imp-commandlinetoargvw/27256/2 "2020-02-21T00:39:20Z")

</div>

sdl2main requires you to link to Shell32 since [https://hg.libsdl.org/SDL/rev/a1917148d38a](https://hg.libsdl.org/SDL/rev/a1917148d38a)

---

_[View the full topic](https://discourse.libsdl.org/t/windows-build-fails-with-missing-symbol-imp-commandlinetoargvw/27256)._
