Can BTK work in mac?

194 views
Skip to first unread message

王奕霖

unread,
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
             ilin

Yong Kuk Kim

unread,
Jan 15, 2020, 9:50:07 AM1/15/20
to btk-...@googlegroups.com
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 btk-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/btk-users/954d9772-9c78-4183-aebf-3d498863f402%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages