Yet Another Editor

@slapin you need latest SDK build.

@johnnycable that part is bit wonky. Build system is supposed to symlink them automatically from ${URHO3D_HOME}/bin but sometimes that requires to run cmake twice. If it is normal SDK install then yeah you would have to copy over resources. In the future editor should work within your project’s resource path instead.

I have a urho3d_home/build/bin/autoload etc. installation. Those are symlink already. It’s trying to create the symlink of a symlink, which on Os X results in creating an “symlink name copy” symlink in the original directory, and not in your build/bin…

I don’t know where you got that SDK from but the error is from latest github master build.

Please verify if you have this method: Urho3D/XMLElement.h at master · urho3d/Urho3D · GitHub

I tested build with MSVC 2015 before posting here.

Linux gcc build doesn’t work.
Sorry I did not konw this editor was windows-only.
Sorry for the noise then.

Does you Urho include dirrectory contain XMLElement::Remove?

slapin@slapin-pc:~/Urho3D-Toolbox/build$ grep Remove /home/slapin/Urho3D/build/include/Urho3D/Resource/XMLElement.h
    /// Remove a child element. Return true if successful.
    bool RemoveChild(const XMLElement& element);
    /// Remove a child element by name. Return true if successful.
    bool RemoveChild(const String& name);
    /// Remove a child element by name. Return true if successful.
    bool RemoveChild(const char* name);
    /// Remove child elements of certain name, or all child elements if name is empty. Return true if successful.
    bool RemoveChildren(const String& name = String::EMPTY);
    /// Remove child elements of certain name, or all child elements if name is empty. Return true if successful.
    bool RemoveChildren(const char* name);
    /// Remove an attribute by name. Return true if successful.
    bool RemoveAttribute(const String& name = String::EMPTY);
    /// Remove an attribute by name. Return true if successful.
    bool RemoveAttribute(const char* name);

See, no XMLElement::Remove. Update your SDK.

So you don’t have latest Urho revision or haven’t built it.

Well, I pulled in the morning and build with that. Now I pulled in today’s changes so I will check with these.

[ 88%] Linking CXX executable ../bin/Editor
../ThirdParty/imgui/libimgui.a(imgui_freetype.cpp.o): In function `ImGuiFreeType::BuildFontAtlas(ImFontAtlas*, unsigned int)':
imgui_freetype.cpp:(.text+0x67b): undefined reference to `FT_Get_Glyph'
imgui_freetype.cpp:(.text+0x9c1): undefined reference to `FT_Glyph_To_Bitmap'
imgui_freetype.cpp:(.text+0xb87): undefined reference to `FT_Done_Glyph'
imgui_freetype.cpp:(.text+0xfc7): undefined reference to `FT_GlyphSlot_Oblique'
imgui_freetype.cpp:(.text+0xfd4): undefined reference to `FT_GlyphSlot_Embolden'
collect2: error: ld returned 1 exit status

Well, it looks like for some reason the freetype lib is not picked up. Ideas?

Try using engine as SDK without installing it. That is how i am using it. Just set URHO3D_HOME to cmake build dir of engine.

Always did it like this, like since forever.

Weird. Now that i think of it - not sure why on earth it builds for me with freetype… Anyhow do this:

  1. Remove imgui_freetype.cpp from here
  2. Comment out this
  3. Comment out this

I fixed it like here: https://stackoverflow.com/questions/23888274/linking-freetype-with-cmake

works now.

Thanks for help! (20 characters)

I’m interested in this. As I have been working with ImGui