[ Sarangbee's blog ]

사랑비's 블로그

A  W



1. 도구->옵션
   프로젝트 및 솔루션 -> VC++ 디렉토리
   include 토글
   ode/include 추가.

2. 프로젝트 속성
   1) C/C++ -> 일반 -> 추가 포함(include) 디렉토리
       ode/include 추가.
   2) 링커 -> 일반 -> 추가 라이브러리 디렉토리
       ode/lib/debug(double)dll 추가.
   3) 링커 -> 입력 -> 추가 종속성
       ode/lib/debugdoubledll/ode_doubled.lib, drawstuffd.lib 추가.
       (drawstuffd.lib ode_doubled.lib user32.lib winmm.lib gdi32.lib opengl32.lib glu32.lib 안되어 있다면 같이 추가.)

3. debugdll 폴더 안의 ode.dll, drawstuff.dll 파일을 현재 프로젝트 폴더 안에 복사.

4. ode/drawstuff 폴더 전체를 복사해서 현재 프로젝트 폴더 안에 붙여넣기.

5. 프로젝트 솔루션에 리소스 파일 추가. (drawlstuff/src/resources.rc)

6. texturepath.h 파일을 현재 프로젝트 폴더 안으로 복사 및 코드 안에 #include 해주기.

7. 그래도 안되면,
   프로젝트 속성 -> C/C++ -> Preprocessor -> Preprocessor Definitions 가 아마 "WIN32;_DEBUG;_CONSOLE" 이렇게 되어 있음.
   -> _CRT_SECURE_NO_DEPRECATE;WIN32;dDOUBLE  이걸로 바꿔주자.




Posted by ingStory

2008/11/15 00:27 2008/11/15 00:27
,
Response
7 Trackbacks , No Comment
RSS :
http://ingstory.us/tc/rss/response/72