Using libavutil's LZO algorithm in Node.js: Part 4
I've been away at a Tidepool offsite, which explains the lack of updates to the blog. Hopefully we'll be back to regularly daily updates from now onward.
I've been struggling to successfully link to the avutil
shared library on Windows. I thought it was because of a problem with the settings in my binding.gyp
file, but it turns out I somehow didn't build the required routine into the DLL file. I just discovered that there's a command on Windows that you can use to inspect DLL files.
dumpbin /exports avutil.dll
This lists all the symbol entries. I expected av_lzo1x_decode
to be in there, and surprisingly it wasn't. Note that to use this command you need to have Visual Studio installed and then open a Developer Command Prompt or add it to your path.