ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • [C++ Boost] LNK2019: "class boost::system::error_category const & __cdecl boost::system::system_category(void), boost::system::generic_category(void)
    Search: 카테고리 없음 카테고리 없음 2016. 1. 25. 18:42

    //[C++ Boost] LNK2019: "class boost::system::error_category const & __cdecl boost::system::system_category(void), boost::system::generic_category(void)



    error LNK2019: "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ) 외부 기호(참조 위치: "public: __thiscall boost::thread_exception::thread_exception(int,char const *)" (??0thread_exception@boost@@QAE@HPBD@Z) 함수)에서 확인하지 못했습니다.

    error LNK2019: "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ) 외부 기호(참조 위치: "void __cdecl boost::system::`dynamic initializer for 'errno_ecat''(void)" (??__Eerrno_ecat@system@boost@@YAXXZ) 함수)에서 확인하지 못했습니다.


    <컴파일은 Visual Studio x64 Win64 명령 컴포넌트(2010) 사용>


    b2 -j4 variant=debug,release toolset=msvc-10.0 --build-type=complete  define=_BIND_TO_CURRENT_VCLIBS_VERSION --libdir=d:\boost\lib address-model=64 install








    x32,x64 버전 안맞는 것이므로 lib, 타겟 등을 확인해서 맞춘다.



    댓글