Hello, 

coming back to the issue. 


> 
> 
>> Am 22.03.2024 um 19:47 schrieb Brad Howes via fluid-dev 
>> <fluid-dev@nongnu.org>:
>> 
>> 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

Reply via email to