Paulo Coutinho
Paulo Coutinho
The error is: ``` conanfile.py (nativium/None): Calling build() ERROR: conanfile.py (nativium/None): Error in build() method, line 66 cmake = CMake(self) ConanException: Usage of toolchain is only supported with 'cmake_find_package' or...
@memsharded How/where to define this `tools.cmake.cmaketoolchain:generator`?
@memsharded i already tried use CMakeDeps/CMakeToolchain, because i see on other recipes from CCI, but im still doing something wrong because when i use it, i get error on build:...
@memsharded I do that changes, but the error is the same: ``` [INFO] Nativium: Extending conan configuration with module app-core conanfile.py (nativium/None): Calling build() ERROR: conanfile.py (nativium/None): Error in build()...
Hi @memsharded, Steps: ``` git clone https://github.com/nativium/nativium.git cd nativium python3 nativium.py conan setup python3 nativium.py target windows setup python3 nativium.py target windows build ```
Hi @memsharded, Did you found something? Thanks.
Hi @memsharded, sorry, my mistake about git clone. You need checkout branch "recipe-conan-v2": ``` git clone https://github.com/nativium/nativium.git -b recipe-conan-v2 ```
Ok @memsharded. I made a small project from `conan new` command and create a structure equal my project to make tests. https://github.com/paulocoutinhox/conan-cmake-v2 Only left a problem with include files using...
Hi @memsharded, this is already solved. Im only with one doubt. For all dependencies i need add its library path and include path manually? Example for sqlitecpp: ``` target_link_libraries(${PROJECT_NAME} PRIVATE...
@memsharded strange, because without add include dirs, it don't find the headers. You can see here: https://github.com/paulocoutinhox/conan-cmake-v2/blob/main/CMakeLists.txt And can try: ``` git clone https://github.com/paulocoutinhox/conan-cmake-v2.git cd conan-cmake-v2 make desktop ```