In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
order of LIBS to avoid errors. link to libmath
Line 179: Line 179:  
To make this example work, extra libraries must be linked in.  Modify the standard Makefile LIBS line as follows:<br>
 
To make this example work, extra libraries must be linked in.  Modify the standard Makefile LIBS line as follows:<br>
 
<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>
 +
<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':
 +
physbusig.c: (.text.physbusif_output*0x148): undefined reference to 'USB_WriteBlkMsgAsync'</pre><br>
316

edits

Navigation menu