Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the antispam-bee domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/ruwritingagame/public_html/wp-includes/functions.php on line 6131

Warning: Cannot modify header information - headers already sent by (output started at /home/ruwritingagame/public_html/wp-includes/functions.php:6131) in /home/ruwritingagame/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home/ruwritingagame/public_html/wp-includes/functions.php:6131) in /home/ruwritingagame/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home/ruwritingagame/public_html/wp-includes/functions.php:6131) in /home/ruwritingagame/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home/ruwritingagame/public_html/wp-includes/functions.php:6131) in /home/ruwritingagame/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home/ruwritingagame/public_html/wp-includes/functions.php:6131) in /home/ruwritingagame/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home/ruwritingagame/public_html/wp-includes/functions.php:6131) in /home/ruwritingagame/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home/ruwritingagame/public_html/wp-includes/functions.php:6131) in /home/ruwritingagame/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1902

Warning: Cannot modify header information - headers already sent by (output started at /home/ruwritingagame/public_html/wp-includes/functions.php:6131) in /home/ruwritingagame/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1902
{"id":82,"date":"2021-11-27T00:09:30","date_gmt":"2021-11-27T00:09:30","guid":{"rendered":"https:\/\/writingagame.com\/?p=82"},"modified":"2022-01-13T17:54:56","modified_gmt":"2022-01-13T17:54:56","slug":"chapter-3-hello-windows","status":"publish","type":"post","link":"https:\/\/writingagame.ru\/index.php\/2021\/11\/27\/chapter-3-hello-windows\/","title":{"rendered":"\u0413\u043b\u0430\u0432\u0430 3. Hello Windows"},"content":{"rendered":"\n

Visual Studio, Windows, C++, OpenGL ES, GLFW, GLAD<\/strong><\/p>\n\n\n\n

\u0417\u0430\u043f\u0443\u0441\u043a OpenGL ES \u043d\u0430 PC \u043d\u0435 \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u044f\u043c\u043e\u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0439 \u043a\u0430\u043a \u043d\u0430 Android-\u0435 \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 GL ES \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u0438\u043a\u043e\u0432, \u0430 \u041d\u0415 \u0434\u043b\u044f \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043e\u0432. \u041d\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0435\u0441\u0442\u044c. \u0418\u0437\u0434\u0430\u0442\u0435\u043b\u0438 OpenGL-\u0430 \u043d\u0430\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c window toolkit (GLFW) \u0438 OpenGL loading libraries (GLAD). \u0417\u043d\u0430\u0447\u0438\u0442, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0438\u0445 \u0441\u0433\u0440\u0443\u0437\u0438\u043c.<\/p>\n\n\n\n

1. \u0421\u043f\u0435\u0440\u0432\u0430 \u0437\u0430\u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u0443\u0435\u043c \u0434\u043b\u044f \u043d\u0438\u0445 \u043c\u0435\u0441\u0442\u043e.
\u0412 Windows File Explorer<\/strong>-\u0435 \u0432 \u043d\u0430\u0448\u0435\u043c \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u043c<\/strong> C:\\CPP \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u043e\u0434-\u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u201cp_windows\u201d (“p” is for “platform”). \u0422\u0430\u043c \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u0440\u0436\u0430\u0442\u044c windows-specific \u0432\u0435\u0449\u0438, \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u044b\u0435 \u043a\u043e \u0412\u0421\u0415\u041c \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c.<\/p>\n\n\n\n


\n\n\n\n
  1. Download GLFW<\/strong>.<\/li><\/ol>\n\n\n\n

    \u0418\u0434\u0435\u043c \u043d\u0430 https:\/\/www.glfw.org\/<\/a><\/p>\n\n\n\n

    \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Download link \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0432\u0435\u0440\u0445\u0443:<\/p>\n\n\n\n

    <\/p>\n\n\n\n

    \u041d\u0430\u043c \u043d\u0443\u0436\u043d\u044b 32-bit Windows pre-compiled<\/strong> binaries. \u041f\u043e\u0447\u0435\u043c\u0443 32? \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u043d\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043d\u0430 32 \u0418 \u043d\u0430 64-bit Windows \u0442\u043e\u0436\u0435, \u0442\u0430\u043a \u0447\u0442\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c 32 \u043a\u0430\u043a \u0431\u043e\u043b\u0435\u0435 \u201ccross-platform-\u0435\u043d\u043d\u044b\u0439\u201d:<\/p>\n\n\n\n

    <\/p>\n\n\n\n\u0418\u041b\u0418: \u043c\u043e\u0436\u043d\u043e \u0441\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0437\u0434\u0435\u0441\u044c<\/a>.\n\n\n\n

    <\/p>\n\n\n\n

    \u041a\u043e\u0433\u0434\u0430 \u0441\u0433\u0440\u0443\u0437\u0438\u043b\u043e\u0441\u044c, \u0432 Windows File Explorer<\/strong>-\u0435 \u0438\u0434\u0435\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 Downloads, \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c glfw-3.3.5.bin.WIN32.zip<\/strong> (right-click \u043d\u0430 \u0444\u0430\u0439\u043b -> Open with -> 7-Zip File Manager -> Extract<\/em>).<\/p>\n\n\n\n

    \u0412\u0410\u0416\u041d\u041e<\/strong>: \u041f\u043e\u043c\u0435\u043d\u044f\u0442\u044c destination (Copy to) \u043d\u0430 C:\\CPP\\p_windows\\<\/em><\/p>\n\n\n\n

    \u0417\u0430\u0442\u0435\u043c \u2013 Ok<\/strong>.<\/p>\n\n\n\n

    \u0412 Windows File Explorer<\/strong>-\u0435 \u0438\u0434\u0435\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 C:\\CPP\\p_windows\\<\/em> \u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u0443\u0435\u043c<\/strong> \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u043d\u044b\u0439 glfw-3.3.5.bin.WIN32<\/em> \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0432 glfw335win32<\/strong>.<\/p>\n\n\n\n


    \n\n\n\n
    1. Download GLAD<\/strong>.<\/li><\/ol>\n\n\n\n

      \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445 – \u043f\u043e\u0434 C:\\CPP\\p_windows\\<\/em> \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u043e\u0432\u044b\u0439 \u043f\u043e\u0434-\u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u201cglad<\/strong>“.<\/p>\n\n\n\n

      \u0422\u0435\u043f\u0435\u0440\u044c \u0438\u0434\u0435\u043c \u043d\u0430 https:\/\/glad.dav1d.de\/<\/a><\/p>\n\n\n\n