Comments (9)
Thank you! I switch to v141_xp toolchain and build the program successful. I checked my project, maybe when I test the program in XP, I forgot to move the .xml file at the same time, so the window do not show.
👍 I have tested the program, it just works fine! 👍
PS: If we want to support XP, we need to disable the touch support first in config.h (maybe XP do not support touch!) and then use v141_xp toolchain to build.
from lcui.
This is possible if VCPkg supports compilation of dependent libraries for Windows XP. Otherwise, you need to manually use the XP compilation toolchain to compile LCUI and its dependent libraries.
from lcui.
I tried to build LCUI using /MT option, but it failed. Link error 2001 @_BrotliDecoderDecompress (freetype).
from lcui.
You need to link to the Brotli library because FreeType depends on it.
from lcui.
Thank you! I have built the dll, but when I replace the dll in my project, the program run failed, it does not show in screen and needs to kill in the task manager. Have you met with this situation?
from lcui.
You didn't provide your build environment and build methods, so I couldn't give a solution.
Maybe you can run the program with debugging tools.
from lcui.
Sorry, I use VS2019 and MSVC V142 (both are the latest version) to build LCUI.dll etc and use lcpkg to install all dependcies.
The first time I built the program, the compiler can not include some header files. So I change those lines.
In platform.h, before
#if defined(WINAPI_PARTITION_APP)
#define LCUI_APP_H <LCUI/platform/windows/uwp.h>
#else
#define LCUI_EVENTS_H <LCUI/platform/windows/windows_events.h>
#define LCUI_MOUSE_H <LCUI/platform/windows/windows_mouse.h>
#define LCUI_KEYBOARD_H <LCUI/platform/windows/windows_keyboard.h>
#define LCUI_DISPLAY_H <LCUI/platform/windows/windows_display.h>
#endif
after
#define LCUI_EVENTS_H <LCUI/platform/windows/windows_events.h>
#define LCUI_MOUSE_H <LCUI/platform/windows/windows_mouse.h>
#define LCUI_KEYBOARD_H <LCUI/platform/windows/windows_keyboard.h>
#define LCUI_DISPLAY_H <LCUI/platform/windows/windows_display.h>
Then I built the program, but when I replace it in my project, it doesn't work.
from lcui.
I use VS2019 and MSVC V142 (both are the latest version) to build LCUI.dll etc
v142? Why not use v142_xp? You said you want to support windows XP, then you should use v142_xp.
In the solution configuration of LCUI, the platform toolset has selected v141_xp, you can switch to v142_xp, so you don't need to modify the platform.h file.
the program run failed, it does not show in screen and needs to kill in the task manager.
... Then I built the program, but when I replace it in my project, it doesn't work.
Are you using VS2019 to build your project? If so, please use vs2019 to debug it. The general steps are as follows:
- Add a breakpoint on the line of code below
LCUI_Init()
.
- Click "Local windows debugger".
- Check local variables.
- Click "Continue".
- If nothing is displayed, click “Break All”.
- Check Threads and Call stack.
from lcui.
It seems that the problem has been solved and this issue can be closed.
from lcui.
Related Issues (20)
- English API Documentation HOT 3
- Connecting Frontend to Backend HOT 2
- Modal Window Still Clickable HOT 3
- Text input not working for keys, which are symbol on Shift hold (such as $ or £) HOT 2
- TextEdit 删除文字BUG
- GPU Backend HOT 2
- 老哥,LCUI好像没办法创建多窗口? HOT 2
- 主页上的例子直接编译好多都编译不过去,老哥不改改嘛? HOT 1
- 默认的例子最大化后再最小化,控件都没了。 HOT 2
- Keyboard Input Doesn't Work (Windows x64) HOT 6
- 请问支持C++吗 HOT 1
- C++ 相关问题 HOT 2
- File Dialog? HOT 1
- textedit相关问题 HOT 4
- 静态库错误 HOT 6
- 希望可以添加对android的支持 HOT 1
- Failed to build on MSYS2 MINGW64 HOT 1
- Please add cmake based build script HOT 1
- Make documentation page open source, for translation HOT 1
- 请问哪里能下载比v0.12.4更早版本的源代码? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lcui.