Line 180:
Line 180:
<code>LIBS := -lwiiuse -lbte -logc</code>
<code>LIBS := -lwiiuse -lbte -logc</code>
−
On Mac OS X and Vista the order of the library flags is important, use this:<br>
+
On Mac OS X you will need to add <code>-lm</code> for libmath. On Mac OS X and Vista the order of the library flags is important, don't deviate from the above order otherwise you will get [http://www.tehskeen.com/forums/showthread.php?t=3012&page=3 strange errors] like:<br>
−
<code>LIBS := -lwiiuse -lbte -logc -lm</code>
−
−
Otherwise you will get [http://www.tehskeen.com/forums/showthread.php?t=3012&page=3 strange errors] like:<br>
<pre>C:/devkitpro/libogc/lib/wii/libbte.a(physbusif.o): In function 'physbusif_output':
<pre>C:/devkitpro/libogc/lib/wii/libbte.a(physbusif.o): In function 'physbusif_output':
physbusig.c: (.text.physbusif_output*0x148): undefined reference to 'USB_WriteBlkMsgAsync'</pre><br>
physbusig.c: (.text.physbusif_output*0x148): undefined reference to 'USB_WriteBlkMsgAsync'</pre><br>