snestracker icon indicating copy to clipboard operation
snestracker copied to clipboard

Snow leopard Compatibility Fixes

Open bazz1tv opened this issue 3 years ago • 4 comments

With these fixes, compiling SNES Tracker on Mac OSX 10.6.8 should be similar to the following model: CC=clang++-mp-9.0 CPP=clang++-mp-9.0 OBJCC=clang++-mp-9.0 CPPFLAGS=-stdlib=libc++ OBJCFLAGS=-stdlib=libc++ make

Special Thanks to @KungFuFurby for figuring out the missing link on getting SNES Tracker to run on Snow Leopard!!

bazz1tv avatar Jul 25 '20 00:07 bazz1tv

I need this branch (SnowLeopard2) to be tested for good operation at least in a general sense from people not only on OSX Snow Leopard, but modern OSX, Windows, and Linux before I can merge it in with confidence.

bazz1tv avatar Jul 25 '20 04:07 bazz1tv

OSX 10.11

  • compiled fine
  • loaded and played a song in ST
  • loaded SPC, rar, and 7z files fine in STD
  • Seems fine

bazz1tv avatar Jul 27 '20 07:07 bazz1tv

This fix is KungFuFurby approved! ...with a caveat.

I tested this with clang++ versions 3.7, 5.0, 8.0, and 9.0, all from MacPorts. Currently, 5.0 is the earliest version of the compiler that can be used with this program.

KungFuFurby avatar Jul 28 '20 02:07 KungFuFurby

Tested with a manual merge of 0.1.1 (albeit without me committing it). Had to fix merge conflicts (usually related to my original fixes to the control-related warnings) and fix a few warnings related to control reaching the end of a non-void function, as without doing so I was crashing again.

iconutils is not compatible with my OS due to being distributed with a later version of XCode than is supported on my computer, so I temporarily disabled the related code for this occasion. A workaround exists, but for me, would require libicns, which I can get through MacPorts if I haven't already done so.

KungFuFurby avatar Aug 19 '20 16:08 KungFuFurby