nowrep / obs-vkcapture

OBS Linux Vulkan/OpenGL game capture
GNU General Public License v2.0
524 stars 25 forks source link

cannot install vkcapture 1.4.8 even with dependencies #196

Open LinuxMint20 opened 7 months ago

LinuxMint20 commented 7 months ago

I have been trying to build this plugin from source because I refuse to use flatpak. after loboriously searching and finding the dependencies cmake, libobs, libvulkan, libgl, & libegl, I followed the following directions to the letter after downloading the obsvkcapture master to my computer, extracting it, and opening the directory in gnome terminal.

mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make && make install

I will upload the error reports as the code is far too extensive to display here.

Thank you for ANY assistance, it is appreciated.

CMakeError.log CMakeOutput.log Vkcapture Terminal Output.txt

VanNostrand commented 7 months ago

/usr/lib/Scrt1.o which your system is missing belongs to glibc. Make sure you installed glibc-devel or however the package is called in your distro - or better: install via apt install build-essential, see https://linuxhint.com/install-gcc-c-cpp-compiler-debian-12/

LinuxMint20 commented 7 months ago

I installed build-essential, error messages, gcc g++, which resulted in version 11;gcc -12 g++ -12, I believe they were already installed, error messages, and finally, glibc-source, version 2.35; which is current for my distro. The error messages read as thus:

cd ~/Desktop/Current/OBS/obs-vkcapture-1.4.8;mkdir build && cd build;cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..;make && make install
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
  No CMAKE_C_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
VanNostrand commented 7 months ago

I doubt these problems have to do with the project here. If cmake cannot find the C compiler or if the compiler cannot create binaries, then the build tools and dependencies are not properly installed.