I placed the kind of dll for the microphone in the program folder.
- | compilation | execute | ||
vfwwdm32.dll | -lvfw32 | o | ||
(nothing) | -lvfw32 | o | ||
-lvfwwdm | x | |||
-lvfwwdm32 | x | |||
-lvfw | x |
*
The include in the source code is #include <vfw.h>.
(20210112)
We can find the header in the includion directory,
There is no vfwwdm.h so, we can not compile it before the linking library like "vfwwdm32.dll".
mingw32-g++ -Wall -O3 -I C:\MinGW\include\ -L C:\MinGW\lib -I . -L .\dll -lgdi32 -lws2_32 -lwsock32 -lvfwwdm32 -lwinmm -
mwindows -o main.o -c main.cpp
main.cpp:7:20: fatal error: vfwwdm.h: No such file or directory
#include <vfwwdm.h>
*
When I do not place the dll of vfwwdm32.dll and any, I could compile the programe source code with the option "-vfw32".
*