ld: warning: in /usr/local/lib/libgsl.dylib, file is not of required architecture
4/7/10
Qt and gsl library problem.
Solution:
open the Makefile and:
1. CFLAGS: get rid of "arch i386'.
2. CXXFLAGS: get rid of "arch i386"
3. comment LFLAGS.
4. QMAKE_COMP_QMAKE_OBJECTIVE_CFLAGS: get rid of "arch i386".
then save the Makefile and do:
> make clean
> make
you will get warning but it should pass!
Labels:
Programming related
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment