언리얼 엔진 뷰 클라이언트 실행 - AWS SimSpace Weaver

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

언리얼 엔진 뷰 클라이언트 실행

다음으로 이동:

sdk-folder/Samples/PathfindingSample/tools/cloud
  1. 다음 명령 중 하나를 실행합니다.

    • 도커: python quick-start.py

    • WSL: python quick-start.py --al2

  2. IP 주소와 “실제” 포트 번호를 확인하세요. 이러한 정보는 quick-start.py 실행 시 콘솔 출력에 나타나거나 의 절차에 따라 가져올 수 맞춤형 App의 IP 주소 및 포트 번호 가져오기 있습니다.

  3. 다음으로 이동하십시오.

    sdk-folder/Clients/TCP/UnrealClient/lib
  4. 다음 명령을 실행하여 NNG 라이브러리를 빌드합니다.

    cmake -S . -B build cmake --build build --config RelWithDebInfo cmake --install build
  5. 텍스트 편집기에서 view_app_url.txt를 엽니다.

  6. URL을 뷰 앱의 IP 주소 및 포트 번호로 업데이트합니다. tcp://ip-address:actual-port-number(tcp://198.51.100.135:1234와 같아야 함).

  7. 언리얼 에디터에서 play를 선택합니다.

문제 해결

  • NG CMake 설치 단계가 실패하고 “관리자 권한이 필요할 수 있습니다.”

    CMake Error at build/_deps/nng-build/src/cmake_install.cmake:39 (file): file cannot create directory: C:/Program Files (x86)/ThirdPartyNngBuild/lib. Maybe need administrative privileges. Call Stack (most recent call first): build/_deps/nng-build/cmake_install.cmake:37 (include) build/cmake_install.cmake:73 (include)
    • 해결 방법: UnrealClient /lib 디렉터리에 nng.lib 있거나 nng.so 이 디렉터리가 있는 경우 이 오류는 무시해도 됩니다. 그렇지 않은 경우 관리자 권한이 있는 터미널에서 cmake build 명령어를 실행해 보세요.

  • “CMake를 사용하여 nng에서 제공하는 패키지 구성 파일을 찾으세요.”

    CMake Error at CMakeLists.txt:23 (find_package): By not providing "Findnng.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "nng", but CMake did not find one.
    • 해결 방법: CMake에서 파일을 찾는 데 문제가 있습니다. Findnng.cmake CMake로 빌드할 때는 인수를 추가하세요. -DTHIRD_PARTY_LIB_PATH sdk-folder/ThirdParty CMake 빌드를 다시 실행하기 전에 Findnng.cmake 파일이 여전히 ThirdParty 디렉터리에 있는지 확인하세요.

      cmake -S . -B build -DTHIRD_PARTY_LIB_PATH sdk-folder/ThirdParty cmake --build build --config RelWithDebInfo cmake --install build