![]() ![]() Your problem with HAVE_STRERROR_S stems from being outdated. MinGW-w64 comes with a full set of direct x headers and libraries so the SDK is not needed. The DXSDK needs sal.h, which is provided on. ![]() If you do want to build allegro yourself with mingw, you will have some problems. ![]() My binaries come with all the dependencies prepackaged. You can find them here :Īll you need to do is unpack the archives, put them somewhere you like, add your mingw\bin folder to the path, and compile away. You can use my binaries for MinGW if you like. ![]() They are stuck on gcc version 5 and have lots of other problems as well. You don't need MSYS2 for MinGW, and is outdated. _out XINPUT_STATE* pState // Receives the current stateĬ:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Include/xinput.h:237:5: error: unknown type name '_in'Ĭan anyone experienced with this recognize what is going on? What is wrong? _in DWORD dwUserIndex, // Index of the gamer associated with the deviceĬ:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Include/xinput.h:232:5: error: unknown type name '_out' In file included from c:/allegro/src/win/whapxi.c:67:0:Ĭ:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Include/xinput.h:231:5: error: unknown type name '_in' Building C object CMakeFiles/allegro.dir/src/win/whapxi.c.obj Then it was able to get past the compile of file_stdio.c Make: *** Error 2įor fun, I went into CmakeCache.txt and changed Building C object CMakeFiles/allegro.dir/src/file_stdio.c.objĬ:/allegro/src/file_stdio.c: In function 'file_stdio_ferrmsg':Ĭ:/allegro/src/file_stdio.c:302:7: error: unknown type name 'errno_t'Įrrno_t rc = strerror_s(userdata->errmsg, sizeof(userdata->errmsg), With both computers (an ASUS running win10, and an HP running win10) I get a compile after about 20 source files compile: Unzipped it to create c:\allegroħ) Then, in a command window, I cd\allegro and type make were available from a cmd window.Ĥ) Installed cmake latest version 3.8.2 (cmake-3.8.2-win64-圆4.ins)ĥ) Got the latest allegro source allegro-5.2.2.zip. (I had to unistall MSVC++ back to 2010 because of error S1023 - a well documented issue)ģ) Added c:\MinGW\bin c:\MinGw\MSYS\1.0\bin c:\MinGW\MSYS\1.0\local\bin to the user path. Here's what I did starting with two clean windows 10 machines. I have been using allegro on other windows versions for years. I am not able to get allegro 5.2.2 to build on windows 10 machines. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |