-
Hi. Is anybody having this particular issue? Our project uses OIIO, which depends on FMT and bundles it. OIIO and the other library both include FMT's headers so some of FMT's symbols end up in their respective .lib files.
Not really unexpected since FMT's headers contain some templated code that ends up in both OpenImageIO.lib and our otherlib.lib. Any idea how to handle this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm thinking that the problem is either that you're mixing versions, or that you are getting two copies of the library. Do you build OIIO yourself? If fmt is installed somewhere, you ought to be able to use fmt_ROOT to direct OIIO to build against the very same fmt that your application is using, and maybe that will alleviate the conflict and/or duplication? |
Beta Was this translation helpful? Give feedback.
I'm thinking that the problem is either that you're mixing versions, or that you are getting two copies of the library.
Do you build OIIO yourself? If fmt is installed somewhere, you ought to be able to use fmt_ROOT to direct OIIO to build against the very same fmt that your application is using, and maybe that will alleviate the conflict and/or duplication?