Dear Jochen,I think I have a patch that fixes the build errors. Basically I just replicated what paroj did upstream, i.e. ignoring the methods that fail to bind.
Hope this helps. Cheers, *Dr. Flavien BRIDAULT* Director of Software Development IRCAD France & IRCAD Africa [email protected] <mailto:[email protected]> Tél. : +33 (0)3 88 119 201 IRCAD France http://www.ircad.fr/ http://www.ircad.africa/ <http://www.ircad.fr/>Suivez l'IRCAD sur Facebook <http://www.facebook.com/pages/IRCAD/193785273990141>
*IRCAD France*Hôpitaux Universitaires - 1, place de l'Hôpital - 67091 Strasbourg Cedex - FRANCE
Le 11/03/2024 à 09:28, Jochen Sprickerhof a écrit :
Hi Flavien, * Flavien Bridault <[email protected]> [2024-03-07 08:07]:I just cloned the repository to open the MR but then I realized there is already a branch opened two weeks ago exactly with the fix I proposed... So I guess it is on its way ?I guess you mean: https://salsa.debian.org/games-team/ogre/-/tree/fix_imguiThat was my try to fix it but it fails later on in the build (as can be seen in CI). Help appreciated.Cheers Jochen
--- ogre.orig/Components/Bites/src/OgreImGuiInputListener.cpp
+++ ogre/Components/Bites/src/OgreImGuiInputListener.cpp
@@ -81,7 +81,7 @@
io.KeyMap[ImGuiKey_Enter] = SDLK_RETURN;
io.KeyMap[ImGuiKey_Escape] = '\033';
io.KeyMap[ImGuiKey_Space] = ' ';
- io.KeyMap[ImGuiKey_KeyPadEnter] = kc2sc(SDLK_KP_ENTER);
+ io.KeyMap[ImGuiKey_KeypadEnter] = kc2sc(SDLK_KP_ENTER);
io.KeyMap[ImGuiKey_A] = 'a';
io.KeyMap[ImGuiKey_C] = 'c';
io.KeyMap[ImGuiKey_V] = 'v';
--- ogre.orig/Components/Overlay/include/OgreOverlay.i
+++ ogre/Components/Overlay/include/OgreOverlay.i
@@ -104,10 +104,11 @@
%ignore ImGui::TreeNodeV;
%ignore ImGui::TreeNodeExV;
%ignore ImGui::SetTooltipV;
+%ignore ImGui::SetItemTooltipV;
%ignore ImGuiTextBuffer::appendfv;
%apply bool* INOUT { bool* p_open };
%apply float* INOUT { float* v };
%apply int* INOUT { int* v };
%include "imgui.h"
-#endif
\ No newline at end of file
+#endif
--- ogre.orig/OgreMain/include/Ogre.i
+++ ogre/OgreMain/include/Ogre.i
@@ -495,6 +495,7 @@
%include "OgreGpuProgram.h"
SHARED_PTR(HighLevelGpuProgram);
%include "OgreHighLevelGpuProgram.h"
+%ignore getPropertyName;
%include "OgreScriptCompiler.h"
%ignore Ogre::TextureUnitState::setCubicTexture;
%ignore Ogre::TextureUnitState::setCubicTextureName;
OpenPGP_signature.asc
Description: OpenPGP digital signature

