Skip to content

Add support for linux (using Cmake) #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

ssj71
Copy link

@ssj71 ssj71 commented May 3, 2017

I added support for building the plugins in Linux using cmake. There is a little documentation in the CMakeLists.txt file in source. It probably could be made to use cmake for all platforms, but since you already have ways to do it on windows/mac I just got it working for linux.

There is also a tiny change in the source (adding an include to avoid errors about snprintf).

Cool project, thanks for sharing the code!

@keijiro keijiro self-assigned this May 3, 2017
@kmturley
Copy link

kmturley commented Sep 21, 2021

There seems to be some comments on how to build the linux version here:
https://www.kvraudio.com/forum/viewtopic.php?p=6774133&sid=acbd59f0d3aff2c976b007a8e15fefe3#p6774133

You can also use Docker Compose to run the CMake files:

version: '3'
services:

  linux:
    image: ubuntu
    ports:
      - "8080:8080"
    volumes:
      - .:/usr/src/app

Then run:

docker-compose run linux
apt-get update
apt-get install cmake gcc build-essential "libstdc++6" libx11-xcb-dev libxcb-util-dev libxcb-cursor-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev libfontconfig1-dev libcairo2-dev libgtkmm-3.0-dev libsqlite3-dev libxcb-keysyms1-dev libasound2-dev
cd /usr/src/app/build
cmake ../source/
make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants