flexui icon indicating copy to clipboard operation
flexui copied to clipboard

I get this error while trying to run the example main.cpp in VS 2022 and/or executing the built .exe

Open Foxxey opened this issue 4 years ago • 3 comments

Active code page: 65001 Renderer: GeForce GTX 1660 Ti/PCIe/SSE2 OpenGL version supported 4.6.0 NVIDIA 457.49 [FATAL] --------------------- [FATAL] ASSERTION FAILED! [FATAL] File: C:\Users\anton\source\repos\flexui\src\flexui\Misc\String.cpp [FATAL] Line: 35 [FATAL] Function: flexui::StringSection::section [FATAL] Condition: (start <= end) [FATAL] Details: "-" [FATAL] ---------------------

C:\Users\anton\source\repos\flexui\out\build\x64-Debug\examples\glfw_gl3\glfw_gl3.exe (process 1536) exited with code -2147483645. Press any key to close this window . . .

Foxxey avatar Nov 28 '21 10:11 Foxxey

It seems that when the CSS parser encounters whitespace at the end it breaks. I removed the whitespace in the example.

Note that you may not see any output, the main branch is currently broken IIRC.

mlomb avatar Nov 28 '21 17:11 mlomb

do you have a working example you can provide?

Foxxey avatar Nov 28 '21 20:11 Foxxey

Try the last commit that passed CI:

dff1fd08fb0cfcdcdd7e513041fd93decee4a3ae

Web demo

mlomb avatar Nov 29 '21 05:11 mlomb