未明确引用`_endthreadex'

时间:2015-04-17 19:23:38

标签: c++ sqlite

我正在尝试为游戏构建一些源代码并收到此错误:

LINK crawl.exe
contrib/install/x86_64-pc-cygwin/lib/libsqlite3.a(sqlite3.o):sqlite3.c:(.text+0x4c56): undefined reference to `_endthreadex'
contrib/install/x86_64-pc-cygwin/lib/libsqlite3.a(sqlite3.o):sqlite3.c:(.text+0x4c56): relocation truncated to fit: R_X86_64_PC32 against undefined     symbol `_endthreadex'
contrib/install/x86_64-pc-cygwin/lib/libsqlite3.a(sqlite3.o):sqlite3.c:(.text+0x806d): undefined reference to `_beginthreadex'
contrib/install/x86_64-pc-cygwin/lib/libsqlite3.a(sqlite3.o):sqlite3.c:(.text+0x806d): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_beginthreadex'
collect2: error: ld returned 1 exit status
    Makefile:1508: recipe for target 'crawl.exe' failed
    make: *** [crawl.exe] Error 1

我在Windows 8上使用Cygwin

0 个答案:

没有答案