I am trying to package BRL-CAD in Flatpak for Linux distros with OpenVDB.
It failed to build as shown below.
I think it just the matter of specifying the correct directory for OpenVDB and Ilmbase. but I do not know what flag I should use.
***********************************************************
* Stage 1 of 9 - Top Level Configure Options *
***********************************************************
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
DEBUG;Promoting target to global: 'Qt6::moc'
DEBUG;Promoting target to global: 'Qt6::rcc'
DEBUG;Promoting target to global: 'Qt6::tracepointgen'
DEBUG;Promoting target to global: 'Qt6::tracegen'
DEBUG;Promoting target to global: 'Qt6::cmake_automoc_parser'
DEBUG;Promoting target to global: 'Qt6::qlalr'
DEBUG;Promoting target to global: 'Qt6::qtpaths'
DEBUG;Promoting target to global: 'Qt6::androiddeployqt'
DEBUG;Promoting target to global: 'Qt6::androidtestrunner'
DEBUG;Promoting target to global: 'Qt6::qmake'
DEBUG;Promoting target to global: 'Qt6::qvkgen'
DEBUG;Promoting target to global: 'Qt6::uic'
DEBUG;Promoting target to global: 'Qt6::qdbuscpp2xml'
DEBUG;Promoting target to global: 'Qt6::qdbusxml2cpp'
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5")
-- Could NOT find OpenVDB (missing: OpenVDB_LIB_COMPONENTS) (found version "10.0.1")
-- OpenVDB ABI Version: 10
CMake Error at misc/CMake/BRLCAD_Util.cmake:104 (_message):
Could NOT find IlmBase (missing: IlmBase_LIB_COMPONENTS Half)
Call Stack (most recent call first):
/usr/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message)
/usr/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
misc/CMake/FindIlmBase.cmake:293 (find_package_handle_standard_args)
misc/CMake/FindOpenVDB.cmake:317 (find_package)
misc/CMake/BRLCAD_User_Options.cmake:308 (find_package)
CMakeLists.txt:482 (include)
-- Configuring incomplete, errors occurred!
The PREFIX is /app in Flatpak file system hierarchy
Hi,
I am trying to package BRL-CAD in Flatpak for Linux distros with OpenVDB. It failed to build as shown below. I think it just the matter of specifying the correct directory for OpenVDB and Ilmbase. but I do not know what flag I should use.
BRL-CAD rel-7-34-2 is the flags as shown.
The PREFIX is /app in Flatpak file system hierarchy
Here is where OpenVDB and the Half are.
Here is where IlmBase are.
OpenVDB 10.0.1 is build with flag as shown.
-DOPENVDB_CORE_STATIC:BOOL=OFF
OpenEXR v2.5.8 is build with the default flags.
cmake version 3.26.4 gcc (GCC) 12.2.0
openSUSE Tumbleweed KDE flatpak-builder 1.2.3