error LNK1104: cannot open file 'filedialog.lib'

This has been a problem now for a while, look at this forum post https://forum.audacityteam.org/t/vc9-cant-link-audacity-last-trunk-wxwingets-2-8-11/19273/1 OP did not ever say if a solution was found.

Also look at the many threads on the Audacity Developer’s listserv http://audacity.238276.n2.nabble.com/template/NamlServlet.jtp?macro=search_page&node=238278&query=zh_TW+locale.

The most recent commit adds to the compile.txt file “Putting msgfmt in C:WindowsSystem32 doesn’t work on my 64-bit machine, but C:Windows does.” You may need to search out msgfmt and move it to C:\windows.

When I had this error Gale said
" Make sure to build the “locale” project, either
separately or as part of Build > Batch Build. You will need
msgfmt.exe in your PATH for that. Get it from
http://audacityteam.org/files/msgfmt.zip "

For me it ended up being in Python2.6 and it’s path.