I have a source tree of Wireshark 1.4.9 that builds grreat in WindowsXP. I am moving to a Windows 7 x64 box now and need it to build there. So I did all the normal stuff (install VS 2008ee, install the right cygwin packages) but I get an error from nmake (see below). There are lots of google hits on the U1045 error code, but they all lead no where. I have tried the usual tricks of running from an elevated command prompt and checking the environment to no avail.
asked 29 Nov ‘11, 13:38
edited 29 Nov ‘11, 13:51
I FIXED IT!!!!!!!!!!!!!!!!!!!!!!
I did a "check out" of the native-nmake.cmd file (we use clearcase for CM) so then it was "writable". Now the build completes fine!
Can anyone explain such a thing to me? Why would native-name.cmd need to be writable to be spawned by nmake?????
answered 30 Nov '11, 08:04
I have done essentially the same thing myself, i.e., moved from Windows XP x86 to Windows 7 x86_64, except for the 1.6 and trunk branches instead of the 1.4 branch. If at all possible, I'd recommend the latest version.
I started with the Win64 Development wiki page, which you might also want to take a look at. However, I took some notes of my experience and here are the steps I took (as far as I recall and actually wrote down ... although I can't guarantee these notes are 100% complete):
answered 29 Nov '11, 19:36
edited 29 Nov '11, 19:47