简体   繁体   中英

mpg123 link error “_read” and “_lseek”

I compile mpg123 lib in win32. It don't want it linked to MSVCR90.DLL

I change: C/C++ -> "ignore all default libraries" to YES

add "additional dependencies" ==> libcmt.lib

"C/C++ -> Runtime Library "from "multi-threaded DLL" to "Multi-threaded"

But i still get this error:

Please help me.

readers.obj : error LNK2001: unresolved external symbol _read
readers.obj : error LNK2001: unresolved external symbol _lseek

也许您应该链接到CPP标准库LIBCPMT.LIB

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM