Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
427 views
in Technique[技术] by (71.8m points)

c++ - The procedure entry point could not be located in the dynamic link library - looking in wrong DLL

When building for a specific configuration, my program seems to be looking for specific functions in the wrong DLL. These functions are defined in different DLLs, and used in completely separate sections of the code, and the error is always referring to the same DLL (libvlc.dll). If I build in a different configuration or disable anything using libvlc.dll, everything works. Everything builds without errors or warnings, but the program will crash before the first line is hit when using 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
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

This turned out to be caused by vlc being built with /OPT:NOREF while my project was using /OPT:REF https://forum.videolan.org/viewtopic.php?f=32&t=98097


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...