2013-04-08 4 views
1

필자 MingW64경고 : -lpthread

에 sqlite3를 컴파일하려고 다음과 같은 메시지를 받았습니다 링커 경로가 라이브러리에 대한 실제 파일이없는
*** Warning: linker path does not have real file for library -lpthread. 
*** I have the capability to make that library automatically link in when 
*** you link to this library. But I can only do this if you have a 
*** shared version of the library, which you do not appear to have 
*** because I did check the linker path looking for a file starting 
*** with libpthread and none of the candidates passed a file format test 
*** using a file magic. Last file checked: d:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/lib//libpthread.dll.a 
*** The inter-library dependencies that have been dropped here will be 
*** automatically added whenever a program is linked with this library 
*** or is declared to -dlopen it. 

것은 무엇을 의미 하는가? libpthread.dll이 필요합니까? 어디서 구할 수 있니?

답변

1

그것은 반드시 당신이 libpthread.dll이없는 것을 의미하는 것은해야하지만, 링커가 검색되는 경로가이 라이브러리를 포함하지 않습니다. 당신도

  • 파일을 찾을 수 있어야하고 연결 옵션 또는
  • 그렇지 존재하는 경우, 라이브러리를 수집하고 설치에 경로를 인도 표준시.

컴퓨터에서 파일을 검색하고없는 경우 컴퓨터에서 파일을 검색해야합니다.

This 기사는 유용 할 수 있습니다.