KBEngine官方论坛

 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 配置 开服
查看: 750|回复: 6

kbengine_ue4_demo doesn't compile on macOS! Fix this pls!

[复制链接]

11

主题

96

帖子

813

积分

高级会员

Rank: 4

积分
813
发表于 2017-4-1 03:41:01 | 显示全部楼层 |阅读模式
Setting up Mono
Building kbengine_ue4_demoEditor ...
2017-03-31 18: 20: 20.820 defaults [27018: 1808602]
The domain / default pair of (com.apple.dt.Xcode, IDEBuildOperationMaxNumberOfCo ncurrentCompileTasks) does not exist
Running command: Engine / Redaries / DotNET / UnrealBuildTool.exe kbengine_ue4_demoEditor Mac Development / Users / oleg / Documents / Unreal Projects / kbengine_ue4_demo 4.14 / kbengine_ue4_demo. Uproject
Compiling game modules for hot reload
Compiling with MacOSX SDK 10.12
Performing 20 actions (4 in parallel)
[2/20] Compile GameModeWorld.cpp
[3/20] Compile GameEntity.cpp
[1/20] Compile Module.KBEnginePlugins.cpp
[4/20] Compile Avatar.Cpp
In file included from / Users / oleg / Documents / Unreal Projects / kbengine_ue4_demo 4.14 / Source / kbengine_ue4_demo / kbe_scripts / Avatar.cpp: 2:
../../../../../oleg/Documents/ Unreal Projects / kbengine_ue4_demo 4.14 / Plugins / KBEnginePlugins / Source / KBEnginePlugins / Public / Entity.h: 342: 60: error: ambiguous conversion for C Style cast from 'KBVar' to 'FString'
        Void setPropertyValue_ (FString * out, KBVar * val ) {* Out = (FString) (* val);}
                                                                  ^ ~~~~~~~~~~~~~~
/ Users / Shared / Epic Games / UE_4.14 / Engine / Source / Runtime / Core / Public / Containers / UnrealString.h: 63: 2: note: candidate constructor
        FString (FString &&) = default;
        ^
/ Users / Shared / Epic Games / UE_4.14 / Engine / Source / Runtime / Core / Public / Containers / UnrealString.h: 64: 2: note: candidate constructor
        FString (const FString &) = default;
        ^
/ Users / Shared / Epic Games / UE_4.14 / Engine / Source / Runtime / Core / Public / Containers / UnrealString.h: 156: 14: note: candidate constructor
        FORCEINLINE FString (const NSString * In)

In file included from / Users / oleg / Documents / Unreal Projects / kbengine_ue4_demo 4.14 / Source / kbengine_ue4_demo / ue4_scripts / GameEntity.cpp: 7:
../../../../../oleg/Documents/ Unreal Projects / kbengine_ue4_demo 4.14 / Plugins / KBEnginePlugins / Source / KBEnginePlugins / Public / Entity.h: 342: 60: error:Ambiguous conversion for C-style cast from 'KBVar' to 'FString'
        Void setPropertyValue_ (FString * out, KBVar * val) {* out = (FString) (* val);}
                                                                  ^ ~~~~~~~~~~
MultiplyString.h: 63: 2: note: candidate constructor
        FString (FString &&) = default;
        ^
/ username / shared / Epic Games / UE_4.14 / Engine / Source / Runtime / 64: 2: note: candidate constructor
        FString (const FString &) = default;
        ^
/ Users / Shared / Epic Games / UE_4.14 / Engine / Source / Runtime / Core / Public / Containers / UnrealString.h: Epic Games / UE_4.14 / Engine / Source / Runtime / Core / Public / Containers / UnrealString.h: 156: 14: note: candidate constructor
        FORCEINLINE FString (const NSString * In)
                    ^



A lot of
Limit restrictions.
For full output log look at: Http://kbengine.org/forum/

                     ^
