-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2014-06-19 15:41, Antoine Villeret via Pd-dev wrote:
hello,
i'm trying to make a new build system for pix_opencv based on automake it's mainly inspired by Gem's one
I can make a pix_opencv.l_ia64 on linux but when I tried to load it I got : ./pix_opencv.l_ia64: ./pix_opencv.l_ia64: undefined symbol: _ZN9GemPixObj4SIMDEi pix_opencv: can't load library
maybe I need some flag to fit the Gem build option, but I can't figure out which one. does anybody knows how to link correctly ?
Gem comes with a pkg-config file, that should help you. but then, there is no magic involved and no special compilation flags or defines are involved (but make sure you do NOT define GEM_INTERNAL)
anyhow, the problem you are experiencing is usually related to using Gem-headers that do not match the Gem binary that you use.
e.g. i find that the version of Gem that comes with Debian (0.93.3) lacks the GemPixObj::SIMD(int) method, but the git version provides it.
so make sure that you load the *correct* version of Gem (the git version) before loading pix_opencv.
fgmasdr IOhannes