help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Required architecture 'x86_64' for GSL


From: Castellana Michele
Subject: Required architecture 'x86_64' for GSL
Date: Tue, 3 Dec 2024 21:35:43 +0000

Hello everyone,
I am on macOS 14.6 and I am trying to build, with Xcode, an application which I 
created and which uses GSL. I installed GSL with


./configure CC="gcc -m64" CXX="g++ -m64" CPP="gcc -E" CXXCPP="g++ -E"

make
make install

The installation works ok, but when I build with Xcode I get the warning message


ld: warning: ignoring file '/usr/local/lib/libgsl.28.dylib': found architecture 
'arm64', required architecture 'x86_64'

Undefined symbols for architecture x86_64:

  "_gsl_blas_ddot", referenced from:

[…]

and the build fails.

Do you know how to fix this ?

Thank you!
Best,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]