Могу ли я использовать UnrealEngine с C ++ на Ma c без Xcode - PullRequest
0 голосов
/ 30 мая 2020

Я новичок в Unreal Engine, а также в разработке игр. Я использую ma c (поскольку этот ноутбук не используется в личных целях, у меня есть ограничение на использование любого приложения в AppStore), и я не могу установить Xcode.

Я заинтересован в создании Unreal, но всякий раз, когда я открываю .uproject, я получаю эту ошибку, которая говорит:

SomeGame could not be compiled. Try rebuilding from source manually.

Я также пробовал создать новый проект внутри Unreal с C ++ и получил это сообщение об ошибке

An error occurred while trying to generate project files.
Running Mono...

Found mono via known Mono.framework path
Running installed mono, version:  Mono JIT compiler version 6.8.0.123 (2019-10/1d0d939dc30 Thu Mar 12 23:19:08 EDT 2020)
/Users/Shared/Epic Games/UE_4.22/Engine /Users/Shared/Epic Games/UE_4.22/Engine/Binaries/Mac
Discovering modules, targets and source code for project...
Triggered an exception while looking for SDK directory in Xcode.app
System.IO.DirectoryNotFoundException: Could not find a part of the path '/Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs'.
  at System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x00032] in <f9d1b832704f410aa8ec771f4fe80552>:0 
  at System.IO.Enumeration.FileSystemEnumerator`1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00048] in <f9d1b832704f410aa8ec771f4fe80552>:0 
  at System.IO.Enumeration.FileSystemEnumerable`1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable`1[TResult] enumerable) [0x00000] in <f9d1b832704f410aa8ec771f4fe80552>:0 
  at System.IO.Enumeration.FileSystemEnumerable`1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00042] in <f9d1b832704f410aa8ec771f4fe80552>:0 
  at System.IO.Enumeration.FileSystemEnumerableFactory.UserDirectories (System.String directory, System.String expression, System.IO.EnumerationOptions options) [0x00014] in <f9d1b832704f410aa8ec771f4fe80552>:0 
  at System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) [0x00045] in <f9d1b832704f410aa8ec771f4fe80552>:0 
  at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00000] in <f9d1b832704f410aa8ec771f4fe80552>:0 
  at System.IO.Directory.GetDirectories (System.String path) [0x0000b] in <f9d1b832704f410aa8ec771f4fe80552>:0 
  at UnrealBuildTool.AppleToolChainSettings.SelectSDK (System.String BaseSDKDir, System.String OSPrefix, System.String& PlatformSDKVersion, System.Boolean bVerbose) [0x00018] in <82101b97204c4edeb4347f6c33d7ef62>:0
ERROR: Invalid SDK MacOSX.sdk, not found in /Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs

Я уже установил CLion, а также Visual Code с запущенным g ++ / g cc на моем терминале. Еще устанавливаю Mono https://www.mono-project.com/. Я также пробовал установить инструменты командной строки из https://developer.apple.com/download/more/

У меня ничего не работает, теперь я начинаю сомневаться, что я могу заниматься разработкой Unreal без Xcode, это правда? А если нет, может кто-нибудь мне поможет, как это сделать?

Спасибо.

...