Re: Failed to load SHCORE.DLL

Jonathan Dearborn <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <CA+DSiHZDjkb6gCNvHa8V-dKDvbVEduDT5Yy=DvSJPbRsYNVrpA@mail.gmail.com>
It is not recommended to #undef main.  Link to sdl2main instead.  If you
still get link errors, then you probably have the wrong binaries for your
compiler.  mingw32 is distinct from mingw-w64 and may have
incompatibilities.

Jonny D


On Thu, Aug 11, 2016 at 5:12 PM, MrTAToad <[email protected]>
wrote:

> For the "main is defined twice" error, all you need to do is use
>
>
>
> Code:
>
> #undef main
>
> before your main function.
>
> It sounds like your operating system is 32-bit and its trying to use the
> 64-bit version of SHCORE.DLL - if you use the #undef and the 32-bit
> libraries it should work.
>
> _______________________________________________
> SDL mailing list
> [email protected]
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.