Ronald

Results 45 comments of Ronald

built succesfully with https://github.com/teeminus/ungoogled-chromium-windows

But it might be a private version. It also mgiht be sophisticated, e.g. special according to traits.

> https://github.com/RobLinux/conan-vs-extension managed to upgrade and build it for 2022. but it won't work for vs2019 so just install it for 2022 :) here is the vsix : [Conan.VisualStudio.zip](https://github.com/conan-io/conan-vs-extension/files/7917114/Conan.VisualStudio.zip) **UPDATE...

## cmake code to find `xlsxio` ```cmake find_package(PkgConfig) set(ENV{PKG_CONFIG_PATH} /usr/local/lib/pkgconfig) pkg_check_modules(XLSXIO_READ REQUIRED libxlsxio_read) message(XLSXIO_READ_INCLUDE_DIRS: ${XLSXIO_READ_INCLUDE_DIRS}) message(XLSXIO_READ_LIBRARIES: ${XLSXIO_READ_LIBRARIES}) ``` ## Output ```shell XLSXIO_READ_INCLUDE_DIRS:/usr/local/include XLSXIO_READ_LIBRARIES:libxlsxio_readlibminiziplibzlibexpat ``` ## Problem For `XLSXIO_READ_LIBRARIES`, names like...

> Why do you `set(ENV{PKG_CONFIG_PATH} /usr/local/lib/pkgconfig)`? > That would override what people already have in the `PKG_CONFIG_PATH` environment variable... On manjaro, I've tried without `set(ENV{PKG_CONFIG_PATH} /usr/local/lib/pkgconfig)`, `pkg_check_modules` can't find the...

> I made a first attempt to generate proper .cmake files and fixed an issue with the .pc files. Can you try if these changes work for you? For some...

tested on raspberry pi, it failed, logs as below ``` $ cat ../CMakeLists.txt cmake_minimum_required(VERSION 3.16) project(test_xlsxio LANGUAGES CXX VERSION 1.0.0.0) find_package(libxlsxio_read REQUIRED) $ cmake .. -DCMAKE_BUILD_TYPE=Release CMake Error at /usr/local/cmake/libxlsxio_readConfig.cmake:11...

@brechtsanders pulled and tested ``` $ cmake .. -DCMAKE_BUILD_TYPE=Release CMake Error at /usr/local/cmake/libxlsxio_readConfig.cmake:5 (PKG_CHECK_MODULES): Unknown CMake command "PKG_CHECK_MODULES". Call Stack (most recent call first): CMakeLists.txt:7 (find_package) ```

Succeeded for the code below ``` cmake_minimum_required(VERSION 3.16) project(test_xlsxio LANGUAGES CXX VERSION 1.0.0.0) find_package(libxlsxio_read REQUIRED) ```

`find_package(xlsxio REQUIRED)` is expected to work when it is installed at `/opt/xlsxio`, but it doesn't. This is a default behaivor for common libs. BTW by modern cmake, it is quite...