-
As stated in https://github.com/open-telemetry/opentelemetry-cpp/blob/main/INSTALL.md you are not allowed to build a windows DLL:
Can I make a workaround like this:
I've inspected the topic: #1269 and still have a hope that my workaround could work |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Yes, if you don't export any API or data struct of otel-cpp in your WrapperDll. |
Beta Was this translation helpful? Give feedback.
-
Coincidentally I'm in need of a DLL version for Windows too. I did several iterations on my own, and my last attempt is here https://github.com/malkia/opentelemetry-cpp - it builds a single Also my "hack" is for More docs here - https://github.com/malkia/opentelemetry-cpp/blob/main/dll.md Most likely I probably took some really wrong decision here, but my goals were two:
To test it quickly from my branch:
Note: Jaeger's test/build are ignored, also the |
Beta Was this translation helpful? Give feedback.
-
@malkia Coincidently there is some work done as part of #1932 if this is something you are looking for? |
Beta Was this translation helpful? Give feedback.
Yes, if you don't export any API or data struct of otel-cpp in your WrapperDll.