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 ?
I also have this in Pd's console : GEM: compiled for SIMD architecture: SSE2 MMX GEM: using SSE2 optimization
And I've attached a full build log FYI, it only build one object for know
Any advice is welcome !
Thanks
Antoine -- do it yourself http://antoine.villeret.free.fr
-----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
thanks Iohannes,
you're right, there was a big mess on my machine and pd was loading the wrong Gem binary
and thanks for the advice
+ a
-- do it yourself http://antoine.villeret.free.fr
2014-06-23 13:28 GMT+02:00 IOhannes m zmoelnig via Pd-dev < pd-dev@lists.iem.at>:
-----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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/
iQIcBAEBCAAGBQJTqA9CAAoJELZQGcR/ejb42E0QAJYwm63fGV4CAt/80UlaIXsO TxWa/O5vU4Zcf/1zI713SDPKmQimdmTZXcguJH3/0MbVn/DaGQEO8toJp/jaO/pb nV7HwfHfZ9lsGA/3RxKJvOHo1xP2WtdKVUqU5u1mxoGFov//Ba9SdTE44/eho13j Y1zDrNVZr8Yr1xsZezeKYkj6ZVD4JRoKeFD0c1chShmZ53wonWnHJzP5GwQSbTdc s6izZNzQXbd1b6YPRM5JhJPRhsl9yGkByGs9AEG70yg6utwb0K1J49FqNpUHeEOa J5hl5FRt640XmJA3CNYi9T48swZbkRW1ai0JBSatWVF/21xtfHnx3CPo8pWXGauy EvCokedcag19RkyZWXFvHp3Iv8222ea4mThOFtVMrJtGr7NpV0EdXuxyBPgr+u4R R7UX/cpo+4i7gwMK/3K5iM0kbTl+39KVpt6f2Q8fuSh0ICvColsGeF62FhGaPSwZ EX9+iLa8ovYnysJ0bCgoryi3iKnpSJsr4XwwwW2vcTRZojvj1CfkfLebr6AxhE5P qTdChOp6zOqRyCdc1ih+BL3vHlzMW35NKN+gLJxIfZFyCaveT56aOQKlRfUNuE9Z w3U+jrdPfMq5qzCW0Y2xK6ASkHC3TBFkxw0FqmwEZ4f0CXRCrJu1stnoiaz3gYjB ixnv7Heo0NwnRb+uJdga =f0Fu -----END PGP SIGNATURE-----
Pd-dev mailing list Pd-dev@lists.iem.at http://lists.puredata.info/listinfo/pd-dev