schroedinger undefined symbols for architecture x86_64 #15734
Comments
Have a look at this and try to follow it: https://github.com/mxcl/homebrew/wiki/Troubleshooting |
- Add `--extra-cflags` using pkg-config to find openjpeg. - The cflags fix a configure error. - Add an option `with-schroedinger` for Dirac Video Fixes Homebrew#15772 Homebrew#15734
Please try this pull request when it lands, and tell us whether it fixes things for you. If not, please post your logs. Thanks. |
- Add `--extra-cflags` using pkg-config to find openjpeg. - The cflags fix a configure error. - Add an option `with-schroedinger` for Dirac Video Fixes Homebrew#15772 Fixes Homebrew#15734 Closes Homebrew#15791. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
I had the same problem compiling schroedinger on OSX with a static build into ffmpeg. For some reasons the ld of OSX does not handle external ints correctly. In file schroedinger/schrodecoder.c around line 75 just initialize the ints: int _schro_decode_prediction_only = 0; Then rebuild schroedinger and You will be fine. By the way, there is a similar problem with gnutls and ffmpeg as well. Somewhere in verify_tofu.c, same issue. Cheers |
hi dezi thanks for the info above will give that a try |
Hi
I installed schroedinger using brew successfully but when I try to link it to ffmpeg 1.0 i get the following errors:
Undefined symbols for architecture x86_64:
"__schro_decode_prediction_only", referenced from:
_schro_init in libschroedinger-1.0.a(libschroedinger_1.0_la-schro.o)
"__schro_telemetry", referenced from:
_schro_init in libschroedinger-1.0.a(libschroedinger_1.0_la-schro.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Is this a fault within schroedinger or ffmpeg? I have all the paths setup correctly using pkg-config etc. The build is on OS X 10.7 Lion
any suggestions will be of great help - thanks!
The text was updated successfully, but these errors were encountered: