Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: ImGUI not displaying  (Read 3193 times)

0 Members and 1 Guest are viewing this topic.

M3rs

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
ImGUI not displaying
« on: July 09, 2016, 01:49:06 am »
EDIT 2: On close, I am getting the notice: "An internal OpenGL call failed in Texture.cpp (110) : GL_INVALID_FRAMEBUFFER_OPERATION, the object bound to FRAMEBUFFER_BINDING is not "framebuffer complete" -- I'm less concerned about this, but curious as to a cause/fix.

EDIT: It was a silly mistake, sorry and thank you. The fix was to change my CMakeLists.txt:
FIND_LIBRARY(OpenGL_Lib OpenGL) # instead of searching for GL, had to search for OpenGL. Feel free to delete or leave as reference.

Hello SFML forums,

I'm trying to set up SFML with ImGUI and having some trouble (on OS X). The below c++ code compiles fine and runs; however, no ImGUI objects show up (my "Look a button!" or the "Hello, world!" frame/window/not-sure-the-word).

It may be something terribly obvious, so I'm sorry if I'm missing any silly errors, but thank you to anyone who can help.

The SFML implementation is not my own (credit https://github.com/eliasdaler/imgui-sfml), but I'm sure his code is sound.

The OpenGL being found is "/opt/X11/lib/libGL.dylib".

Thank you,

Andy

c++ code
(click to show/hide)

CMakeLists.txt
(click to show/hide)
« Last Edit: July 09, 2016, 02:13:40 am by M3rs »