nowrep / imgoverlay Goto Github PK
View Code? Open in Web Editor NEWVulkan/OpenGL overlay renderer
License: MIT License
Vulkan/OpenGL overlay renderer
License: MIT License
trying to build imgoverlay results throws this error
[18/43] Compiling C++ object src/libImgoverlay.so.p/control.cpp.o FAILED: src/libImgoverlay.so.p/control.cpp.o c++ -Isrc/libImgoverlay.so.p -Isrc -I../src -I../include -Isubprojects/dearimgui -I../subprojects/dearimgui -I../subprojects/Vulkan-Headers-1.2.142/include -I. -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O3 -Werror=return-type -fno-math-errno -fno-trapping-math -Wno-non-virtual-dtor -Wno-missing-field-initializers -Wno-format-truncation -fPIC -pthread -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="v0.7"' -DNDEBUG -D_GNU_SOURCE -DHAVE_PTHREAD -DUSE_GCC_ATOMIC_BUILTINS -DHAVE_TIMESPEC_GET -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE '-DIMGOVERLAY_ARCH="64bit"' -DHAVE_X11 -DVK_USE_PLATFORM_XLIB_KHR -MD -MQ src/libImgoverlay.so.p/control.cpp.o -MF src/libImgoverlay.so.p/control.cpp.o.d -o src/libImgoverlay.so.p/control.cpp.o -c ../src/control.cpp En el fichero incluido desde ../src/control.cpp:1: ../src/control.h:55:17: error: field ‘m_socketPath’ has incomplete type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} 55 | std::string m_socketPath; | ^~~~~~~~~~~~
Im trying to build using the pkgbuild and getting the following error
jack@jacklinux ~/Downloads/imgoverlay-0.6 makepkg
==> Making package: imgoverlay-git 0.6.r4.g5e50a51-1 (Thu 02 Mar 2023 20:32:17 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating imgoverlay git repo...
==> Validating source files with sha512sums...
imgoverlay ... Skipped
==> Extracting sources...
-> Creating working copy of imgoverlay git repo...
Reset branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true imgoverlay build64 --libdir lib/imgoverlay/lib64 --prefix /usr -Dappend_libdir_imgoverlay=false -Duse_system_vulkan=enabled
Directory already configured.
Just run your build command (e.g. ninja) and Meson will regenerate as necessary.
If ninja fails, run "ninja reconfigure" or "meson setup --reconfigure"
to force Meson to regenerate.
If build failures persist, run "meson setup --wipe" to rebuild from scratch
using the same options as passed when configuring the build.
To change option values, run "meson configure" instead.
ninja: Entering directory `build64'
[1/31] Generating vk_enum_to_str with a custom command
FAILED: vk_enum_to_str.c vk_enum_to_str.h
/usr/bin/python3 ../imgoverlay/bin/gen_enum_to_str.py --xml /usr/share/vulkan/registry/vk.xml --outdir /home/jack/Downloads/imgoverlay-0.6/src/build64
Traceback (most recent call last):
File "/home/jack/Downloads/imgoverlay-0.6/src/build64/../imgoverlay/bin/gen_enum_to_str.py", line 30, in <module>
from mako.template import Template
ModuleNotFoundError: No module named 'mako'
[2/31] Generating version.h with a custom command
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
[27803:27829:1120/135419.877856:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[27803:27829:1120/135419.877877:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[27803:27829:1120/135419.877885:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[27803:27829:1120/135419.877893:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[27803:27829:1120/135419.877922:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[27803:27829:1120/135419.877930:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[27803:27829:1120/135419.877936:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[27803:27829:1120/135419.877942:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[27803:27829:1120/135419.877966:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT
[27803:27829:1120/135419.877973:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[27803:27829:1120/135419.877978:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[27803:27829:1120/135419.877983:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
Loaded 2 views
Using DMA-BUF
Using DMA-BUF
qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 508, resource id: 0, major code: 20 (GetProperty), minor code: 0
any idea what i am doing wrong? MongoHud works fine but when try imgoverlay it does not work resulting in those errors
i am on a Nvidia 970 GTX driver 470.86
thanks
running makepkg builds the packages but the 32bit one can't be installed because it contains a 32 bit binary that replaces the x86_64 one (/usr/bin/imgoverlay) and it also has conflicts with the vulkan layer (/usr/share/vulkan/implicit_layer.d/imgoverlay.x86_64.json), instead of naming it imgoverlay.x86.json or imgoverlay.32.json it uses the same one as the 64bit one (imgoverlay.x86_64.json).
{ "file_format_version" : "1.1.2", "layer" : { "name": "VK_LAYER_IMGOVERLAY_64", "type": "GLOBAL", "api_version": "1.3.221", "library_path": "/usr/lib/imgoverlay/lib32/libImgoverlay.so", "implementation_version": "1", "description": "Vulkan Img Overlay", "functions": { "vkNegotiateLoaderLayerInterfaceVersion": "overlay_Negotiate" }, "enable_environment": { "IMGOVERLAY": "1" }, "disable_environment": { "DISABLE_IMGOVERLAY": "1" } } }
also the layer name has 64 on it.
TODO
I have successfully build and installed yet the config files arent found within .config
is there something im missing?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.