[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

I'm trying to build SDL2 on Windows using mingw64 (mingw32-make)

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 17
Thread images: 1

File: sdl_build_error.png (56KB, 983x664px) Image search: [Google]
sdl_build_error.png
56KB, 983x664px
I'm trying to build SDL2 on Windows using mingw64 (mingw32-make) but I get this error. How can I fix this?
>>
Install Gentoo
>>
WINDOWS AYLMAO
>>
>>59220668
>>59220710

Just give me a solution, cunts
>>
>>59220668
this
>>
you should correct it so it doesnt happen again
>>
>>59220323
You are missing DirectX SDK dependencies.

Also, install Gentoo, faggot.
>>
>>59220323
Don't include both versions? You're including both xinput.h from mingw64 and SDL_xinput.h from SDL2.

I assume your source file #include <SDL2/SDL_xinput.h> right? Try <xinput.h> to just use the mingw64 version.
>>
Literally install gentoo.

Trying to do any development stuff on Windows is a nightmare. You'll be shocked how easy it is to do this on Linux if you just try it.
>>
>>59220668
>>59220805
>>59220879

What's the big deal with gentoo?
>>
>>59220811
How I do that?
>>
>>59220901
Personal experience: windows is horrible when it comes to any form of development. Package management is essential if you want to do anything serious
>>
>>59220920
just quit right now amigo
>>
>>59220901
Gentoo
>>
>>59220946
stop amigo, I need help amigo.

amigo
>>
>>59220920
>How I do that?
Are you having a giggle m8?
Literally:
#include <xinput.h>
//#include <SDL2/SDL_xinput.h>

Mingw already found both files in your include path when you tried to compile so you should be able to include just xinput.h.

Also, compiling SDL2 (or any predominately Linux based API) on Windows is an uphill struggle. Switch to DirectX with Visual Studio or install a virtual machine and put a Linux distro on it and do your SDL dev that way.
>>
>>59220901
You install it
Thread posts: 17
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.