Re: [fluid-dev] Building fluid synth on MACOS
> On 4 May 2024, at 16:47, Conrad Berhörster wrote: > > [ 95%] Linking CXX shared library libfluidsynth.dylib > ld: warning: ignoring file > '/opt/homebrew/Cellar/glib/2.80.0_2/lib/libglib-2.0.0.dylib': found > architecture 'arm64', required architecture 'x86_64' > ld: warning: ignoring file > '/opt/homebrew/Cellar/libsndfile/1.2.2/lib/libsndfile.1.0.37.dylib': found > architecture 'arm64', required architecture ‘x86_64’ > ... > is this an issue of my homebrew installation? Maybe. You clearly have an ARM install of glib but your build seems to need an Intel install for some reason. You need to find out why. What platform are you compiling on? What did CMake tell you it found for GLib2 when you ran “make -Denable-framework=off ..”? Here’s what it told me: cmake -Denable-framework=off .. -- The C compiler identification is AppleClang 15.0.0.15000309 -- The CXX compiler identification is AppleClang 15.0.0.15000309 ... -- Found GLib2: /opt/homebrew/Cellar/glib/2.80.0_2/lib/libglib-2.0.dylib (found suitable version "2.80.0", minimum required is "2.6.5") During compilation in a clean “build” directory, I get several warnings, but the “Linking CXX shared library libfluidsynth.dylib” completes without error. It is possible you are using a compile chain that is actually generating Intel binary. I would check to make sure CMake is seeing the right compiler. Also, note that brew comes in two versions which are incompatible, one for ARM and one for Intel. You can install both on your system if you want, and the Intel executables will be run in Apple’s emulator which is quite fast and perhaps even usable for audio processing. Regards, Brad ___ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev
[fluid-dev] channel filter
I would like to add a low or high pass channel filter that I can control by midi. It is not listed as a feather but it is listed as a in the library functions, Synthesizer, Effect - IIR Filter.. I do not want to disable the synthesizer of its fonction if it is used for sound fonts.Also i could not find how to use the Library function. Thank you, fg ___ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev
Re: [fluid-dev] Building fluid synth on MACOS
Hello, coming back to the issue. > > >> Am 22.03.2024 um 19:47 schrieb Brad Howes via fluid-dev >> : >> >> This seems to work for me: >> >> % mkdir build && cd build >> % cmake -Denable-framework=off .. >> % make >> % find . -name ‘*.dylib’ >> ./src/libfluidsynth.3.2.1.dylib >> ./src/libfluidsynth.dylib >> ./src/libfluidsynth.3.dylib >> I’m trying to build fluidsynth as universal build , but the linker has some problems. this is what i have done # cd build # cmake -Denable-framework=0 -Denable-sdl2=0 -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" .. and i will get [ 95%] Linking CXX shared library libfluidsynth.dylib ld: warning: ignoring file '/opt/homebrew/Cellar/glib/2.80.0_2/lib/libglib-2.0.0.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/libsndfile/1.2.2/lib/libsndfile.1.0.37.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/glib/2.80.0_2/lib/libgthread-2.0.0.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/glib/2.80.0_2/lib/libglib-2.0.0.dylib': found architecture 'arm64', required architecture 'x86_64' ld: warning: ignoring file '/opt/homebrew/Cellar/gettext/0.22.5/lib/libintl.8.dylib': found architecture 'arm64', required architecture 'x86_64' Undefined symbols for architecture x86_64: "_g_clear_error", referenced from: _new_fluid_thread in fluid_sys.c.o _new_fluid_server_socket in fluid_sys.c.o "_g_cond_broadcast", referenced from: _delete_rvoice_mixer_threads in fluid_rvoice_mixer.c.o (and so forth) is this an issue of my homebrew installation? how can i configure this? thanks c~b ___ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev