Skip to content
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

building mi-Rack on ubuntu 18.04 x86_64 #9

Open
hexdump0815 opened this issue Nov 18, 2018 · 0 comments
Open

building mi-Rack on ubuntu 18.04 x86_64 #9

hexdump0815 opened this issue Nov 18, 2018 · 0 comments

Comments

@hexdump0815
Copy link

hexdump0815 commented Nov 18, 2018

hello again,

i needed to use the following change to the Makefile to make it compile on ubuntu 18.04 on x86_64

diff --git a/Makefile b/Makefile
index b5bc885..5ff8e05 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ ifeq ($(ARCH), lin)
        LDFLAGS += -rdynamic \
                -lpthread -ldl -lz -lasound -lX11 \
                $(shell pkg-config --libs gtk+-2.0) \
-               -Ldep/lib -Wl,-Bstatic -lglfw3 -ljansson -lspeexdsp -lzip -lz -lrtmidi -lrtaudio -lcurl -lssl -lcrypto -Wl,-Bdynamic
+               -Ldep/lib -Wl,-Bstatic $(shell pkg-config --static --libs glfw3 | perl -pe 's/-lGL //; s/-lm //g; s/-lXdmcp//g; s/-lXau //g' ) -ljansson -lspeexdsp -lzip -lz -lrtmidi -lrtaudio -lcurl -lssl -lcrypto -Wl,-Bdynamic -lXdmcp -lXau -lasound -lm
 
 ifneq (,$(findstring arm,$(CPU)))
        LDFLAGS += -lGLESv2 dep/lib/libmathlib_static.a

additionally the following is required in the shell where the build is happening: export PKG_CONFIG_PATH=./dep/lib/pkgconfig/

i think i found it somewhere around the original vcvrack issues - maybe useful for others trying to compile it on such a system as well

best wishes - hexdump

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

No branches or pull requests

1 participant