ft2-clone

Fasttracker 2 clone
Log | Files | Refs | README | LICENSE

HOW-TO-COMPILE.txt (1953B)


      1 ---- Guide on how to compile the FT2 clone for Windows/macOS/Linux ---
      2   LINUX NOTE: The program source code is NOT big-endian compatible!
      3 
      4 Compiled Windows/macOS binaries are always available at 16-bits.org/ft2.php
      5 
      6 
      7 == COMPILING ON LINUX ==
      8  1. Install the following packages:
      9     Ubuntu/Debian and similar: build-essential libsdl2-dev
     10     Fedora: gcc gcc-c++ alsa-lib-devel SDL2-devel
     11     Others: www.google.com (you want gcc, g++ (or c++), alsa dev and SDL2 dev)
     12  2. Compile the FT2 clone for command line:     (folder: "ft2-clone")
     13     chmod +x make-linux.sh                      (only needed once)
     14     ./make-linux.sh
     15     Compile the FT2 clone as an AppImage:
     16     chmod +x make-linux-appimage.sh
     17     ./make-linux-appimage.sh
     18 
     19  Note: If you don't have libstdc++ and/or can't compile rtmidi, try running
     20        make-linux-nomidi-noflac.sh or make-linux-appimage-nomidi-noflac.sh
     21        instead.
     22        
     23  Known issues: Audio recording (sampling) can update VERY slowly or not work at
     24                all... I have no idea why, it works really well on Windows/maCOS.
     25 
     26 == COMPILING ON WINDOWS 7 SP1 OR NEWER ==
     27  1. Download Visual Studio Community 2019 (it's free) EDIT: Hard to find now!
     28  2. Start the installer and select the "Desktop development with C++" package
     29  3. Install and wait for it to finish...
     30  4. Open "ft2-clone\vs2019_project\ft2-clone.sln"
     31  5. If you're missing the Windows 10 SDK, then you need to change the Windows
     32     SDK version used in the project settings for both debug and release x86/x64.
     33  6. Compile (make sure it's in Release mode. Also note x86/x64)
     34 
     35 
     36 == COMPILING ON MAC OS X 10.15 OR NEWER ==
     37  1. Download and install the "Command Line Tools" XCode package (google it)
     38  2. Download the SDL 2 framework at https://www.libsdl.org
     39  3. Inside the package, copy SDL2.framework to /Library/Frameworks/
     40  4. Compile the FT2 clone:      (folder: "ft2-clone")
     41     chmod +x make-macos.sh      (only needed once)
     42    ./make-macos.sh