PengZheng commented on issue #643:
URL: https://github.com/apache/celix/issues/643#issuecomment-1726771577

   You are using Conan 2, but 
[dev_celix_with_clion](https://github.com/apache/celix/blob/master/documents/building/dev_celix_with_clion.md)
 still reference to Conan 1.
   
   For Conan 2, you don't need a separate `conan install`, i.e. you only need 
`conan build` with all profile/setting/options.
   I changed doTheThing.sh to 
   
   ```Bash
   mkdir build
   cd build
   conan build .. --build missing -s:h build_type=Release
   cd Release/deploy/TestCelixContainer/
   source ../../generators/conanrun.sh
   ./TestCelixContainer
   
   ```
   
   and doTheThing-debug.sh to
   
   ```Bash
   mkdir build
   cd build
   conan build .. --build missing -pr default -s:h build_type=Debug
   cd Debug/deploy/TestCelixContainer/
   source ../../generators/conanrun.sh
   ./TestCelixContainer
   # This one works
   ```
   Both work on my machine. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to