- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have made a .so file to the project object_detection_demo_ssd_async, but it seems that the CMakeLists includes all the samples.
I don't know much about cmake, but I want to konw how to modify the CMakeLists.txt file to add my .so file to the object_detection_demo_ssd_async project.
Many thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Hiiragi Iori,
Since you are talking about an *.so you are using Linux. I assume that you are trying to modify object_detection_demo_ssd_async to call functions from your *.so ? What is this *.so for ?
In any case, if you want to modify CMakeLists.txt the easiest thing to do would be to create the *.so from a CMakeLists.txt, you would follow steps similar to stackoverflow cmake create a shared object .
As far as where to make these changes, the best place would be inference_engine/samples/CMakeLists.txt . Just put your built so here:
set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${IE_MAIN_SAMPLES_DIR}/${BIN_FOLDER}/${CMAKE_BUILD_TYPE}/lib)
And your sample should find it.
Hope it helps,
Thanks,
Shubha
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Hiiragi Iori,
Since you are talking about an *.so you are using Linux. I assume that you are trying to modify object_detection_demo_ssd_async to call functions from your *.so ? What is this *.so for ?
In any case, if you want to modify CMakeLists.txt the easiest thing to do would be to create the *.so from a CMakeLists.txt, you would follow steps similar to stackoverflow cmake create a shared object .
As far as where to make these changes, the best place would be inference_engine/samples/CMakeLists.txt . Just put your built so here:
set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${IE_MAIN_SAMPLES_DIR}/${BIN_FOLDER}/${CMAKE_BUILD_TYPE}/lib)
And your sample should find it.
Hope it helps,
Thanks,
Shubha
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page