Fundamental icon indicating copy to clipboard operation
Fundamental copied to clipboard

compiling for arm64 & plugin compiling problem

Open ulph0 opened this issue 3 months ago • 0 comments

hi,

just for you to know: i just compiled your software for raspberry pi (Trixie) because you don't provide such a version for download. that works, but i had to do the following:

find * | grep config.guess

what results in this:

dep/jansson-2.12/config.guess dep/libsamplerate-0.1.9/Cfg/config.guess dep/rtmidi/config/config.guess dep/libarchive-3.7.7/build/autoconf/config.guess dep/speexdsp/config.guess dep/glew-2.2.0/config/config.guess dep/curl-8.10.0/config.guess

cp /usr/share/automake-1.17/config.guess dep/jansson-2.12/ ... and all other of the above locatios.

then, do a

vi src/engine/Engine.cpp

and change this:

inline void cpuPause() {
#if defined ARCH_X64
        _mm_pause();
#elif defined ARCH_ARM64
        __yield();
#endif
}

into this:

inline void cpuPause() {
#if defined(ARCH_X64)
    _mm_pause();
#elif defined(ARCH_ARM64)
    __asm__ __volatile__("yield");
#endif
}

and everything compiled like butter (just as info to the devs). BUT there are only 12 modules to see, no oscillators, nothing, i assume the rest is in the "plugins"?! but they did not compile.

the documentation in

https://vcvrack.com/manual/Building#Building-Rack-plugins is unclear. i went into the plugins folder and cloned Fundamentals, changed into it but a git submodule update --init --recursive did nothing. i also tried around and also tried to do it with the SDK, but same story there, submodule update --init --recursive did nothing. maybe you have a hint what a "advanced developer" would do?)

regards!

btw: 'make install' doesn't work - how to install the software to the system (eg. /usr/local) through building?

update:

managed to solve it. the documentation is old. this is how the plugins can be compiled if you compiled rack also:

cd plugins/
git clone https://github.com/VCVRack/Fundamental.git
cd Fundamental
make -j$(nproc)

but an install / uninstall target would really be nice if there isn't.

ulph0 avatar Oct 14 '25 17:10 ulph0