Symbol(s) not found for architecture x86_64
-
wrote on 9 Oct 2012, 14:47 last edited by
hello,
i received a mac os x 10.7.2 and i have this error in qt 4.8.2(64 bit)
Symbol(s) not found for architecture x86_64
i can't make it working normaly
thank you
-
wrote on 9 Oct 2012, 17:04 last edited by
Have you added the correct info to the project file?
Have you, for example, add the correct info to the QT element in the project file? -
wrote on 9 Oct 2012, 17:31 last edited by
You need to adjust the architecture settings four your whole chain of libraries, frameworks etc. All those must at least contain every architecture that your final executable should run on.
An OS X binary can contain up to four architectures: PPC and Intel and each in 32 and 64 bit.
You can tweak the settings with += and -= on qmake's CONFIG variable, using ppc, ppc64, x86 and x86_64.
Please have a look at the complete linker output, it tells you for which symbol the code is missing.
3/3