Open nefarius opened 3 months ago
I get the same error with and withot vcpkg.json
. Referenced vcpkg.json
:
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "my-opentelemetry-project",
"version": "1.0.0",
"dependencies": [
{
"name": "opentelemetry-cpp",
"version>=": "1.16.1",
"default-features": false,
"platform": "windows",
"features": [
"otlp-http"
]
}
],
"builtin-baseline": "0f88ecb8528605f91980b90a2c5bad88e3cb565f"
}
Describe your environment
After upgrading from 1.14.x to 1.16.0 and 1.16.1 building the same code fails with a linker error, not finding
TracerProviderFactory::Create
:Steps to reproduce
OTEL CPP is consumed via vcpkg manifest:
Project is a simple Windows DLL, OTEL CPP is statically linked.
Used includes:
Relevant code snippet:
What is the expected behavior?
Solution should build fine, I applied the migration path mentioned here but nothing changes.
What is the actual behavior?
Additional context
Neither the v1.14.x compatible nor the upgraded (factory deprecation) variant works under 1.16.x, I skipped 1.15 so IDK the behavior there.