Skip to content

Instantly share code, notes, and snippets.

View uilianries's full-sized avatar

Uilian Ries uilianries

View GitHub Profile
@uilianries
uilianries / consume-websocketpp-linux.log
Created February 10, 2025 14:31
Validate Websocketcpp missing Boost random
+ rm -rf build/ conan/
+ conan install . --output-folder=conan --build=missing --update -o '*/*:shared=True'
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
@uilianries
uilianries / config-arm64-osx-dbg-config.log
Last active February 6, 2025 14:40
Installing elfutls
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by elfutils configure 0.191, which was
generated by GNU Autoconf 2.72. Invocation command line was
$ ./../src/elfutils-0-04e5090778.clean/configure --enable-libdebuginfod=no --enable-nls=no --enable-debuginfod=no --with-bzlib --with-lzma --with-zlib --with-zstd --disable-silent-rules --verbose --disable-shared --enable-static --prefix=/private/tmp/elfutils-vcpkg/vcpkg_installed/arm64-osx/debug '--bindir=${prefix}/../tools/elfutils/debug/bin' '--sbindir=${prefix}/../tools/elfutils/debug/sbin' '--libdir=${prefix}/lib' '--includedir=${prefix}/../include' '--datarootdir=${prefix}/share/elfutils'
## --------- ##
## Platform. ##
@uilianries
uilianries / libelf-0.8.13-armv8-shared.log
Last active February 5, 2025 13:15
Cross building Qt6 on Linux using Conan
# conan create all --version=0.8.13 -o "*/*:shared=True" -pr arm64
======== Exporting recipe to the cache ========
libelf/0.8.13: Exporting package recipe: /tmp/conan-center-index/recipes/libelf/all/conanfile.py
libelf/0.8.13: exports: File 'conandata.yml' found. Exporting it...
libelf/0.8.13: Copied 1 '.py' file: conanfile.py
libelf/0.8.13: Copied 1 '.yml' file: conandata.yml
libelf/0.8.13: Copied 1 '.txt' file: CMakeLists.txt
libelf/0.8.13: Exported to cache folder: /root/.conan2/p/libelba96eb0c2165d/e
libelf/0.8.13: Exported: libelf/0.8.13#a55930368d33bf24654804c5ef0f93f3 (2025-02-05 12:24:01 UTC)
@uilianries
uilianries / Qt6GuiConfig.cmake
Last active January 23, 2025 17:57
Qt6 Gui Cmake files - Originals
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
####### Any changes to this file will be overwritten by the next CMake run ####
####### The input file was QtModuleConfig.cmake.in ########
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
@uilianries
uilianries / Consume QtAdvacedDockSystem.log
Created January 23, 2025 17:51
Install and consume QtAdvanceDockSystem
Preset CMake variables:
CMAKE_BUILD_TYPE="Debug"
CMAKE_TOOLCHAIN_FILE="/home/uilian/Development/vcpkg/scripts/buildsystems/vcpkg.cmake"
CMAKE_VERBOSE_MAKEFILE="ON"
-- Running vcpkg install
Fetching registry information from https://github.com/microsoft/vcpkg (HEAD)...
Detecting compiler hash for triplet x64-linux...
Compiler found: /usr/bin/c++
@uilianries
uilianries / CMakeCache.txt
Created January 20, 2025 14:03
GDAL 3.8.3 - Linux x86_64 Release GCC-11
# This is the CMakeCache file.
# For build in directory: /home/uilian/.conan2/p/b/gdal13afb7b89f3a2/b/build/Release
# It was generated by CMake: /home/uilian/.conan2/p/cmake1fe5d1afc63db/p/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
@uilianries
uilianries / libsecret-cross-armv8-buildenv-strip.log
Last active January 20, 2025 10:19
Conan Mesontoolchain - Strip application case (Conan client issue 17600)
======== Exporting recipe to the cache ========
libsecret/0.21.4: [HOOK - hook_run_linter.py] pre_export(): RUN: conanlint check /home/uilian/Development/conan/conan-center-index/recipes/libsecret/all/../**/*
Success: No issues found in 2 files.
libsecret/0.21.4: Exporting package recipe: /home/uilian/Development/conan/conan-center-index/recipes/libsecret/all/conanfile.py
libsecret/0.21.4: exports: File 'conandata.yml' found. Exporting it...
libsecret/0.21.4: Copied 1 '.py' file: conanfile.py
libsecret/0.21.4: Copied 1 '.yml' file: conandata.yml
libsecret/0.21.4: Exported to cache folder: /home/uilian/.conan2/p/libsefbb06337e1bec/e
@uilianries
uilianries / 0001-opencv-cuda-support.patch
Last active December 13, 2024 12:22
OpenCV 4.10.0 + CUDA + CUDNN
diff --git a/recipes/opencv/4.x/conanfile.py b/recipes/opencv/4.x/conanfile.py
index 8891329bb..58e1bf484 100644
--- a/recipes/opencv/4.x/conanfile.py
+++ b/recipes/opencv/4.x/conanfile.py
@@ -433,6 +433,12 @@ class OpenCVConan(ConanFile):
def xkbcommon():
return ["xkbcommon::libxkbcommon"] if self.options.get_safe("with_wayland") else []
+ def cuda():
+ return ["cuda-toolkit::cuda-toolkit"] if self.options.get_safe("with_cuda") else []
@uilianries
uilianries / openmpi-4.1.6.log
Created December 5, 2024 15:11
openmpi 4.1.6 static build on Ubuntu 20.04
This file has been truncated, but you can view the full file.
======== Exporting recipe to the cache ========
openmpi/4.1.6: Exporting package recipe: /home/conan/project/all/conanfile.py
openmpi/4.1.6: exports: File 'conandata.yml' found. Exporting it...
openmpi/4.1.6: Copied 1 '.py' file: conanfile.py
openmpi/4.1.6: Copied 1 '.yml' file: conandata.yml
openmpi/4.1.6: Exported to cache folder: /home/conan/.conan2/p/openm7c5fecc9457b7/e
openmpi/4.1.6: Exported: openmpi/4.1.6#c131371eeca1f2c1cb3875092536989a (2024-12-05 15:03:22 UTC)
======== Input profiles ========
@uilianries
uilianries / CMakeLists.txt
Created November 27, 2024 14:15
CCI Issue 26047 - FFMpeg working on Windows
cmake_minimum_required(VERSION 3.15)
project(test_package LANGUAGES CXX)
find_package(ffmpeg REQUIRED CONFIG)
add_executable(${PROJECT_NAME} main.cpp)
target_link_libraries(${PROJECT_NAME} PRIVATE ffmpeg::avutil)
if (TARGET ffmpeg::avdevice)
target_compile_definitions(${PROJECT_NAME} PRIVATE HAVE_FFMPEG_AVDEVICE)
target_link_libraries(${PROJECT_NAME} PRIVATE ffmpeg::avdevice)