Skip to content

compiling for arm64 & plugin compiling problem #152

@ulph0

Description

@ulph0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions