-
Notifications
You must be signed in to change notification settings - Fork 4
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
Linux build results in error "target pattern contains no '%'" #8
Comments
Hey brother,
#if defined(__arm__) || defined(__TARGET_ARCH_ARM) || defined(_M_ARM) || defined(_M_ARM64) || defined(__aarch64__) || defined(__ARM64__)
#if defined(_M_ARM64) || defined(__aarch64__) || defined(__ARM64__)
#error JUCE_ARCH aarch64
#elif (defined(__TARGET_ARCH_ARM) && __TARGET_ARCH_ARM == 8) || defined(__ARMv8__) || defined(__ARMv8_A__)
#error JUCE_ARCH armv8l
#elif (defined(__TARGET_ARCH_ARM) && __TARGET_ARCH_ARM == 7) || defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7S__) || defined(_ARM_ARCH_7) || defined(__CORE_CORTEXA__)
#error JUCE_ARCH armv7l
#elif (defined(__TARGET_ARCH_ARM) && __TARGET_ARCH_ARM == 6) || defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6T2__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6M__)
#error JUCE_ARCH armv6l
#elif (defined(__TARGET_ARCH_ARM) && __TARGET_ARCH_ARM == 5) || defined(__ARM_ARCH_5TEJ__)
#error JUCE_ARCH armv5l
#else
#error JUCE_ARCH arm
#endif
|
build failure on liberty - looking into it, prob just missing package
|
|
Can't guarantee I know enough to figure it out, but I'm trying to come up to speed on this platform, so will likely look into it further. My next try will involve pulling repo again (or reverting the git changes) and taking a look at the *.sh files to see if any would create the above-mentioned cpp file - or have applicable paths. Hope some of this helps! |
@unityconstruct thanks for this extensive research! I actually didn't think it would be all that much, I thought I'd remember that some people were working on the Linux builds a year ago and that i saw messages flying by that they were successful. I will try to look into these things when I have a few hours to thoroughly read and try these things. |
JUCE + Ctrlr
point being that since this
|
update
Makefile JUCE_VST3DIR := Ctrlr.vst3
## line52
VST3_PLATFORM_ARCH := $(shell $(CXX) `make_helpers/arch_detection.cpp` 2>&1 | tr '\n' ' ' | sed "s/.*JUCE_ARCH \([a-zA-Z0-9_-]*\).*/\1/")
JUCE_VST3SUBDIR := Contents/$(VST3_PLATFORM_ARCH)-linux
...
...
JUCE_LDFLAGS_VST3 := -shared -Wl,--no-undefined
JUCE_VST3DIR := Ctrlr.vst3
## line94
VST3_PLATFORM_ARCH := $(shell $(CXX) make_helpers/arch_detection.cpp 2>&1 | tr '\n' ' ' | sed "s/.*JUCE_ARCH \([a-zA-Z0-9_-]*\).*/\1/")
JUCE_VST3SUBDIR := Contents/$(VST3_PLATFORM_ARCH)-linux
JUCE_TARGET_VST3 := $(JUCE_VST3DIR)/$(JUCE_VST3SUBDIR)/Ctrlr.so
REAL Root Cause
5.6.0 Build Fails
Oh yeah... forgot - the other reason I think this its build config thing
FYI: I'm not all panicky with getting Linux up, so there is no urgency on my end to resolve anything much less look at it. Sounds like Linux ( while my
|
|
This looked like a cool project. Moving on... |
Okay let me add something to this. The next issue I've run in to, was that it had issues linking the VST. It tried using Honestly didn't really understand, where it got the nonexistent path from, but I did some modifications and added the path to the
(not sure if the position of Then I just compiled it again, and voila. Like magic it finished compiling and the Maybe this helps someone, maybe this is not the right way of doing it or the best way, but it worked for me :) and thanks to Copilot for helping me find the right path lol |
@muxy23 nice! I had Ctrlr *.201 building on Linux, but don't think I ever got it going on CtrlrX. Might give your notes a try soon as I much prefer dev on Linux
|
After finding out that I need to be inside the directory Builds/LinuxMakefile/
before i run build.sh, then also need to install libcurl and alsa-lib development packages, the linux build still fails for me at:
What could I be missing?
The text was updated successfully, but these errors were encountered: