Skip to content

Error: Integrating LibTorch C++ Library in a Kratos Application #12863

Closed Answered by roigcarlo
ashwakumar asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ashwakumar

First of all, @loumalouomega suggestions are correct.

About the integration of TPL (third party libraries) inside Kratos, It is possible and in fact something that we do in a regular bases. I will try to detail all the cases and how to approach each.

First, it is important to mention that you can integrate a library in kratos in two different ways:
1 - Compiled alongside Kratos: This will result in having one single shared object containing both Kratos and your lib. This is the approach that we use for example for our json parser, etc etc...
2 - As an independent library. This will result into making Kratos.so dependent on the TPL. This is the approach that we follow for Te…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ashwakumar
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ashwakumar
Comment options

Answer selected by ashwakumar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants