-
-
Notifications
You must be signed in to change notification settings - Fork 984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
imgui not included in github release tarball #1332
Comments
Damn... I was a bit quick... Compilation does not work this way out of the box. It fails at:
Seems like the include directory is missing when imgui is deactivated. Hotfix:I thought to just add the imgui include directory and the header to the includes list, but compilation still fails with
For now I am giving up and will deactivate the overlays until I can properly patch this, or it is fixed in master. |
Ok, found the issue. The imgui subfolder is a submodule; Which is not included when downloading a release. |
I now fetch using git and checkout the submodule and everything works. However, could you please include imgui in the next release? |
Same thing happened to me, thanks for your solution |
workaround:
|
note: imgui is disabled due to OGRECave/ogre#1332
If you have already cloned ogre, you can do this:
|
Remove upstream patch [1]. tinyxml has been replaced by pugixml [2]. Switch to git download method since github release without the complete source code in the tarball [3]. Update indentation of hash file (two spaces). The sdl2-config.cmake generated by sdl2 package is broken for cross-compilation since it add /usr/include/SDL2 in CFLAGS. Such flags are unsafe for cross-compilation since it mixes headers for the host and target. sdl2-config.cmake must be removed from staging since we are using autotools build system to build sdl2 package [4][5]. ogre 1.12.7 only include <sys/sysctl.h> for iOS in order to build with glibc >= 2.32 [6]. [1] OGRECave/ogre@de4d5c9 [2] OGRECave/ogre@3381033 [3] OGRECave/ogre#1332 (comment) [4] https://bugzilla.libsdl.org/show_bug.cgi?id=4597 [5] OGRECave/ogre#1568 [6] OGRECave/ogre@8ec086e Signed-off-by: Romain Naour <romain.naour@gmail.com>
This does not work. I tried checking out |
Try
|
imgui is no longer a submodule. If you are upgrading from 1.12, delete your build folder. (or take a look at IMGUI_DIR in cmake) |
Remove upstream patches [1][2]. tinyxml has been replaced by pugixml [3]. Switch to git download method since github release without the complete source code in the tarball [4]. Update indentation of hash file (two spaces). Previous ogre version unconditionally include <sys/sysctl.h> header that has been removed from glibc since 2.32. This has been fixed since Ogre 1.12.7 [5]. [1] OGRECave/ogre@de4d5c9 [2] OGRECave/ogre@3f182b7 [3] OGRECave/ogre@3381033 [4] OGRECave/ogre#1332 (comment) [5] OGRECave/ogre@8ec086e Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
System Information
Detailled description
I am working on an ebuild for the latest ogre-1.12.3 release. When the configuration starts, it results in an error, that imgui.cpp can not be found.
Note: With 1.12.2 the ebuild worked perfectly fine, and all demos from the SampleBrowser worked well.
Configuration:
Relevant Output:
A look into the corresponding directory:
Ogre.log
None, yet.
Hotfix
Currently I build with adding
-DOGRE_BUILD_COMPONENT_OVERLAY_IMGUI=no
, and that works as always, but I thought you's wish to know that the imgui inclusion is incomplete.The text was updated successfully, but these errors were encountered: