4

在为特定配置构建时,我的程序似乎在错误的 DLL 中寻找特定功能。这些函数在不同的 DLL 中定义,并在完全独立的代码段中使用,并且错误总是指同一个 DLL (libvlc.dll)。如果我使用 libvlc.dll 构建不同的配置或禁用任何东西,一切正常。一切都在没有错误或警告的情况下构建,但是在使用 Debug -> Step Into 时,程序会在第一行被击中之前崩溃

The procedure entry point ReportFault could not be located in the dynamic link library libvlc.dll
The procedure entry point curl_easy_setopt could not be located in the dynamic link library libvlc.dll
The procedure entry point ogg_stream_packetin could not be located in the dynamic link library libvlc.dll
4

1 回答 1

7

原来这是由于/OPT:NOREF在我的项目使用/OPT:REF https://forum.videolan.org/viewtopic.php?f=32&t=98097时使用 vlc 构建造成的

于 2013-06-18T21:01:23.593 回答