{"id":11892,"date":"2024-09-09T23:59:47","date_gmt":"2024-09-09T14:59:47","guid":{"rendered":"https:\/\/www.webcyou.com\/?p=11892"},"modified":"2024-09-10T00:03:18","modified_gmt":"2024-09-09T15:03:18","slug":"mac-vscode%e3%81%a7%e3%80%81sfml-c%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83%e3%82%92%e4%bd%9c%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.webcyou.com\/?p=11892","title":{"rendered":"Mac VSCode\u3067\u3001SFML C++\u958b\u767a\u74b0\u5883\u3092\u4f5c\u308b\u3002"},"content":{"rendered":"\n<p>\u3069\u3082\u3067\u3059\u3002<\/p>\n<p>Mac VSCode\u3067\u3001SFML C++\u958b\u767a\u74b0\u5883\u306f\u4ee5\u524d\u3001\u4f5c\u6210\u3057\u305f\u3064\u3082\u308a\u3067\u3044\u307e\u3057\u305f\u304c\u3001\u3069\u3046\u3084\u3089Windows\u3067\u958b\u767a\u3057\u3066\u3044\u305f\u307f\u305f\u3044\u3067\u958b\u767a\u74b0\u5883\u3092\u4f5c\u3063\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u57fa\u672c\u7684\u3001C++\u3082VSCode\u3067\u958b\u767a\u3057\u305f\u6d3e\u306a\u306e\u3067\u3001\u624b\u9803\u306e\u3084\u3064\u306f\u306a\u3044\u304b\u3092\u8abf\u3079\u3066\u3044\u307e\u3057\u305f\u3089\u3042\u308a\u307e\u3057\u305f\uff01<\/p>\n<p>\u3053\u3061\u3089\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u3002<\/p>\n<p>SFML\u30b2\u30fc\u30e0\u958b\u767a\u958b\u59cb\u3059\u308b\u306b\u306f\u3082\u3063\u3066\u3053\u3044\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p class=\"heading-element\" dir=\"auto\" tabindex=\"-1\"><strong>SFML C++ MacOS Example<\/strong><\/p>\n<p><a href=\"https:\/\/github.com\/Beatzoid\/sfml-macos\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/Beatzoid\/sfml-macos<\/a><\/p>\n<p>\u00a0<\/p>\n<p>\u3053\u3061\u3089\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b<a class=\"Link--primary\" title=\"README.md\" href=\"https:\/\/github.com\/Beatzoid\/sfml-macos\/blob\/master\/README.md\" aria-label=\"README.md, (File)\">README.md<\/a>\u3092\u53c2\u8003\u306b\u305d\u306e\u307e\u307e\u5b9f\u884c\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001\u30ec\u30dd\u30b8\u30c8\u30ea\u81ea\u4f53\u3092Clone\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">git clone https:\/\/github.com\/beatzoid\/sfml-macos<\/pre>\n<p>\u00a0<\/p>\n<p>\u305d\u306e\u3042\u3068\u3001brew\u3067SFML\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">brew install sfml<\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u3057\u305f\u3089\u4ee5\u4e0b\u306ebrew info\u3092\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">brew info sfml<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-11893\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2024\/09\/sfml1.png\" alt=\"\" width=\"516\" height=\"72\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2024\/09\/sfml1.png 760w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2024\/09\/sfml1-300x42.png 300w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u7dd1\u30c1\u30a7\u30c3\u30af\u306b\u306a\u3063\u3066\u3044\u308c\u3070\u5927\u4e08\u592b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u5f53\u521d\u3001\u4f55\u500b\u304b\u8d64\u30d0\u30c4\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u306e\u3067\u3001brew\u3067install\u3057\u306a\u304a\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u306e\u65b9\u306b\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u306e\u30d1\u30b9\u3082\u8868\u793a\u3057\u307e\u3059\u306e\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30012.6.1\u3067\u3057\u305f\u3002<\/p>\n<p>\/opt\/homebrew\/Cellar\/sfml\/2.6.1<\/p>\n<p>\u3053\u3061\u3089\u3092\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306eincludePath\u306e\u3068\u3053\u308d\u3092\u5148\u7a0b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n<p>.vscode\/c_cpp_properties.json<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">\"includePath\": [\n    \"${workspaceFolder}\/**\",\n    \"\/opt\/homebrew\/Cellar\/sfml\/2.6.1\/include\"\n],<\/pre>\n<p>\u00a0<\/p>\n<p>\u7d9a\u3044\u3066\u3001\u300cCmd+Shift+B\u300d\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3067\u3001\u30d3\u30eb\u30c9\u30bf\u30b9\u30af\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u81ea\u5206\u306f\u3001\u3053\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u304c\u3067\u304d\u306a\u304b\u3063\u305f\u306e\u3067\u3001<\/p>\n<p><strong>\u30e1\u30cb\u30e5\u30fc\uff1e\u30bf\u30fc\u30df\u30ca\u30eb\uff1e\u30bf\u30b9\u30af\u306e\u69cb\u6210<\/strong><\/p>\n<p>\u3067\u8868\u793a\u3057\u3001\u300cBuild\u300d\u3092\u9078\u629e\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-11894\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2024\/09\/sfml2-1024x123.png\" alt=\"\" width=\"1024\" height=\"123\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2024\/09\/sfml2-1024x123.png 1024w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2024\/09\/sfml2-300x36.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2024\/09\/sfml2-768x92.png 768w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2024\/09\/sfml2.png 1250w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p><strong><code>Cmd + Shift + P<\/code><\/strong>\u00a0\u3067\u30b3\u30de\u30f3\u30c9\u30d1\u30ec\u30c3\u30c8\u3092\u958b\u304d\u3001<strong><code>Tasks: Configure Default Build Task<\/code><\/strong> \u3092\u9078\u629e\u3067\u958b\u3044\u3066\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001FN+F5\u3067\u3001\u5b9f\u884c\u3059\u308b\u3068\u3001\u5186\u306e\u63cf\u304b\u308c\u305f\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u7acb\u3061\u4e0a\u304c\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-11895\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2024\/09\/sfml3-1024x844.png\" alt=\"\" width=\"544\" height=\"448\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2024\/09\/sfml3-1024x844.png 1024w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2024\/09\/sfml3-300x247.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2024\/09\/sfml3-768x633.png 768w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2024\/09\/sfml3.png 1504w\" sizes=\"auto, (max-width: 544px) 100vw, 544px\" \/><\/p>\n<p>\u9589\u3058\u308b\u3068\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u306b5\u306e\u6587\u5b57\u304c\u3002<\/p>\n<p>\u3053\u308c\u3067\u3001SFML C++\u958b\u767a\u74b0\u5883\u5b8c\u6210\u3002<\/p>\n<p>\u30d0\u30ea\u30d0\u30ea\u958b\u767a\u3067\u304d\u307e\u3059\u306d\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u3041\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3082\u3067\u3059\u3002 Mac VSCode\u3067\u3001SFML C++\u958b\u767a\u74b0\u5883\u306f\u4ee5\u524d\u3001\u4f5c\u6210\u3057\u305f\u3064\u3082\u308a\u3067\u3044\u307e\u3057\u305f\u304c\u3001\u3069\u3046\u3084\u3089Windows\u3067\u958b\u767a\u3057\u3066\u3044\u305f\u307f\u305f\u3044\u3067\u958b\u767a\u74b0\u5883\u3092\u4f5c\u3063\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002 \u57fa\u672c\u7684\u3001C++\u3082VSCode\u3067\u958b\u767a\u3057\u305f\u6d3e\u306a\u306e\u3067 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11897,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-11892","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c"],"_links":{"self":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/11892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11892"}],"version-history":[{"count":1,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/11892\/revisions"}],"predecessor-version":[{"id":11896,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/11892\/revisions\/11896"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/media\/11897"}],"wp:attachment":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}