pascal754

Results 7 comments of pascal754

`__cplusplus` on MSVC is `199711L`. `/Zc:__cplusplus` is required to get a proper C++ version. (https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/) Alternatively, `config.hpp` can be modified as follows. ```cpp #ifdef _MSVC_LANG # define MP_CPLUSPLUS _MSVC_LANG #else...

If I add `imgui-SFML.cpp` to the project, the program runs without an error.

What I have observed is as follows. - Environment: MSVC (IDE) and vcpkg integration mode. I used this method when I posted the issue. I copied `imgui-SFML.cpp` from https://github.com/SFML/imgui-sfml/releases/tag/v3.0 and...

FYI, another vcpkg issue on Windows was resolved so you should update vcpkg first. https://github.com/microsoft/vcpkg/issues/44123 ``` imgui-sfml:x64-windows 3.0#1 ```

My observation is end user's perspective. vcpkg uses shared libs on Windows and static libs on Linux by default. https://github.com/microsoft/vcpkg/discussions/19127#discussioncomment-1049622 I tested with the example code (https://github.com/SFML/imgui-sfml/tree/master/examples) using the latest...

The code runs using shared libs on Linux. I followed instructions from this (https://github.com/microsoft/vcpkg/issues/24048#issuecomment-1094576859) and tested on Fedora. ``` imgui:x64-linux-dynamic 1.91.8#4 imgui-sfml:x64-linux-dynamic 3.0#1 sfml:x64-linux-dynamic 3.0.0 ``` ``` cmake -GNinja -DCMAKE_CXX_COMPILER=g++...

> Should be fixed with this PR now https://github.com/microsoft/vcpkg/pull/48012 `imgui-sfml` updated and the example works without a workaround. ``` imgui-sfml:x64-windows 3.0#1 -> 3.0#2 ```