Tutorial.cpp
" that comes with Gosu, and I'm stuck.Ctrl+C
to get back to a prompt. (Although, I suppose this could be a bug in MSYS2...)-std=c++11
", I get this: http://pastebin.com/QXB2X7HVstb_vorbis.c
from being built and included in libgosu.a
. The pthread thing is still eluding me, though :/
$ pacman -Ss | grep '^\w.*hread'
mingw32/mingw-w64-i686-libwinpthread-git 5.0.0.4573.628fdbf-1 (mingw-w64-i686-toolchain) [installed]
mingw32/mingw-w64-i686-winpthreads-git 5.0.0.4573.628fdbf-1 (mingw-w64-i686-toolchain) [installed]
mingw64/mingw-w64-x86_64-libwinpthread-git 5.0.0.4573.628fdbf-1 (mingw-w64-x86_64-toolchain)
mingw64/mingw-w64-x86_64-winpthreads-git 5.0.0.4573.628fdbf-1 (mingw-w64-x86_64-toolchain)
msys/mingw-w64-cross-winpthreads-git 5.0.0.4574.ce1ad45-1 (mingw-w64-cross-toolchain mingw-w64-cross)
> Does that also mean I don't need the three Ogg/Vorbis .DLLs when I distribute my games?
mingw32
folder it created into my main MSYS2 folder (after renaming the existing one, just in case), ran make, found out CC=cc
, copied gcc.exe to cc.exe, ran make again, and got a working Tutorial.exe that has a space-ship you can fly around and stars that make noises! Woot! :Dmake
(or possibly mingw32-make
) from a standard Windows Cmd shell and end up with a libgosu.a and a Whatever.exe. Then, I can write that up in the relevant section of the wiki, and wait for someone to "improve" something until it breaks again :P
-mwindows
to LDFLAGS did the trick!/bin
folder on the path (which is easily done by running the batch file it comes with), I am able to use mingw32-make
at a normal Cmd prompt to build the Tutorial program :D-pthread
option), SDL2, OpenAl32, opengl32, glu32, and winmmdelayimp.lib
is MSVC-specific and does not really matter.glu32
, does it break if you omit this library? Gosu doesn't really use it.> It would be great if there was an up-to-date (per platform?) list of every library needed for both Gosu itself and Gosu apps. Something to add to the wiki, maybe?
libstdc++-6.dll
.> My post contains two lists. Which one needs libsndfile?
> What if we made a "Getting Started on Windows" page that linked to separate MSVC and Mingw pages?
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill