메뉴 건너뛰기

창작에 관련된 질문이나 간단한 팁, 예제를 올리는 곳

SDK도 최신버전으로 깔아주었고 도구 설정도 적절하게 했습니다
모든 셋팅이 완료되고 링크를 해보니까 아래와 같은 문장이 쭉쭉나오는군요
warning은 굉장히 많이 나오는데 실제로 컴파일을 막아버린 부분은
LINK : fatal error LNK1104: 'LIBC.lib' 파일을 열 수 없습니다.
군요 ㅡㅡ;
------ 빌드 시작: 프로젝트: MoonDLib, 구성: Debug Win32 ------
컴파일하고 있습니다...
cl : 명령줄 warning D9035 : 'Wp64' 옵션은 더 이상 사용되지 않으므로 이후 릴리스에서 제거될 예정입니다.
donglib.cpp
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(279) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : 'strcpy' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(292) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : 'strcat' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(301) : warning C4996: 'itoa': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _itoa. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\stdlib.h(862) : 'itoa' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(302) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : 'strcat' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(675) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : 'strcpy' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(778) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : 'strcat' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(795) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : 'strcat' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(806) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : 'strcat' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(945) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : 'strcpy' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(995) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : 'strcpy' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1173) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : 'strcpy' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1365) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : 'strcpy' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1366) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : 'strcpy' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1397) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : 'strcpy' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1401) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : 'strcat' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1448) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : 'strcat' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1470) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : 'strcpy' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1490) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : 'fopen' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1555) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(157) : 'strncpy' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1608) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : 'strcpy' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1624) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : 'strcat' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1625) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : 'strcat' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1637) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : 'strcat' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1638) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : 'strcat' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1716) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : 'strcpy' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\donglib.cpp(1728) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(366) : 'sprintf' 선언을 참조하십시오.
Dsutil.cpp
JDirectDraw.cpp
c:\program files\c++ 자료들\moondlib\1\jdirectdraw.cpp(34) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(207) : 'strdup' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\jdirectdraw.cpp(37) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(207) : 'strdup' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\jdirectdraw.cpp(82) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(207) : 'strdup' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\jdirectdraw.cpp(116) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : 'strcpy' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\jdirectdraw.cpp(134) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : 'strcpy' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\jdirectdraw.cpp(135) : warning C4267: 'return' : 'size_t'에서 'uint'(으)로 변환하면서 데이터가 손실될 수 있습니다.
JDirectDrawImp.cpp
c:\program files\c++ 자료들\moondlib\1\jdirectdrawimp.cpp(398) : warning C4267: '인수' : 'size_t'에서 'int'(으)로 변환하면서 데이터가 손실될 수 있습니다.
c:\program files\c++ 자료들\moondlib\1\jdirectdrawimp.cpp(783) : warning C4267: '인수' : 'size_t'에서 'int'(으)로 변환하면서 데이터가 손실될 수 있습니다.
JDirectDrawImpID.cpp
c:\program files\c++ 자료들\moondlib\1\jdirectdrawimpid.cpp(229) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(207) : 'strdup' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\jdirectdrawimpid.cpp(248) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(207) : 'strdup' 선언을 참조하십시오.
JResourceManager.cpp
c:\program files\c++ 자료들\moondlib\1\jresourcemanager.cpp(13) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(207) : 'strdup' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\jresourcemanager.cpp(61) : warning C4996: 'mbstowcs': This function or variable may be unsafe. Consider using mbstowcs_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\stdlib.h(499) : 'mbstowcs' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\jresourcemanager.cpp(63) : warning C4996: 'mbstowcs': This function or variable may be unsafe. Consider using mbstowcs_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\stdlib.h(499) : 'mbstowcs' 선언을 참조하십시오.
c:\program files\c++ 자료들\moondlib\1\jresourcemanager.cpp(113) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
        c:\program files\microsoft visual studio 9.0\vc\include\string.h(207) : 'strdup' 선언을 참조하십시오.
main.cpp
코드를 생성하고 있습니다...
매니페스트를 리소스에 컴파일하고 있습니다...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation.  All rights reserved.
링크하고 있습니다...
LINK : fatal error LNK1104: 'LIBC.lib' 파일을 열 수 없습니다.
빌드 로그가 "file://c:\Program Files\C++ 자료들\MoonDLib\1\Debug\BuildLog.htm"에 저장되었습니다.
MoonDLib - 오류: 1개, 경고: 41개
========== 빌드: 성공 0, 실패 1, 최신 0, 생략 0 ==========
전 9.0(2008)이랑 6.0버전밖에 없음.. 7.1버전은 없습니다. 위는 9.0으로 링킹헀을때 뜬 것이고
그래서 저는 블로그에 있는 옛날샘플이 아닌 혼둠에 올리신 샘플로 다시 링킹해봤습니다
유지보수를 많이 하셨는지 Warning의 수는 적더군요
------ 빌드 시작: 프로젝트: MoonD, 구성: Release Win32 ------
컴파일하고 있습니다...
cl : 명령줄 warning D9035 : 'Wp64' 옵션은 더 이상 사용되지 않으므로 이후 릴리스에서 제거될 예정입니다.
Ogg.cpp
main.cpp
JResourceManager.cpp
.\JResourceManager.cpp(13) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
        C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string.h(207) : 'strdup' 선언을 참조하십시오.
.\JResourceManager.cpp(113) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
        C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string.h(207) : 'strdup' 선언을 참조하십시오.
JDirectDrawImpID.cpp
.\JDirectDrawImpID.cpp(229) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
        C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string.h(207) : 'strdup' 선언을 참조하십시오.
.\JDirectDrawImpID.cpp(246) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
        C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string.h(207) : 'strdup' 선언을 참조하십시오.
JDirectDrawImp.cpp
.\JDirectDrawImp.cpp(446) : warning C4267: '인수' : 'size_t'에서 'int'(으)로 변환하면서 데이터가 손실될 수 있습니다.
.\JDirectDrawImp.cpp(832) : warning C4267: '인수' : 'size_t'에서 'int'(으)로 변환하면서 데이터가 손실될 수 있습니다.
JDirectDraw.cpp
.\JDirectDraw.cpp(34) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
        C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string.h(207) : 'strdup' 선언을 참조하십시오.
.\JDirectDraw.cpp(37) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
        C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string.h(207) : 'strdup' 선언을 참조하십시오.
.\JDirectDraw.cpp(82) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
        C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string.h(207) : 'strdup' 선언을 참조하십시오.
.\JDirectDraw.cpp(135) : warning C4267: 'return' : 'size_t'에서 'uint'(으)로 변환하면서 데이터가 손실될 수 있습니다.
Game.cpp
Dsutil.cpp
DScript.cpp
donglib.cpp
calc.cpp
코드를 생성하고 있습니다...
리소스를 컴파일하고 있습니다...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation.  All rights reserved.
.\EveryOne.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.
빌드 로그가 "file://c:\Program Files\C++ 자료들\MoonDLib\또다른버전\Release\BuildLog.htm"에 저장되었습니다.
MoonD - 오류: 1개, 경고: 11개
========== 빌드: 성공 0, 실패 1, 최신 0, 생략 0 ==========
.\EveryOne.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.
라는 에러때문에 링킹을 못했습니다
...............................
cannot open include file 'afxres.h'
afxres.h를 열지 못했다는 뜻 같은데, 어째서 열지 못하는지 모르겠네요 ㅡ.ㅡ;
어떤 원인으로 일어나는건지..
헤더파일 첨부가 안되있나?
조회 수 :
13090
등록일 :
2008.04.17
04:07:47 (*.234.10.203)
엮인글 :
게시글 주소 :
https://hondoom.com/zbxe/index.php?mid=study&document_srl=190256

똥똥배

2008.04.17
07:13:43
(*.239.144.2)

http://blog.naver.com/ybill?Redirect=Log&logNo=120037589833

여기를 참조해 보세요. 저도 2008은 안 써봐서 잘 모르겠지만...
warning은 다 잡을 수 있긴 한데 문라이브 부분은 문진섭님이 만드신 거라 함부러 건드리기 그래서 놔둔 겁니다.
지금까지 쓰면서 별 문제도 없어 안정성도 검증 되었구요.

A.미스릴

2008.04.17
07:56:56
(*.234.10.203)
afxres.h 라는 헤더파일을 만들어서
#include <winresrc.h>
#define IDC_STATIC (-1)
라는 소스를 적은 후 컴파일했더니 잘되네요 'ㅅ'
List of Articles
번호 제목 글쓴이 조회 수 추천 수 날짜 최근 수정일sort
185 Bootstrap4 container class가 적용된 div의 양 옆에 설정하지 않은 margin이 생김 노루발 5   2024-02-07 2024-02-07 14:25
문제: <div class="container"> TEST </div> 위와 같은 페이지를 브라우저에서 렌더링 시 div의 양 옆에 설정하지 않은 빈 margin이 생김. 해결: <div class="container-fluid"> TEST </div> margin을 0으로 주고 width를 100%로 주고 등등 별걸 다 해봤는데 ...  
184 express.js 세션 적용 후 리다이렉트 시 세션 적용이 제대로 안 되는 문제점 노루발 4   2024-02-07 2024-02-07 14:23
문제: logout.js router.get('/', (req, res) => { req.session.destroy(); res.redirect('/login'); }); login.js if (result[0] !== undefined) { // 로그인에 성공하였으므로 세션을 할당 req.session.uid = result[0].uid; req.session.us...  
183 illegal character 방지 [3] 노루발 22   2023-07-17 2023-07-19 16:14
문제점: 클라이언트 <-> 서버 통신을 하면서 다음과 같이 메세지를 주고받기로 함 패킷종류|파라미터1|파라미터2 예) MOTDREQ -> 서버에 MOTD를 요청 (파라미터 없음) MOTD|공지사항입니다 -> MOTD는 "공지사항입니다" 임 (파라미터 1개) MSG|김덕배|안녕하세...  
182 Lua-love2d TCP 통신 [1] 노루발 21   2023-07-14 2023-07-22 16:19
서버: Lua 클라이언트: Love2d(Lua) 서버 구동에는 luasocket 라이브러리가 필요하며, luarocks로 설치할 수 있음. 별도 패키지 관리자가 있는 리눅스 시스템에서는 apt-get install lua-socket 등의 패키지 관리자 명령어로 설치 가능하며 Windows에서 구동시...  
181 PHP로 웹게임 만드는 영상 [1] 노루발 455   2021-06-25 2022-01-28 03:40
Simple PHP Strategy Game - YouTube  
180 certbot을 이용한 HTTPS 인증서 발급 및 적용 노루발 18   2021-01-12 2021-01-12 16:57
snap 설치 및 업데이트 sudo snap install core; sudo snap refresh core certbot 설치 sudo snap install --classic certbot 심볼릭 링크 생성 sudo ln -s /snap/bin/certbot /usr/bin/certbot nginx에 맞춰 자동 설정 sudo certbot --nginx 알아서 다 해주기...  
179 Love2d 게임 안드로이드로 패키징하기 노루발 48   2021-01-11 2021-02-21 01:45
http://hondoom.com/zbxe/index.php?mid=study&document_srl=797993 버전이 바뀌면서 빌드 방법이 바뀌었기에 다시 정리한다. 1. Android studio 설치 https://developer.android.com/studio/index.html SDK 플랫폼 - Android 11.0 [API 30] SDK 버전 - An...  
178 자동화된 Lua 스크립트의 문서화 - LDoc 노루발 43229   2021-01-11 2021-01-11 11:53
다운로드 https://github.com/lunarmodules/LDoc penlight 설치가 필요 luarocks install penlight 프로젝트가 있는 폴더에서 아래의 명령행을 실행 lua /path/to/ldoc/ldoc.lua $* https://stevedonovan.github.io/ldoc/manual/doc.md.html 문서 코멘트라는걸...  
177 리캡챠 적용 [1] 노루발 11   2021-01-08 2021-01-11 12:15
XE 회원가입 시 구글 리캡챠 인증 추가하기 : 네이버 블로그 (naver.com)  
176 Oracle cloud에 Nginx/MariaDB 설치하기 노루발 93   2020-12-06 2020-12-06 20:19
https://itreport.tistory.com/624  
175 Love2d로 만든 로그라이크 예제 노루발 252   2020-11-30 2020-11-30 22:54
https://gitlab.com/Jalexander39/roguelikedev-does-the-complete-roguelike-tutorial 이걸 왜 여태 몰랐지...  
174 Love2d 이미지 하얗게 그리기 노루발 42   2020-11-23 2020-11-23 04:11
아래와 같은 코드를 사용해 이미지에 색상을 적용할 수 있다. hamster = love.graphics.newImage("hamster.png") love.graphics.setColor(1, 0, 0) -- 빨간색으로 그리기 love.graphics.draw(hamster) love.graphics.setColor(1, 1, 1) 하지만 이미지를 하얗게...  
173 루아 스타일 가이드 노루발 33   2020-11-19 2020-11-19 00:58
http://lua-users.org/wiki/LuaStyleGuide https://github.com/Olivine-Labs/lua-style-guide  
172 턴 기반 시스템 구현에 대한 글 [4] 노루발 440   2020-11-14 2020-11-18 05:49
플레이어와 NPC들의 모든 행동에 1턴이 소요된다면 턴 기반 시스템의 구현이 쉽겠지만 (사실 엄청 쉽지는 않다... 게임엔진은 실시간으로 돌아가는데 행동은 턴으로 제약해야 하니) 전략성을 요구하기 위해 행동에 소모되는 턴을 다르게 설정한다면 다소 생각...  
171 이쁜 눈나가 유니티 개발 알려주는 재생목록 노루발 37   2020-11-12 2020-11-12 05:59
https://www.youtube.com/watch?v=Ur2jN6_si6c&list=PLi-ukGVOag_1lNphWV5S-xxWDe3XANpyE https://www.youtube.com/watch?v=sJClf9S7AMA&list=PLi-ukGVOag_0HR09oTs966Wt81IYYXlFH 유니티를 배우고 있는 건 아닌데 만들어진 라이브러리를 다루는게 아...  
170 love2d에서 안드로이드 터치 제스처 인식하기 노루발 20   2020-11-12 2020-11-12 00:38
-- 안드로이드/iOS 등등의 터치스크린 입력을 받는 기기에서는 총 3가지의 콜백 함수를 사용한다: -- love.touchpressed / love.touchmoved / love.touchreleased -- 다만 위 3가지 함수는 마우스 클릭으로는 발생하지 않으므로 추가적인 처리가 필요하다. -- ...  
169 특정좌표를 기준으로 zoom in/zoom out하기 노루발 58   2020-11-11 2020-11-11 01:22
-- x,y - 줌인/줌아웃시 기준점 (좌표 이동이나 scale에 영향받지 않는 순수한 화면 좌표) -- scale - 현재 scale(1:그대로 0.5:1/2 사이즈 2:2배 사이즈) -- scaleinc - 얼마나 scale을 변화시킬것인가 (I usually use 0.1 or -0.1) -- camx - 카메라의 x좌표...  
168 Lua 클래스 만들고 활용하기 노루발 24   2020-11-06 2020-11-06 22:43
------------------------ stairs.lua ------------------------ Stairs = {} function Stairs:new(x, y, floor, direction, locked) local newStairs = {x = x, y = y, floor = floor, direction = direction, locked = locked} self.__index = self retur...  
167 Lua 테이블 안에 함수 저장하기 노루발 28   2020-11-06 2020-11-06 21:07
테이블 안에 함수를 저장할 수 있다. function move(object, direction) print(object .. " moved to ".. direction) end scheduler = {} scheduler.queue = {} function scheduler.newentry(action, args) scheduler.queue[#scheduler.queue + 1] = {} schedu...  
166 Lua 인수로 nil값이 들어왔을 경우 처리하기 노루발 36   2020-11-06 2020-11-06 20:29
or 연산자를 사용한다. 예제 코드: function moveplayer(direction) direction = direction or "nowhere" print("player moved to ".. direction) end moveplayer() --> "player moved to nowhere" moveplayer("north") -- "player moved to north" 이런 코드...