Homebrew Errors when compiling sftdlib apps

  • Thread starter Thread starter mashers
  • Start date Start date
  • Views Views 2,908
  • Replies Replies 23
Ok so I need to set everything to either hard or softfp float (project, sf2d, sftd, libpmg, freetype) and compile them all again. And does it matter if I choose hard or softfp as long as they are all the same as each other? If I have to use one or the other how do I know which to use? Thanks guys!
 
Ok so I need to set everything to either hard or softfp float (project, sf2d, sftd, libpmg, freetype) and compile them all again. And does it matter if I choose hard or softfp as long as they are all the same as each other? If I have to use one or the other how do I know which to use? Thanks guys!

You have to use always hard
 
Ahh, the makefile for the portlibs specifies softfp. That's probably why nothing which included the libraries would build as the float setting was incompatible (and the libraries were using a different float setting to the compiler probably). I've deleted my old devkitPro folder and am currently rebuilding everything using hard float. Fingers crossed it works this time. I'll report back :)
 
Ok, the sample builds and works now :) I was continuing to get "undefined reference to `sftd_load_font_mem'" and then I realised I needed to add the linker options to the makefile for sf2d and sftd. I then started getting undefined reference errors relating to zlib, so I changed the order of the linking so it matched the makefile for the sample and it worked - my own project now builds correctly.

Hopefully this will help others who are struggling with this :)

--------------------- MERGED ---------------------------

Oh and thanks for all the help getting this working guys :)
 

Site & Scene News

Popular threads in this forum