Closed Odinaka-git closed 3 months ago
The conan build:
is out of date, and contains references to features that no longer exists, like Jaeger or ZPages.
For logs, it uses option with_logs_preview
which no longer exists in opentelemetry-cpp, now that the log signal is mainstream.
Setting with_logs_preview = True
should help, but I would expect more issues with conan given how outdated this build is.
This is a problem with the conan build itself, which is not maintained in this repository.
Describe your environment I'm using windows 11 and I'm building this application on windows visual studio.
Steps to reproduce There aren't really any steps to reproduce, I'm trying to export logs to grafana. I downloaded the opentelemetry-cpp SDK from conan, wrote my application then tried to build it, but then I got this error. I have downloaded other libraries from conan before and it seems like this error only occurs for opentelemetry-cpp.
What is the expected behavior? I expected it to build without any issues. When I download opentelemetry-cpp from conan, the include and ".lib" files are downloaded to my computer, so I linked the ".lib" files manually through my IDE. My code works as expected. It's just that I would like a situation where I didn't have to link it manually.
What is the actual behavior? I get LNK2019 errors for the log and resource sdk.
Additional context These are the errors I get: