dliessi
New Member
Dear developers,
I'm preparing a Portfile to make OBS Studio available in MacPorts.
Basically, I need a Unix style installation under MacPorts' prefix (/opt/local).
I configure using cmake with the following options (most are standard cmake options in MacPorts):
After that, make and make install apparently succeed (I can provide the full list of installed files, if needed), but when I run obs from the Terminal I get two dialog boxes with the errors "Failed to find locale/en-US.ini" and "Failed to load locale" and the program exits with this message in the Terminal:
Is there anything I should add to the cmake options?
Can you give any hint on how I can solve the problem?
Thanks and best wishes.
Davide
I'm preparing a Portfile to make OBS Studio available in MacPorts.
Basically, I need a Unix style installation under MacPorts' prefix (/opt/local).
I configure using cmake with the following options (most are standard cmake options in MacPorts):
Code:
-G "CodeBlocks - Unix Makefiles"
-DCMAKE_BUILD_TYPE=MacPorts
-DCMAKE_INSTALL_PREFIX="/opt/local"
-DCMAKE_INSTALL_NAME_DIR="/opt/local/lib"
-DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr"
-DCMAKE_C_COMPILER="$CC"
-DCMAKE_CXX_COMPILER="$CXX"
-DCMAKE_POLICY_DEFAULT_CMP0025=NEW
-DCMAKE_POLICY_DEFAULT_CMP0060=NEW
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_COLOR_MAKEFILE=ON
-DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DCMAKE_MAKE_PROGRAM=/usr/bin/make
-DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules"
-DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules"
-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON
-DCMAKE_INSTALL_RPATH="/opt/local/lib"
-Wno-dev
-DPYTHON_EXECUTABLE=/opt/local/bin/python3.7
-DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m
-DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python
-DUNIX_STRUCTURE=1
-DCMAKE_OSX_ARCHITECTURES="x86_64"
-DCMAKE_OSX_DEPLOYMENT_TARGET="10.13"
-DCMAKE_OSX_SYSROOT="/"
After that, make and make install apparently succeed (I can provide the full list of installed files, if needed), but when I run obs from the Terminal I get two dialog boxes with the errors "Failed to find locale/en-US.ini" and "Failed to load locale" and the program exits with this message in the Terminal:
Code:
error: Failed to load locale
info: == Profiler Results =============================
info: run_program_init: 29306,4 ms
info: ┗OBSApp::AppInit: 13348,8 ms
info: ┗OBSApp::InitLocale: 13348,4 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: =================================================
info: Number of memory leaks: 1
Is there anything I should add to the cmake options?
Can you give any hint on how I can solve the problem?
Thanks and best wishes.
Davide