{"id":5205,"date":"2023-10-27T03:20:10","date_gmt":"2023-10-26T18:20:10","guid":{"rendered":"https:\/\/k.foolslab.net\/dailyreport\/?p=5205"},"modified":"2023-10-27T03:29:26","modified_gmt":"2023-10-26T18:29:26","slug":"2023-10-26","status":"publish","type":"post","link":"https:\/\/k.foolslab.net\/dailyreport\/2023-10-26\/","title":{"rendered":"2023\/10\/26(\u6728)"},"content":{"rendered":"\n<p>\u6628\u65e5\u306b\u5f15\u304d\u7d9a\u304d\u4ee5\u524d\u4f5c\u3063\u305fPICO4\u5411\u3051\u306e\u30a2\u30d7\u30ea\u306b\u95a2\u3059\u308b\u4f5c\u696d\u3092\u3057\u305f\u3002\u3068\u308a\u3042\u3048\u305a\u524d\u4f5c\u3063\u305f\u3068\u304d\u3068\u540c\u3058\u30de\u30b7\u30f3\u3067\u30d3\u30eb\u30c9\u3057\u305f\u3089\u30d3\u30eb\u30c9\u304c\u901a\u3063\u305f\u306e\u3060\u304c\u3001\u5225\u306ePC\u3067\u30d3\u30eb\u30c9\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u901a\u3089\u306a\u3044\u3002\u3053\u308c\u306f\u56f0\u308b\u3002<\/p>\n\n\n\n<p>\u3059\u3054\u3044\u9811\u5f35\u3063\u305f\u7d50\u679c\u3001vcpkg\u3067\u30d3\u30eb\u30c9\u3055\u308c\u305fOpenAL\u304c\u8af8\u60aa\u306e\u6839\u6e90\u3063\u307d\u3044\u3053\u3068\u304c\u5206\u304b\u308b\u3002OpenAL\u3092\u30ea\u30f3\u30af\u3059\u308b\u3068\u6b7b\u306c\u3002\u30a8\u30e9\u30fc\u5185\u5bb9\u3068\u3057\u3066\u306f\u30ea\u30f3\u30ab\u30a8\u30e9\u30fc\u3067\u300c__register_atfork \u95a2\u6570\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u306a\u3044\u300d\u3068\u306e\u3053\u3068\u3002<\/p>\n\n\n\n<p>\u30a8\u30e9\u30fc\u6587\u3067\u8abf\u3079\u3066\u307f\u308b\u3068\u300c__register_atfork\u95a2\u6570\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u306a\u3044\u3068\u3044\u3046\u4e0d\u5177\u5408\u306fandroid23\u3067\u4fee\u6b63\u3055\u308c\u305f\u300d\u3068\u306e\u3053\u3068\u3002\u30d0\u30fc\u30b8\u30e7\u30f3\u554f\u984c\u306a\u306e\u304b\u3068\u601d\u3063\u305f\u304c\u3001API\u30d0\u30fc\u30b8\u30e7\u30f3\u3082NDK\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u5341\u5206\u9ad8\u304f\u3001\u7d50\u5c40\u3053\u308c\u306f\u5168\u304f\u7121\u95a2\u4fc2\u306e\u60c5\u5831\u3060\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u6b21\u306b\u5b9f\u9a13\u3068\u3057\u3066\u3001OpenAL\u3092\u30ea\u30f3\u30af\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306b__register_atfork\u95a2\u6570\u304c\u53c2\u7167\u3067\u304d\u308b\u304b\u3092\u78ba\u304b\u3081\u308b\u3002\u3053\u308c\u306f\u306a\u3093\u3068\u666e\u901a\u306b\u53ef\u80fd\u3060\u3063\u305f\u3002\u305d\u3057\u3066\u30ea\u30f3\u30af\u3057\u305f\u3068\u305f\u3093\u306b\u30c0\u30e1\u306b\u306a\u308b\u3002\u3068\u3044\u3046\u3053\u3068\u306fOpenAL\u3092\u30ea\u30f3\u30af\u3059\u308b\u3068\u3053\u308d\u3067\u4f55\u304b\u8e93\u3044\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3002\u6211\u3005\u306f\u771f\u76f8\u3092\u78ba\u304b\u3081\u306bvcpkg\u306einstalled\u30d5\u30a9\u30eb\u30c0\u3078\u5411\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<p>OpenALTargets.cmake\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u78ba\u304b\u3081\u3066\u307f\u308b\u3068\u3044\u304f\u3064\u304b\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30ea\u30f3\u30af\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u7b87\u6240\u3092\u767a\u898b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>INTERFACE_LINK_LIBRARIES \"\\$&lt;LINK_ONLY:-pthread&gt;;C:\/Users\/user1\/AppData\/Local\/Android\/Sdk\/ndk\/26.1.10909125\/toolchains\/llvm\/prebuilt\/windows-x86_64\/sysroot\/usr\/lib\/aarch64-linux-android\/21\/libOpenSLES.so;\\$&lt;LINK_ONLY:dl&gt;;\\$&lt;LINK_ONLY:log&gt;;\\$&lt;LINK_ONLY:atomic&gt;;\\$&lt;LINK_ONLY:m&gt;\"<\/code><\/pre>\n\n\n\n<p>1\u3064\u305a\u3064\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3066\u5b9f\u9a13\u3057\u305f\u3068\u3053\u308d\u3001\u3069\u3046\u3084\u3089OpenSLES\u306e\u30ea\u30f3\u30af\u3092\u30c8\u30ea\u30ac\u30fc\u306b\u3057\u3066\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u308b\u3002\u3053\u3053\u3067\u3061\u3087\u3063\u3068\u9055\u548c\u611f\u3092\u611f\u3058\u305f\u306e\u3060\u304c\u3001OpenSLES\u306fAndroidNDK\u958b\u767a\u306a\u3089\u666e\u901a\u306b-lOpenSLES\u306e\u3088\u3046\u306b\u6307\u5b9a\u3059\u308c\u3070\u30ea\u30f3\u30af\u3055\u308c\u308b\u306f\u305a\u3067\u3042\u308b\u3002\u7d76\u5bfe\u30d1\u30b9\u3067\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u306e\u306f\u4f55\u304b\u304a\u304b\u3057\u3044\u3002\u305d\u3053\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u76f4\u3057\u305f\u3068\u3053\u308d\u3001\u306a\u3093\u3068\u30d3\u30eb\u30c9\u304c\u901a\u3063\u3066\u3057\u307e\u3063\u305f\u3002<\/p>\n\n\n\n<p><code>INTERFACE_LINK_LIBRARIES \"\\$&lt;LINK_ONLY:-pthread&gt;;\\$&lt;LINK_ONLY:OpenSLES&gt;;\\$&lt;LINK_ONLY:dl&gt;;\\$&lt;LINK_ONLY:log&gt;;\\$&lt;LINK_ONLY:atomic&gt;;\\$&lt;LINK_ONLY:m&gt;\"<\/code><\/p>\n\n\n\n<p>OpenSLES\u3092\u7d76\u5bfe\u30d1\u30b9\u6307\u5b9a\u3057\u305f\u3068\u304d\u306b`__register_atfork`\u95a2\u6570\u304c\u98db\u3076\u6a5f\u5e8f\u306f\u5168\u304f\u4e0d\u660e\u3060\u304c\u3001\u3068\u306b\u304b\u304f\u3053\u308c\u3067\u89e3\u6c7a\u3057\u305f\u3002vcpkg\u304b\u3089OpenAL\u3092\u4f7f\u3046\u3068\u8272\u3005\u5384\u707d\u304c\u8d77\u3053\u308a\u3059\u304e\u308b\u6c17\u304c\u3059\u308b\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u306a\u304a\u3001\u526f\u7523\u7269\u3068\u3044\u3046\u304b\u56de\u308a\u9053\u306e\u7d50\u679c\u3060\u304c\u3001PICO4\u4e0a\u306e\u30a2\u30d7\u30ea\u306fNativeActivity\u3067\u306f\u306a\u304fGameActivity\u3067\u3082\u554f\u984c\u306a\u304f\u52d5\u304f\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u305f\u3002VRaster\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3055\u305b\u308b\u969b\u306fGameActivity\u306b\u5bfe\u5fdc\u3055\u305b\u3066\u304a\u304d\u305f\u3044\u3002<\/p>\n\n\n\n<p>\u57fa\u672c\u7684\u306a\u624b\u9806\u306f\u3053\u306e\u8a18\u4e8b\u306b\u5f93\u3063\u305f\u306e\u3060\u304c\u3001\u3044\u304f\u3064\u304b\u3053\u308c\u3060\u3051\u3067\u306f\u6e08\u307e\u306a\u3044\u70b9\u304c\u3042\u3063\u305f\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/developer.android.com\/games\/agdk\/game-activity\/migrate-native-activity?hl=ja\">https:\/\/developer.android.com\/games\/agdk\/game-activity\/migrate-native-activity?hl=ja<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>build.gradle\u306eandroid\u30d6\u30ed\u30c3\u30af\u306e\u4e2d\u306b\u4ee5\u4e0b\u306e\u8a18\u8ff0\u3092\u5165\u308c\u305f\u3002<br><code>  compileOptions <strong>{<\/strong><br>    sourceCompatibility JavaVersion.VERSION_1_8<br>    targetCompatibility JavaVersion.VERSION_1_8<br>  <strong>}<\/strong><\/code><\/li>\n\n\n\n<li>\u540c\u30d5\u30a1\u30a4\u30eb\u306edependencies\u306e\u4e2d\u306b\u4ee5\u4e0b\u306e\u8a18\u8ff0\u3092\u5165\u308c\u305f\u3002<br><code>implementation 'androidx.appcompat:appcompat:1.6.1'<\/code><\/li>\n\n\n\n<li>ANativeActivity_xxx\u7cfb\u306e\u95a2\u6570\u3092GameActivity_setWindowFlags_xxx\u7cfb\u95a2\u6570\u306b\u5909\u3048\u305f\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6628\u65e5\u306b\u5f15\u304d\u7d9a\u304d\u4ee5\u524d\u4f5c\u3063\u305fPICO4\u5411\u3051\u306e\u30a2\u30d7\u30ea\u306b\u95a2\u3059\u308b\u4f5c\u696d\u3092\u3057\u305f\u3002\u3068\u308a\u3042\u3048\u305a\u524d\u4f5c\u3063\u305f\u3068\u304d\u3068\u540c\u3058\u30de\u30b7\u30f3\u3067\u30d3\u30eb\u30c9\u3057\u305f\u3089\u30d3\u30eb\u30c9\u304c\u901a\u3063\u305f\u306e\u3060\u304c\u3001\u5225\u306ePC\u3067\u30d3\u30eb\u30c9\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u901a\u3089\u306a\u3044\u3002\u3053\u308c\u306f\u56f0\u308b\u3002 \u3059\u3054\u3044\u9811\u5f35\u3063\u305f\u7d50\u679c\u3001vcpkg &hellip; <\/p>\n<div><a href=\"https:\/\/k.foolslab.net\/dailyreport\/2023-10-26\/\" class=\"more\">Read more &raquo;<span class=\"screen-reader-text\"> &#8220;2023\/10\/26(\u6728)&#8221;<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5205","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/5205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/comments?post=5205"}],"version-history":[{"count":3,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/5205\/revisions"}],"predecessor-version":[{"id":5210,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/5205\/revisions\/5210"}],"wp:attachment":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/media?parent=5205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/categories?post=5205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/tags?post=5205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}