Build and Run
Why do I encounter build errors even with an empty project on Windows?
Please ensure that:
- You have installed the latest version of
anyui
. Latest Release - The project path does not contain whitespace (
), backslashes (
\
), or non-ASCII characters; Chinese characters are a common example of such cases.
Why does it take a long time to build the project?
- Please ensure that you have installed the latest version of
anyui
. Latest Release - We offer three build modes:
Full
,Incremental
, andMini
. Please refer to Build Modes to choose the most suitable mode for your requirements.
Why are all the projects missing after upgrading to v0.37.0?
Starting from v0.37.0, we introduced a brand-new workspace management system for projects, and we no longer use a fixed directory for project storage. You need to manually "import" your existing projects into the new workspace. The paths of your old projects remain unchanged, but they must be added to the workspace explicitly.
As for the new created projects, they'll automatically be added to the workspace.
Why does the project build and run successfully on Windows but fail after upgrading to v0.37.0?
Since v0.37.0, we have implemented a new workspace management system and updated the build toolchain configuration, which includes some breaking changes.
- If you continue to install
anyui
on your system disk, your existing projects should work as before. - If you have changed the installation directory to a non-system disk, you will need to perform some manual steps to make your old projects work:
- Create a new project, then copy the
Makefile
from this new project to replace the one in your old project.
- Create a new project, then copy the
Warning
Please make sure to backup your project before performing these steps.