Gem icon indicating copy to clipboard operation
Gem copied to clipboard

pix_artoolkit undefined symbol

Open kubriel opened this issue 11 months ago • 7 comments

Detail

Hallo, I was never able to run pix_artoolkit so maybe im doing something wrong, but im coming back, for years already. This time it looks like succesfull compile, but pd console prints this: ./extra/pix_artoolkit/pix_artoolkit.pd_linux: ./extra/pix_artoolkit/pix_artoolkit.pd_linux: undefined symbol: arGetTransMat extra/pix_artoolkit/pix_artoolkit: can't load library

when i try to have it with ARToolKit5 from git, i get ./pix_artoolkit.pd_linux: ./pix_artoolkit.pd_linux: undefined symbol: arSetLabelingThresh pix_artoolkit: can't load library

Gem Version

v0.94-1039-g5a0003666

Pd Version

0.53.1

Operating System

Linux

OS Version

debian bookworm

Which CPU are you using?

amd64/x86_64 ("64bit Intel")

kubriel avatar Jan 24 '25 20:01 kubriel

arGetTransMat is a symbol that is (supposedly) provided by (older versions(?)) of artoolkit.

probably it's time to just drop [pix_artoolkit]?

umlaeute avatar Jan 24 '25 21:01 umlaeute

Its still provided lib/SRC/AR/arGetTransMat.c

kubriel avatar Jan 24 '25 22:01 kubriel

i have no idea how you tried, but my attempts to compile ARtoolKit5 mainly showed that the last git of ARToolkit5 uses a broken build-system and does not compile out of the box on a recent Debian/sid system.

i'd like to say that it is ARToolKit's fault :-/

umlaeute avatar Jan 24 '25 23:01 umlaeute

i used gcc, but i woundt say broken. there was a ton of warnings, but it looks like build. i had to fix some issues(like adding #include to lib/SRC/KPM/FreakMatcher/math/hamming.h and lib/SRC/KPM/FreakMatcher/matchers/kmedoids.h and remove util/calib_stereo from the build system, but examples are running fine even trough i dont know how to use them.

kubriel avatar Jan 25 '25 09:01 kubriel

weird.

i had to change completely different things (with the current https://github.com/artoolkit/ARToolKit5/tree/5bf0b671ff16ead527b9b892e6aeb1a2771f97be).

also, no examples have actually been built.

umlaeute avatar Jan 25 '25 12:01 umlaeute

well, it looks like ARToolKit5 is deprecated, and https://github.com/artoolkitx/artoolkitx is the new thing. i was even able to get tracking example to work.

kubriel avatar Jan 25 '25 15:01 kubriel

and there is also https://github.com/artoolkitx/artoolkit5 which also gives me "undefined symbol: arSetLabelingThresh"

kubriel avatar Jan 25 '25 16:01 kubriel