Coder Social home page Coder Social logo

Feature Request: Linux version about ripchord HOT 3 OPEN

prg318 avatar prg318 commented on May 29, 2024 1
Feature Request: Linux version

from ripchord.

Comments (3)

prg318 avatar prg318 commented on May 29, 2024

Looks like this is indeed possible! I've managed to get ripchord to compile for Linux and I'm now just working on getting it to link properly.

The first thing I had to do was change the include paths. A lot of the #include directives did not use the relative path to the header file, so modern g++ fails to find the header files. I changed all of the includes in this commit: prg318@1aa2884

I also generated a CMake build environment from the Projucer project file by using FLUT:

~/FRUT/prefix/FRUT/bin/Jucer2CMake juce6 Ripchord.jucer

I checked in the project file here, but it definitely needs to be tweaked a little more: prg318@85cbbab

I'll update this thread on the status of the ripchord linux build

from ripchord.

prg318 avatar prg318 commented on May 29, 2024

I was able to get it to build! I had to manually set C(XX)FLAGS to include -fPIC because for some reason the generated cmake project doesn't use it to build the binary data, which was causing some issues. To build, you can clone my forked repo, change to its directory and run:

mkdir build
cd build
export CFLAGS=-fPIC
export CXXFLAGS=-fPIC
cmake ../
make

I've only tested a VST3 build, but its been working fine with every Linux DAW that I've tested so far. Hurray!
Let me know if anyone has any questions on building this for Linux and I can try to help. It would be great to have official Linux binaries / build support!

Thanks again for open sourcing this plugin to make this port possible

UPDATE:
I actually didn't realize that Projucer was free to use (with limitations) until now. I updated the Projucer file to include Linux Makefile build configurations in this commit prg318@59115b7
With the updated Projucer file, you can just run Projucer Ripchord.jucer to generate the Makefile and then run cd Builds/LinuxMakefile && make to build it. The include changes actually weren't totally necessary - since we could have added every directory to the header search directory, but IMO its cleaner with the updated include structure

from ripchord.

unholyeyebrows avatar unholyeyebrows commented on May 29, 2024

Hi. Is there any chance the Linux build can be made an official download option? This would be so super useful for Linux based producers and would set up Ripchord as the premier chord player on that platform.

Many thanks.

from ripchord.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.