-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ERROR] Build error: (cmake) "set_property can not be used on an ALIAS target" - and clone fails in step 2 #197
Comments
Update: The problem with the first command gets fixed using the code on this PR #190 When trying to use the second command
Sorry about the spanish output, I don't know to change it to english, it says roughly: clone failed, RPC Failed (was not closed cleanly), fatal fetch-pack output of index-pack invalid. After many tries (5 reruns of the command) the repos got cloned succesfully but I got the following error:
This last error occurs because those 3 files are on lib64 folder, lib folder is empty. If I change this lines in <INSTALL_DIR>/lib64/${CMAKE_STATIC_LIBRARY_PREFIX}icudata${CMAKE_STATIC_LIBRARY_SUFFIX}
<INSTALL_DIR>/lib64/${CMAKE_STATIC_LIBRARY_PREFIX}icuuc${CMAKE_STATIC_LIBRARY_SUFFIX}
<INSTALL_DIR>/lib64/${CMAKE_STATIC_LIBRARY_PREFIX}icui18n${CMAKE_STATIC_LIBRARY_SUFFIX}
set(ICU_LIBRARY_DIR "${INSTALL_DIR}/lib64") Then I get this error in the build install command:
Then I added this to # add after line 64
set(CPU_FEATURES_EXTRA_CXX_FLAGS "-fPIC")
# add at the end of CMAKE_ARGS block
-DCMAKE_CXX_FLAGS=${CPU_FEATURES_EXTRA_CXX_FLAGS} -DCMAKE_C_FLAGS=${CPU_FEATURES_EXTRA_CXX_FLAGS} Then I did the following to install the plugin to OBS: sudo cp -r /media/Almacen/Programas/obs-localvocal/output_dir/lib64/obs-plugins/* /usr/lib64/obs-plugins/
sudo cp -r /media/Almacen/Programas/obs-localvocal/output_dir/share/obs/obs-plugins/* /usr/share/obs/obs-plugins/ Proof that I got it working with those changes to the source code: |
Description
I tried building the project to use it on openSUSE Tumbleweed and I'm getting the following error when running this command
cmake -B build-dir --preset linux-x86_64 -DUSE_SYSTEM_CURL=ON -DCMAKE_INSTALL_PREFIX=./output_dir
:The content of the line pointed in the error is:
set_property(TARGET Qt::${component} PROPERTY INTERFACE_COMPILE_FEATURES "")
I'm following these steps https://github.com/locaal-ai/obs-localvocal?tab=readme-ov-file#other-distros and before trying to build it I checked that I have installed the required libraries like, cmake, qt6 (and dev headers), libopenssl obs-studio and obs-studio-devel (equivalent to libobs), I'm doing this from master branch (last commit fe9a521).
System info
SO: openSUSE Tumbleweed
RAM: 32GB
CPU: AMD Ryzen 7 1700X
GPU: AMD Radeon RX 5700 XT
The text was updated successfully, but these errors were encountered: