Can BTK work in mac?

Skip to first unread message


Jan 15, 2020, 9:26:14 AM1/15/20
to BTK Users
Hi all
I was used macOS 10.15
I was download btk and add path
But it show 
Undefined function 'btkReadAcquisition' for input arguments of type 'char'.
Anyone have the same problem?
All the best

Yong Kuk Kim

Jan 15, 2020, 9:50:07 AM1/15/20
I had the same issue, and I think it is do with linking to dynamic lib.

If you look at the dependency of btk modules, by "otool -L btkGetAnalogs.mexmaci64”(you have to be in that folder)

Then you probably see @loader_path rather than @rpath. So you have to change this to @rpath by

"install_name_tool -change "@loader_path/libmex.dylib @rpath/libmex.dylib [name of btk module].

But as some modules are linked to each other, all these files need to be changed which is an effort and I have not yet figured out a way of doing this.

This is because the change of system in Mac OS and btk was built quite a long time ago.

Hope this helps, and if you somehow managed to find out a way to change the @loader_path to @rpath for all btk modules please let me know!
You received this message because you are subscribed to the Google Groups "BTK Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Reply all
Reply to author
0 new messages