Depending on the program you are using and the operating system you are using, you may encounter the lame_enc.dll error in Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, and older versions of Windows.
How to Fix the lame_enc.dll Error When Creating an MP3 File in Audacity [Tutorial]
Close and reopen the audio program that was generating the lame_enc.dll error. Audacity, or whatever application you are using, may be experiencing a temporary problem that can be fixed by restarting it.
Download the latest LAME MP3 encoder package. The ZIP file on this Audacity-approved site contains the latest version of lame_enc.dll and related files.
Extract the DLL file from the ZIP file you downloaded in step 2.