1 error generated.
1 error generated.
ERROR: UBT ERROR: Failed to produce item: / Users / oleg / Documents / Unreal Projects / kbengine_ue4_demo 4.14 / Plugins / KBEnginePlugins / Binaries / Mac / UE4Editor- KBEnginePlugins-9146.dylib Total build time: 23,67 secondsCandidate cutor due to message length restrictions. For full output log look at: Http://kbengine.org/forum/ ^ 1 error generated .1 error generated. ERROR: UBT ERROR: Failed to produce item: / Users / oleg / Documents / Unreal Projects / kbengine_ue4_demo 4.14 / Plugins / KBEnginePlugins / Binaries / Mac / UE4Editor- KBEnginePlugins-9146.dylib Total build time: 23,67 SecondsCandidate cutor due to message length restrictions. For full output log look at: Http://kbengine.org/forum/ ^ 1 error generated .1 error generated. ERROR: UBT ERROR: Failed to produce item: / Users / oleg / Documents / Unreal Projects / kbengine_ue4_demo 4.14 / Plugins / KBEnginePlugins / Binaries / Mac / UE4Editor- KBEnginePlugins-9146.dylib Total build time: 23,67 SecondsOrg / forum / ^ 1 error generated. 1 error generated. ERROR: UBT ERROR: Failed to produce item: / Users / oleg / Documents / Unreal Projects / kbengine_ue4_demo 4.14 / Plugins / KBEnginePlugins / Binaries / Mac / UE4Editor- KBEnginePlugins-9146. Dylib Total build time: 23,67 secondsOrg / forum / ^ 1 error generated. 1 error generated. ERROR: UBT ERROR: Failed to produce item: / Users / oleg / Documents / Unreal Projects / kbengine_ue4_demo 4.14 / Plugins / KBEnginePlugins / Binaries / Mac / UE4Editor- KBEnginePlugins-9146. Dylib
Total build time: 23,67 seconds

回复

使用道具 举报

11

主题

96

帖子

813

积分

高级会员

Rank: 4

积分
813
 楼主| 发表于 2017-4-3 18:58:40 | 显示全部楼层
Everything is OK now!
Thanks!
Is there any chance for API documentation in English ?
回复

使用道具 举报

30

主题

7138

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
16457
QQ
发表于 2017-4-1 11:58:42 | 显示全部楼层
Hi,

Try changing:
void setPropertyValue_(FString* out, KBVar* val) { *out = (FString)(*val); }

To:
void setPropertyValue_(FString* out, KBVar* val) { *out = val->GetValue<FString>(); }
热爱游戏、热爱开源!
柯标
3603661@qq.com

柯标
3603661@qq.com
回复

使用道具 举报

30

主题

7138

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
16457
QQ
发表于 2017-4-1 12:01:46 | 显示全部楼层
Update plugins!
热爱游戏、热爱开源!
柯标
3603661@qq.com

柯标
3603661@qq.com
回复

使用道具 举报

30

主题

7138

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
16457
QQ
发表于 2017-4-3 19:37:12 | 显示全部楼层
DarkWere 发表于 2017-4-3 18:58
Everything is OK now!
Thanks!
Is there any chance for API documentation in English ?

The current English document is not perfect, the future will gradually improve.:)
热爱游戏、热爱开源!
柯标
3603661@qq.com

柯标
3603661@qq.com
回复

使用道具 举报

11

主题

96

帖子

813

积分

高级会员

Rank: 4

积分
813
 楼主| 发表于 2017-4-3 20:35:55 | 显示全部楼层
Thanks for the answer!
Where can I find this document, even it is not perfect, it will gratefully help with work?
回复

使用道具 举报

30

主题

7138

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
16457
QQ
发表于 2017-4-3 21:02:24 | 显示全部楼层
热爱游戏、热爱开源!
柯标
3603661@qq.com

柯标
3603661@qq.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|KBEngine Forum

GMT+8, 2018-12-11 16:46 , Processed in 0.032398 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表