<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Ubuntu 12.04. I don’t have issues compiling for the same platform that I’m building on (ie. compiling on Linux, for Linux), only when compiling for Windows, while building from Linux.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Either way, I can confirm that the custom Makefile seems to have fixed the issue.</div> <br> <div id="bloop_sign_1434210548854976000" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">-- <br>Pauli Jokela, Didstopia</div></div> <br><p class="airmail_on" style="color:#000;">Päällä 13. kesäkuuta 2015 klo 18.48.51, Jonas Kulla (<a href="mailto:nyocurio@gmail.com">nyocurio@gmail.com</a>) kirjoitti:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>


<title></title>


<div dir="ltr">
<div>
<div>
<div>Hello Pauli,<br>
<br></div>
what distribution are you using? I'm on Fedora, and for me, using
the distro provided cmake-mingw32<br></div>
script worked out of the box when compiling physfs from source
(just needed to remove some<br>
unused variables since warnings are treated as errors). So it's
definitely possible.<br></div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-06-13 15:02 GMT+02:00 Pauli Jokela
<span dir="ltr"><<a href="mailto:pauli.jokela@didstopia.com" target="_blank">pauli.jokela@didstopia.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
Thanks Jonas,</div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<br></div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
Although it was painful as heck, I managed to create a working
Makefile. Well, I haven’t tested the final build yet, but at least
it compiles.</div>
<span class="HOEnZb"><font color="#888888"><br></font></span>
<div>
<div style="font-family:helvetica,arial;font-size:13px">
<span class="HOEnZb"><font color="#888888">-- <br>
Pauli Jokela, Didstopia</font></span></div>
</div>
<div>
<div class="h5"><br>
<p style="color:#000">Päällä 13. kesäkuuta 2015 klo 14.48.44, Jonas
Thiem (<a href="mailto:jonasthiem@googlemail.com" target="_blank">jonasthiem@googlemail.com</a>) kirjoitti:</p>
<blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000">
<div><span>Sadly, my experience with cmake is that it's horrible
for cross-compiling, which is why I refuse to use it for any of my
own projects.<br>
<br>
I have successfully compiled PhysFS for windows, and I can
recommend to just hack your custom Makefile. Add all source files
as object files, maybe try to guess or steal the -llinkedlibrary
flags from a cmake run from a native linux box, and then just
compile it using your own Makefile for things.<br>
<br>
I had to do the same when cross-compiling Box2D because again,
cmake. Gladly, SDL still maintains autoconf..<br>
<br></span>
<div><span>On 06/13/2015 12:05 PM, Pauli Jokela
wrote:<br></span></div>
<blockquote type="cite">
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<span>I’ve tried for several days/weeks now to compile PhysFS on a
Linux box, with MinGW, to product both 32- and 64-bit Windows
builds.</span></div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<span><br></span></div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<span>So far I haven’t succeeded. At all.</span></div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<span><br></span></div>
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<span>Could someone either provide me with CMake files for MinGW,
or point me in the right direction? Compiling with MinGW under
Windows is not an option, as this has to be done on a Linux
system.</span></div>
<span><br></span>
<div>
<div style="font-family:helvetica,arial;font-size:13px">
<span>-- <br>
Pauli Jokela, Didstopia</span></div>
</div>
<span><br></span><span><br></span>
<pre><span>_______________________________________________
physfs mailing list
<a href="mailto:physfs@icculus.org" target="_blank">physfs@icculus.org</a>
<a href="http://icculus.org/mailman/listinfo/physfs" target="_blank">http://icculus.org/mailman/listinfo/physfs</a>
</span>
</pre></blockquote>
<span><br>
_______________________________________________<br>
physfs mailing list<br>
<a href="mailto:physfs@icculus.org" target="_blank">physfs@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/physfs" target="_blank">http://icculus.org/mailman/listinfo/physfs</a><br></span></div>
</div>
</blockquote>
</div>
</div>
</div>
<br>
_______________________________________________<br>
physfs mailing list<br>
<a href="mailto:physfs@icculus.org">physfs@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/physfs" rel="noreferrer" target="_blank">http://icculus.org/mailman/listinfo/physfs</a><br>
<br></blockquote>
</div>
<br></div>
</div>


_______________________________________________<br>physfs mailing list<br>physfs@icculus.org<br>http://icculus.org/mailman/listinfo/physfs<br></div></div></span></blockquote></body></html>