mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-01 05:10:41 +00:00
SDL2/OpenGL3 compile error #8751
Labels
No labels
accidentally closed
android
backends
bug
building
clipper
coloredit
color spaces
cplusplus
data types
demo
disabled
doc
docking
dpi
drag drop
drawing/drawlist
dropped
dx12
enhancement
focus
font/text
gallery
help wanted
idle/power saving
ime
in progress
inputs
inputtext
internals
label/id and id stack
language bindings
layout
linux/bsd
menus
multi-contexts
multi-threading
multi-viewports
nav
news/info
opengl
optimization
osx/ios
overlap
plot/graph
popups
question
scrolling
selection
settings
sliders/drags
style
tables/columns
tabs
test wanted
tools
tooltips
tree
tricks & tips
useful widgets
vulkan
web
window pos/depth
window sizing
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ocornut/imgui#8751
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Version/Branch of Dear ImGui:
Version 1.92.1, Branch: master
Back-ends:
imgui_impl_sdl2.cpp + imgui_impl_opengl3.cpp
Compiler, OS:
Linux (Ubuntu 20.04) + GCC (g++-11)
Full config/build information:
No build. Compile error.
Details:
Property name 'Status' of struct ImTextureData in imgui.h conflicts with '#define Status int' defined in /usr/include/X11/Xlib.h
GCC error:
.../imgui/backends/imgui_impl_opengl3.cpp:541:22: error: expected unqualified-id before ‘int’
541 | if (tex->Status != ImTextureStatus_OK)
No issue when using the SDL3/OpenGL3 backends
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
None.