<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px">Thanks Chris, using mingw-w64 did the trick. </span><span style="font-family:arial,sans-serif">I almost had it going with mingw-w32, but ran into dsound.h issues so gave up. mingw-w64 also fixed some problems I was having with missing c++11 std features...</span></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Quick question re: mingw-64 though: when I installed it, it had a combo box for 'architecture' - i686 or x86_64.</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">What do they mean here exactly? Is this what the 64 compilers can 'build' for? I selected i686, so does that mean I'm running 64bit compilers that generate 32bit exes? </font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">If so, I take it this is correct for OpenAL32?</font></div><div><br></div><div><font face="arial, sans-serif"><br></font></div><div>
<font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><br></font></div><div><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 30, 2014 at 1:55 PM, Chris Robinson <span dir="ltr"><<a href="mailto:chris.kcat@gmail.com" target="_blank">chris.kcat@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 05/29/2014 06:16 PM, Mark Sibly wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I'm trying to build the latest openal-soft from git with MinGW 4.8.1, but<br>
aren't having much luck.<br>
<br>
I tried:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
cd build<br>
cmake -G "MinGW Makefiles" ..<br>
mingw32-make all<br>
</blockquote>
<br>
Which generates a bunch of compiler warnings/errors such as:<br>
<br>
D:/openal-soft/include/<u></u>threads.h:47:52: warning: 'struct timespec' declared<br>
inside parameter list [enabled by default]<br>
  int althrd_sleep(const struct timespec *ts, struct timespec *rem);<br>
</blockquote>
<br></div>
Are you using mingw32 or mingw-w64? It works for me with mingw-w64, and mingw32's headers are known for missing things, so if you're using mingw32 it could be missing the timespec struct.<br>
<br>
I can change the check in threads.h to _TIMESPEC_DEFINED, which is what my mingw-w64 headers define when declaring the timespec struct, though I don't know if other Windows compilers that have timespec will also set that.<br>

______________________________<u></u>_________________<br>
openal mailing list<br>
<a href="mailto:openal@openal.org" target="_blank">openal@openal.org</a><br>
<a href="http://openal.org/mailman/listinfo/openal" target="_blank">http://openal.org/mailman/<u></u>listinfo/openal</a><br>
</blockquote></div><br></div>