I am trying to link the libx264 library to one of my apps but I am getting linking errors saying it can not find various symbols for the x86_64 architecture:
Undefined symbols for architecture x86_64:
"x264_param_default_preset(x264_param_t*, char const*, char const*)", referenced from:
I have verified that I compiled the libx264 library using x86_64:
lipo -info libx264.a
input file libx264.a is not a fat file
Non-fat file: libx264.a is architecture: x86_64
I also checked to see if the missing symbols exist in the library:
nm libx264.a | grep x264_param_default_preset
0000000000001710 T _x264_param_default_preset
0000000000005e88 S _x264_param_default_preset.eh
I am trying to link as a static library.
Are there some additional parameters I need to set when compiling libraries to get them to be compatible with Qt or can someone point me in the right direction?