Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] globalThreadSleep linkerror #1197

Open
thomas-roos opened this issue Jul 26, 2024 · 2 comments
Open

[BUG] globalThreadSleep linkerror #1197

thomas-roos opened this issue Jul 26, 2024 · 2 comments
Assignees
Labels

Comments

@thomas-roos
Copy link
Contributor

When building shared version. This is missing

Index: git/CMakeLists.txt
===================================================================
--- git.orig/CMakeLists.txt
+++ git/CMakeLists.txt
@@ -221,7 +221,7 @@ if(BUILD_GSTREAMER_PLUGIN)
   target_link_libraries(gstkvssink PRIVATE ${GST_APP_LIBRARIES} KinesisVideoProducer)

   add_executable(kvssink_gstreamer_sample samples/kvssink_gstreamer_sample.cpp)
-  target_link_libraries(kvssink_gstreamer_sample ${GST_APP_LIBRARIES} KinesisVideoProducer)
+  target_link_libraries(kvssink_gstreamer_sample ${GST_APP_LIBRARIES} KinesisVideoProducer kvspic)

   add_executable(kvs_gstreamer_sample samples/kvs_gstreamer_sample.cpp)
   target_link_libraries(kvs_gstreamer_sample ${GST_APP_LIBRARIES} KinesisVideoProducer kvspic)
thomas-roos added a commit to thomas-roos/meta-aws that referenced this issue Jul 26, 2024
thomas-roos added a commit to thomas-roos/meta-aws that referenced this issue Jul 26, 2024
thomas-roos added a commit to aws4embeddedlinux/meta-aws that referenced this issue Jul 26, 2024
thomas-roos added a commit to aws4embeddedlinux/meta-aws that referenced this issue Jul 26, 2024
github-actions bot pushed a commit to aws4embeddedlinux/meta-aws that referenced this issue Jul 26, 2024
github-actions bot pushed a commit to aws4embeddedlinux/meta-aws that referenced this issue Jul 26, 2024
aws-iot-embedded-linux-ci2 pushed a commit to aws4embeddedlinux/meta-aws that referenced this issue Jul 26, 2024
aws-iot-embedded-linux-ci2 pushed a commit to aws4embeddedlinux/meta-aws that referenced this issue Jul 26, 2024
@hassanctech hassanctech self-assigned this Jul 26, 2024
@stefankiesz
Copy link
Contributor

Hi @thomas-roos,

In Producer C, we publicly link kvspic to cproducer:

target_link_libraries(cproducer PUBLIC kvsCommonCurl kvspic)

And here in Producer C++, cproducer is publicly linked to KinesisVideoProducer:

target_link_libraries(
  KinesisVideoProducer
  PUBLIC kvsCommonCurl
         cproducer
         ${Log4cplus}
         ${LIBCURL_LIBRARIES})

So it seems linking both KinesisVideoProducer and kvspic to the sample would be redundant. Did you experience any issue that was resolved with this change?

@thomas-roos
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants