Schrijvers Luc

Results 588 comments of Schrijvers Luc

OK, tried using the mentioned way setting prefix to /boot/system etc. , still getting an error not finding rz_core ``` waiting for build package cutter-2.3.4-1 to be activated Building ......

From a default build: ``` get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../.." ABSOLUTE) ``` When using `--prefix=/boot/system`: ``` get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../../../../boot/system" ABSOLUTE) ``` EDIT: got the wrong file for the second line :)

@ret2libc Quickest way I guess would be to setup a VM: 1. Grab an iso from: https://www.haiku-os.org/get-haiku/r1beta4/ and use the iso to install the OS on a virtual disk (I...

Still something off in the cmake config files, but atleast got a build for Cutter and not patching it for rizin with the following: ``` cp -rf $sourceDir2/cutter-translations-$srcGitRev_2/* src/translations rzLibDir="$(finddir...

So it seems it can find it's headers fine with (from config files): ``` set(rz_core_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/develop/headers/librz" "${PACKAGE_PREFIX_DIR}/develop/headers/librz/sdb") ``` But doesn't find the actual library here?: ``` set_and_check(rz_core_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/lib") find_library(rz_core_LIBRARY NAMES...

> `set_and_check(rz_core_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/lib")` is wrong... it should be `set_and_check(rz_core_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/develop/lib")` on Haiku. Yeah as used in the current settings I'm using for Cutter: ``` rzLibDir="$(finddir B_SYSTEM_DEVELOP_DIRECTORY)/lib$secondaryArchSubDir" ```

> I thought `fixCMake` was supposed to make that change... But I've seen some HaikuPorts recipes doing it manually... Skipped my mind! ... checking ;) EDIT: that didn't work, path...

With some finetuning together with @mtl1979 this came out and is working fine on 64bit and 32bit Haiku: ``` sed -i 's,\${PACKAGE_PREFIX_DIR}/lib,${PACKAGE_PREFIX_DIR}/develop/lib,g' $libDir/cmake/rz_*/rz_*Config.cmake ```

Worked fine! ![Genio-build-x86](https://github.com/Genio-The-Haiku-IDE/Genio/assets/16057090/29bfc400-7842-4f9e-a5d1-adb0aaf1148d)

This needs to be checked first, doing tests here with builds/runtime also.