Google
 

4/7/10

Qt and gsl library problem.

ld: warning: in /usr/local/lib/libgsl.dylib, file is not of required architecture


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!

No comments: