Closed tonychen0924 closed 1 year ago
Could you provide a sample project (in your GitHub repository) so that I can figure out what your problem is.
At the first sight, it seems like a basic CMake usage issue rather than a Celix specific one.
CalcProviderBundle
should be a target defined by add_celix_bundle
.
This demo is under celix acephere rte : Use service .
I still don't quite understand your issue. However, when trying to build our examples standalone, I found and fixed another seemingly unrelated issue: #580. I suggest you follow the build steps given there and build against the latest trunk.
If your issue remains, please provide us detailed build steps and command line output like #580.
After #580 and #581(CXX examples default off before this PR) merged, I build readme_cxx_examples
successfully.
If the issue remains, feel free to reopen it.
Thank you for your helping . Celix is my first open source project , so I'm not very familiar . I already test this demo successfully !
You're welcome.
My project dir is RegisterService UseService RegisterService build successfully and generate CalcProviderBundle.zip in build dir . but UseService CMakeLists,txt can not find RegisterService , why ? I try to update "CalcProviderBundle" to "../RegisterService/build/RegisterService " and "RegisterService " , also can not find .
/
add_celix_container(CalcUserContainer
BUNDLES
Celix::ShellCxx
Celix::shell_tui
CalcProviderBundle
CalcUserBundle
)