카테고리 없음

C++ library include 를 찾을 수 없을 때 (References)

newpolaris 2017. 6. 14. 21:37

miniEngine 을 분석하면서 고통 받았던 것은,

도대체 library include 를 어디서 하는지 못찾겠다는 것이다.

보통 설정 페이지의 Linker 와 Input 에 내용을 적어놓거나

Linker

prop 에 추가하여 Properties 탭에서 편집하거나

pragma 구문

#pragma comment(lib, "core.lib")

둘중 하나였다.

아래 블로그에서 설명은 되어있지만,

http://raid79.tistory.com/196

위와 같이 추가하면 라이브러리가 추가되어 빌드된다.

이런 식이기 때문에 "zlib.lib" 로 binary serach 로 찾아도 나오지 않는다

core.lib 는 위에 있는제 짤려서 안보인다