You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your environment Describe any aspect of your environment relevant to the problem, including your platform, build system, version numbers of installed dependencies, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on main branch.
Steps to reproduce
Describe exactly how to reproduce the error. Include a code sample if applicable.
Yes, there a breaking change in v1.8.3, unfortunately not communicated well. Starting v1.8.3 (PR #2022), the cmake install rules are not created by default, and need to explicitly specify the CMAKE option OPENTELEMETRY_INSTALL to create them. Please use this option from now. It is still not finalized if default install should be enabled back.
Describe your environment Describe any aspect of your environment relevant to the problem, including your platform, build system, version numbers of installed dependencies, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on main branch.
Steps to reproduce
Describe exactly how to reproduce the error. Include a code sample if applicable.
What is the expected behavior?
What did you expect to see?
git clone --recurse-submodules -b v1.8.2 --depth 1 --shallow-submodules https://github.com/open-telemetry/opentelemetry-cpp &&
cd opentelemetry-cpp &&
CC="clang-16" CXX="clang++-16" cmake -S . -B build -GNinja -DWITH_OTLP=ON
-DCMAKE_INSTALL_PREFIX=$MY_INSTALL_DIR
-DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=mold"
-DCMAKE_SHARED_LINKER_FLAGS="-fuse-ld=mold"
-DCMAKE_MODULE_LINKER_FLAGS="-fuse-ld=mold" &&
cmake --build build &&
cmake --install build
cd ~/.local
➜ .local find . -name "opentelemetry-cpp-config.cmake" -print
./lib/cmake/opentelemetry-cpp/opentelemetry-cpp-config.cmake
The text was updated successfully, but these errors were encountered: