{"id":106,"date":"2020-07-25T22:33:04","date_gmt":"2020-07-25T13:33:04","guid":{"rendered":"http:\/\/34.127.79.68\/wordpress\/?p=106"},"modified":"2020-08-02T10:39:24","modified_gmt":"2020-08-02T01:39:24","slug":"windows%e7%89%88carla-0-9-9%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/takenokonosato.myvnc.com\/wordpress\/2020\/07\/25\/windows%e7%89%88carla-0-9-9%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab\/","title":{"rendered":"Windows\u7248CARLA 0.9.9\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>Windows10\u306e\u30ce\u30fc\u30c8PC\u3092\u8cfc\u5165\u3057\u305f\u306e\u3067\u3001CARLA\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3092\u307e\u3068\u3081\u3066\u304a\u304f\u3053\u3068\u306b\u3002<br \/>\nPC\u306e\u30b9\u30da\u30c3\u30af\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u9805\u76ee<\/th>\n<th>\u30b9\u30da\u30c3\u30af<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>CPU<\/td>\n<td>Core i5-9300H@2.4GHz<\/td>\n<\/tr>\n<tr>\n<td>GPU<\/td>\n<td>GeForce GTX 1650(laptop\/4GB)<\/td>\n<\/tr>\n<tr>\n<td>MEM<\/td>\n<td>8GB<\/td>\n<\/tr>\n<tr>\n<td>SSD<\/td>\n<td>512GB<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Unreal Engine 4\u306e\u5fc5\u8981\u30b9\u30da\u30c3\u30af\u306b\u306f4\u30b3\u30a22.5GHz\u3068\u3042\u3063\u305f\u3051\u3069\u3001\u5c11\u3057\u8db3\u308a\u306a\u3044\u3002\u52d5\u304f\u306e\u304b\uff1f\uff1f<\/p>\n<p>\u57fa\u672c\u7684\u306b\u306f\u3001\u4ee5\u4e0b\u306eCARLA\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306b\u5f93\u3044\u306a\u304c\u3089\u3001\u6ce8\u610f\u3059\u308b\u30dd\u30a4\u30f3\u30c8\u3060\u3051\u88dc\u8db3\u3057\u307e\u3059\u3002<br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/carla.readthedocs.io\/en\/latest\/build_windows\/\" title=\"https:\/\/carla.readthedocs.io\/en\/latest\/build_windows\/\">https:\/\/carla.readthedocs.io\/en\/latest\/build_windows\/<\/a><\/p>\n<p>\u3053\u308c\u3089\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5165\u308b\u524d\u306b\u30014.2.\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3060\u3051\u958b\u59cb\u3057\u3066\u304a\u304f\u3068\u30b9\u30e0\u30fc\u30ba\u3002<\/p>\n<h1>1.Minor installations<\/h1>\n<h2>1.1. CMake<\/h2>\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3\uff1acmake-3.18.0-win64-x64.msi\uff082020\/7\/25\u73fe\u5728\u6700\u65b0\uff09<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u4ee5\u4e0b\u306e\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u304a\u3051\u3070\u3001\u74b0\u5883\u5909\u6570\u304c\u81ea\u52d5\u7684\u306b\u8a2d\u5b9a\u3055\u308c\u308b\u3002<br \/>\nAdd CMake to system PATH for the current user<\/p>\n<h2>1.2. Git\uff08Windows for Git\uff09<\/h2>\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3\uff1aGit-2.27.0-64-bit.exe<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u3092\u4f7f\u7528\u3002<\/p>\n<h2>1.3. Make<\/h2>\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3\uff1amake-3.81.exe<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u3001PATH\u306e\u74b0\u5883\u5909\u6570\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3092\u8ffd\u52a0\u3059\u308b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3060\u3068\u4ee5\u4e0b\u3002<br \/>\nC:\\Program Files (x86)\\GnuWin32\\bin<\/p>\n<h2>1.4. Python\uff083.8.5\uff09<\/h2>\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3\uff1aWindows x86-64 executable installer<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u4ee5\u4e0b\u306e\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u308b\u3002<br \/>\nAdd Python 3.8 to PATH<\/p>\n<h1>2.Visual Studio 2017<\/h1>\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3\uff1aVisual Studio Community 2017<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u3001\u4ee5\u4e0b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3002<br \/>\n&#8211; \u30ef\u30fc\u30af\u30ed\u30fc\u30c9->\u300cC++ \u306b\u3088\u308b\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u958b\u767a\u300d->\u53f3\u5074\u306e\u6982\u8981\u90e8\u5206\u300cWindows 8.1 SDK \u3068 UCRT SDK\u300d<br \/>\n&#8211; \u500b\u5225\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8->.NET Framework 4.7.2 SDK<\/p>\n<h1>3.Unreal Engine 4.24<\/h1>\n<p>\u307e\u305a\u3001Epic Games Launcher\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<br \/>\n\u305d\u306e\u5f8c\u3001Epic Games Launcher\u3092\u958b\u304d\u3001Unreal Engine\/\u30e9\u30a4\u30d6\u30e9\u30ea\/Engine\u30d0\u30fc\u30b8\u30e7\u30f3\/4.24.3\u3092\u9078\u629e\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<h1>4.CARLA build<\/h1>\n<h2>4.1. Clone repository<\/h2>\n<p>carla\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u305f\u3044\u5834\u6240\u3067\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3002<\/p>\n<pre><code class=\"language-bash \">git clone https:\/\/github.com\/carla-simulator\/carla\n<\/code><\/pre>\n<p>carla\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u3067\u3084\u3063\u3066\u3057\u307e\u3046\u3068\u3001carla\/carla\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002<\/p>\n<h2>4.2. Get assets<\/h2>\n<p>\u4ee5\u4e0b\u306e\u30ea\u30f3\u30af\u304b\u3089\u30a2\u30bb\u30c3\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001carla\\Unreal\\CarlaUE4\\Content\\Carla\u306b\u5c55\u958b\u3059\u308b\u3002<br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"http:\/\/carla-assets.s3.amazonaws.com\/20200723_6670f22.tar.gz\" title=\"http:\/\/carla-assets.s3.amazonaws.com\/20200723_6670f22.tar.gz\">http:\/\/carla-assets.s3.amazonaws.com\/20200723_6670f22.tar.gz<\/a><br \/>\n20200723_6670f22\u306e\u90e8\u5206\u306f\u3001carla\/Util\/ContentVersions.txt\u304b\u3089\u9078\u629e\u3002\uff082020\/7\/25\u73fe\u572820200723_6670f22\u304c\u6700\u65b0\u3002\uff09<br \/>\n10GB\u4ee5\u4e0a\u3042\u308b\u306e\u3067\u4e8b\u524d\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304a\u3044\u305f\u307b\u3046\u304c\u3044\u3044\u3002<\/p>\n<h2>4.3. Set the environment variable<\/h2>\n<p>UE4_ROOT\u306e\u74b0\u5883\u5909\u6570\u3092\u8a2d\u5b9a\u3059\u308b\u3002\u7279\u306b\u5909\u66f4\u3057\u3066\u3044\u306a\u3051\u308c\u3070\u4ee5\u4e0b\u3002<br \/>\nC:\\Program Files\\Epic Games\\UE_4.24<\/p>\n<h2>4.4. make CARLA<\/h2>\n<p>boost\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u5f85\u305f\u3055\u308c\u308b\u304c\u3001\u6c17\u9577\u306b\u5f85\u3064\u3002\uff08Enter\u3092\u62bc\u3057\u305f\u3089\u7a81\u7136\u9032\u307f\u59cb\u3081\u305f\u306e\u3067\u3001\u3082\u3057\u304b\u3057\u305f\u3089\u5b9a\u671f\u7684\u306bEnter\u3092\u62bc\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3002\uff09<\/p>\n<h1>5.\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/h1>\n<h2>5.1. make\u30b3\u30de\u30f3\u30c9\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3002<\/h2>\n<p>\u21921.3.\u306e\u624b\u9806\uff08\u74b0\u5883\u5909\u6570\u306bmake\u3092\u8ffd\u52a0\uff09\u3092\u884c\u3046\u3002<\/p>\n<h2>5.2. make launch\u3067\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002<\/h2>\n<pre><code class=\"language-bash \">$ make launch\n-[Setup]: [Batch params]: --boost-toolset msvc-14.1\n\u60c5\u5831: \u4e0e\u3048\u3089\u308c\u305f\u30d1\u30bf\u30fc\u30f3\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\n\n-[Setup]: [ERROR] Can't find Visual Studio compiler (cl.exe).\n          [ERROR] Possible causes:\n          [ERROR]  - Make sure you use x64 (not x64_x86!)\n          [ERROR]  - You are not using \"Visual Studio x64 Native Tools Command Prompt\".\n<\/code><\/pre>\n<p>\u2192\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u7570\u306a\u3063\u3066\u3044\u308b\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3002<br \/>\nWindows\u30ad\u30fc->x64->VS 2017 \u7528 x64 Native Tools \u30b3\u30de\u30f3\u30c9 \u30d7\u30ed\u30f3\u30d7\u30c8<\/p>\n<h2>5.3. make launch\u3067\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002<\/h2>\n<pre><code class=\"language-bash \">UnrealBuildTool: ERROR: Could not find NetFxSDK install dir; this will prevent SwarmInterface from installing.  Install a version of .NET Framework SDK at 4.6.0 or higher.\nmake: *** [CarlaUE4Editor] \u30a8\u30e9\u30fc 5\n<\/code><\/pre>\n<p>\u21922.\u3067\u3001.NET Framework SDK\u3092\u9078\u629e\u3057\u3066\u3044\u306a\u3044\u3002Visual Studio Installer\u3092\u958b\u304d\u3001\u300c\u5909\u66f4\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u3001\u8ffd\u52a0\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<h2>5.4. make launch\u3067\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002<\/h2>\n<pre><code class=\"language-bash \">-[BuildCarlaUE4]: Building Unreal Editor...\n\u6307\u5b9a\u3055\u308c\u305f\u30d1\u30b9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\nmake: *** [CarlaUE4Editor] \u30a8\u30e9\u30fc 1\n<\/code><\/pre>\n<p>\u2192.uproject\u30d5\u30a1\u30a4\u30eb\u306e\u95a2\u9023\u4ed8\u3051\u304c\u3067\u304d\u3066\u3044\u306a\u3044\u3002<br \/>\ncarla\\Unreal\\CarlaUE4\\CarlaUE4.uproject\u3092\u53f3\u30af\u30ea\u30c3\u30af\uff06\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u958b\u304f\u3001\u5e38\u306bUE4 Editor\u3067\u958b\u304f\u8a2d\u5b9a\u306b\u3059\u308b\u3002\u3082\u3057\u304f\u306f\u3001Epic Games Launcher\u3092\u958b\u304f\u3068\u3001\u95a2\u9023\u4ed8\u3051\u308b\u304b\u554f\u308f\u308c\u308b\u306e\u3067\u3001\u305d\u3053\u3067\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows10\u306e\u30ce\u30fc\u30c8PC\u3092\u8cfc\u5165\u3057\u305f<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[20,22,28,23,24,25,26,27],"class_list":["post-106","post","type-post","status-publish","format-standard","hentry","category-19","tag-carla","tag-openstreetmap","tag-self-driving","tag-simulation","tag-simulator","tag-25","tag-26","tag-27"],"_links":{"self":[{"href":"https:\/\/takenokonosato.myvnc.com\/wordpress\/wp-json\/wp\/v2\/posts\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/takenokonosato.myvnc.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/takenokonosato.myvnc.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/takenokonosato.myvnc.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/takenokonosato.myvnc.com\/wordpress\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":14,"href":"https:\/\/takenokonosato.myvnc.com\/wordpress\/wp-json\/wp\/v2\/posts\/106\/revisions"}],"predecessor-version":[{"id":120,"href":"https:\/\/takenokonosato.myvnc.com\/wordpress\/wp-json\/wp\/v2\/posts\/106\/revisions\/120"}],"wp:attachment":[{"href":"https:\/\/takenokonosato.myvnc.com\/wordpress\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/takenokonosato.myvnc.com\/wordpress\/wp-json\/wp\/v2\/categories?post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/takenokonosato.myvnc.com\/wordpress\/wp-json\/wp\/v2\/tags?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}