카테고리 없음

error LNK2019: 외부 기호

안녕1999 2017. 11. 20. 23:30

잘되던 코드가, 갑자기 알 수 없는 링크에서 발생.

error LNK2019: 외부 기호 => extern "C"로 해결됨


#ifdef __cplusplus

extern "C" {

#endif


...


#ifdef __cplusplus

}

#endif