mikke89 / RmlUi

RmlUi - The HTML/CSS User Interface library evolved
https://mikke89.github.io/RmlUiDoc/
MIT License
2.77k stars 304 forks source link

Rml::SystemInterface::JoinPath parameter document_path passed in is empty #587

Closed huiseliming closed 1 month ago

huiseliming commented 8 months ago

vcpkg 2024.01.12 version C:\vcpkg\buildtrees\rmlui\src\5.1-9a7b3155e2.clean\Source\Core\Elements\ElementImage.cpp:279 1706452053672

mikke89 commented 8 months ago

Can you give more context? I don't know what the trouble is here. Please describe in steps how to reproduce the issue, and what you expect.

huiseliming commented 8 months ago

300269863-7a2b0d45-e8d3-44e2-8c82-eadd0753fe1d The path of source_url in the above picture is empty, and it is passed into JoinPath as document_path.

The value passed in should be “D:\BoxedEngine\Content\RmlUI\”

huiseliming commented 8 months ago

callstack 5F9FD3B6-2BD1-450c-BD07-6BA29639DDD4

mikke89 commented 8 months ago

How are you loading the document? Could you try with using forward slashes instead of backward slashes?

mikke89 commented 1 month ago

I suspect this could be related to/duplicate of #462, #603. Regardless, I am closing this issue due to inactivity.