Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UE5.4.2编译失败临时解决方案 #710

Open
halfambition opened this issue Jun 19, 2024 · 0 comments
Open

UE5.4.2编译失败临时解决方案 #710

halfambition opened this issue Jun 19, 2024 · 0 comments

Comments

@halfambition
Copy link

错误提示1:Error CS0117 : 'WindowsCompiler' does not contain a definition for 'VisualStudio2019'
解决方案1:修改Plugins\UnLua\Source\ThirdParty\Lua\Lua.Build.cs文件中的
if (Target.Platform.IsInGroup(UnrealPlatformGroup.Windows))
{
...
}
注释掉没有安装的VS版本判断语句就可以。
image

错误提示2:UnLuaTemplate.h(95): Error C2653 : “TChooseClass”: 不是类或命名空间名称
UnLuaLegacy.h(856): Error C2065 : “TChooseClass”: 未声明的标识
解决方案2:在Plugins\UnLua\Source\UnLua\Public\UnLuaTemplate.h文件里引入Templates/ChooseClass.h头文件即可。
Uploading image.png…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant