This worked without error when this solution worked off of .lib files instead of .dll files.
I have all of my projects except one currently using a precompiled header,
Try rebuilding your project in a new, copying only the files needed supplies.
LudoSound.pch was not regenerated. Delete only the folder it was in and build again.
Are you using "automatically generate", or "use precompiled header" on the project and "create precompiled header" on the one cpp file? The latter is more efficient, but I've seen the per-file configuration on projects get accidentally reset, so that the "stdafx.cpp" (or whatever) file no longer generates the precompiled header.
I had this issue after I deleted and re-added stdafx.cpp from & to my project. Solution: