-
Notifications
You must be signed in to change notification settings - Fork 337
Closed
Description
I tested with SDL2 (2.0.9 9bb50edccc46) on macOS 10.14 (18A391) and ported imgui_impl_opengl3.h, imgui_impl_opengl3.cpp, and main.cpp to C (checked calling to cimgui properly).
I faced with the problem of
Assertion failed: (g.IO.DisplaySize.x >= 0.0f && g.IO.DisplaySize.y >= 0.0f && "Invalid DisplaySize value"), function NewFrame, file imgui/imgui.cpp, line 3090.
Abort trap: 6
Download the project: cimgui-sdl2.tar.gz.
To build, simply ...
make
to build againstgl3w
make glew
to build againstglew
ps.
- notice that I have to do relative-path symlink
cimgui.dylib
aslibcimgui.dylib
, related to Symlink cimgui.dylib as libcimgui.dylib on macOS to pass linking phase #78 . - X11 is installed at
/opt/X11
and itsinclude
directory is added in Makefile as well.
Metadata
Metadata
Assignees
Labels
No labels