This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I'm building Wireshark for Windows 7 from source. I succeeded earlier this week, but ended up deleting my repository and cloning it again to get rid of all the changes from a bad attempt to install a custom plugin. However, now when I build something seems to have gone wrong. I'm not sure what could have changed.

During the build, I get a U1077 fatal error saying that it can't find the path specified. I'm having trouble telling exactly which path they're talking about, as the printout is massive. If I'm reading it right, it starts happening at the wireshark-tap-register.c file? But I could be wrong.

This is the relevant portion of the log:

moc_recent_file_status.cpp moc_sequence_diagram.cpp moc_sequence_dialog.cpp moc_simple_dialog.cpp moc_syntax_line_edit.cpp moc_time_shift_dialog.cpp moc_wireshark_application.cpp moc_wireshark_dialog.cpp cl -c -nologo -Zm200 -Zc:wchar_t /DWINPCAP_VERSION=4_1_3 /Zi /W3 /MD /O2 /DWIN32_LEAN_AND_MEAN /DMSC_VER_REQUIRED=1600 /D_CRT_SECURE_NO_DEPRECATE /D_CRT _NONSTDC_NO_DEPRECATE -DPSAPI_VERSION=1 /D_BIND_TO_CURRENT_CRT_VERSION=1 /MP /w3 4295 /w34189 /DNOMINMAX -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DINET6 -DREENTRANT -DHAVE_PCAP_REMOTE -DHAVE_PCAP_SETSAMPLING -DQT_NO_DEBUG -DQT_MULTIM EDIAWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_MULTIMEDIA_LIB -DQT_WINEXTRAS_LIB -DQ T_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -I"..\.." -I" ..\..\wiretap" -I"..\..\..\Wireshark-win32-libs\gtk2\include\glib-2.0" -I"..\..\ ..\Wireshark-win32-libs\gtk2\lib\glib-2.0\include" -I"C:\Development\Wireshark-w in32-libs\gtk3\include\glib-2.0" -I"C:\Development\Wireshark-win32-libs\gtk3\lib \glib-2.0\include" -I"..\..\..\Wireshark-win32-libs\WpdPack\Include" -I"..\..\.. \Wireshark-win32-libs\AirPcap_Devpack_4_1_0_1622\Airpcap_Devpack\include" -I"..\ ..\..\Wireshark-win32-libs\gnutls-3.2.15-2.7-win32ws\include" -I"..\..\..\Wiresh ark-win32-libs\GeoIP-1.5.1-2-win32ws\include" -I"..\..\..\Wireshark-win32-libs\z lib125\include" -I"..\..\..\..\Qt\5.3\msvc2010_opengl\include" -I"..\..\..\..\Qt \5.3\msvc2010_opengl\include\QtMultimediaWidgets" -I"..\..\..\..\Qt\5.3\msvc2010 _opengl\include\QtPrintSupport" -I"..\..\..\..\Qt\5.3\msvc2010_opengl\include\Qt Multimedia" -I"..\..\..\..\Qt\5.3\msvc2010_opengl\include\QtWinExtras" -I"..\..\ ..\..\Qt\5.3\msvc2010_opengl\include\QtWidgets" -I"..\..\..\..\Qt\5.3\msvc2010_o pengl\include\QtNetwork" -I"..\..\..\..\Qt\5.3\msvc2010_opengl\include\QtGui" -I "..\..\..\..\Qt\5.3\msvc2010_opengl\include\QtCore" -I"." -I"." -I"..\..\..\..\Q t\5.3\msvc2010_opengl\mkspecs\win32-msvc2010" -Fo @C:\Users\mihubbar\AppData\Loc al\Temp\nm33A0.tmp wireshark-qt.cpp cl -c -nologo -Zm200 -Zc:wchar_t /DWINPCAP_VERSION=4_1_3 /Zi /W3 /MD /O2 /DWIN32_LEAN_AND_MEAN /DMSC_VER_REQUIRED=1600 /D_CRT_SECURE_NO_DEPRECATE /D_CRT _NONSTDC_NO_DEPRECATE -DPSAPI_VERSION=1 /D_BIND_TO_CURRENT_CRT_VERSION=1 /MP /w3 4295 /w34189 -W3 -DUNICODE -DWIN32 -DINET6 -DREENTRANT -DHAVE_PCAP_REMOTE -DHAVE _PCAP_SETSAMPLING -DQT_NO_DEBUG -DQT_MULTIMEDIAWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_MULTIMEDIA_LIB -DQT_WINEXTRAS_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_G UI_LIB -DQT_CORE_LIB -DNDEBUG -I"..\.." -I"..\..\wiretap" -I"..\..\..\Wireshark- win32-libs\gtk2\include\glib-2.0" -I"..\..\..\Wireshark-win32-libs\gtk2\lib\glib -2.0\include" -I"C:\Development\Wireshark-win32-libs\gtk3\include\glib-2.0" -I"C :\Development\Wireshark-win32-libs\gtk3\lib\glib-2.0\include" -I"..\..\..\Wiresh ark-win32-libs\WpdPack\Include" -I"..\..\..\Wireshark-win32-libs\AirPcap_Devpack _4_1_0_1622\Airpcap_Devpack\include" -I"..\..\..\Wireshark-win32-libs\gnutls-3.2 .15-2.7-win32ws\include" -I"..\..\..\Wireshark-win32-libs\GeoIP-1.5.1-2-win32ws\ include" -I"..\..\..\Wireshark-win32-libs\zlib125\include" -I"..\..\..\..\Qt\5.3 \msvc2010_opengl\include" -I"..\..\..\..\Qt\5.3\msvc2010_opengl\include\QtMultim ediaWidgets" -I"..\..\..\..\Qt\5.3\msvc2010_opengl\include\QtPrintSupport" -I".. \..\..\..\Qt\5.3\msvc2010_opengl\include\QtMultimedia" -I"..\..\..\..\Qt\5.3\msv c2010_opengl\include\QtWinExtras" -I"..\..\..\..\Qt\5.3\msvc2010_opengl\include\ QtWidgets" -I"..\..\..\..\Qt\5.3\msvc2010_opengl\include\QtNetwork" -I"..\..\..\ ..\Qt\5.3\msvc2010_opengl\include\QtGui" -I"..\..\..\..\Qt\5.3\msvc2010_opengl\i nclude\QtCore" -I"." -I"." -I"..\..\..\..\Qt\5.3\msvc2010_opengl\mkspecs\win32-m svc2010" -Fo @C:\Users\mihubbar\AppData\Local\Temp\nm4231.tmp wireshark-tap-register.c link /NOLOGO /DYNAMICBASE /NXCOMPAT /LARGEADDRESSAWARE /INCREMENTAL:NO / DEBUG /MACHINE:x86 /RELEASE /SafeSEH /FIXED:no /SUBSYSTEM:WINDOWS "/MANIFESTDEPE NDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' p ublicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /VERSIO N:1.992 /OUT:..\..\wireshark-qt-release\Wireshark.exe @C:\Users\mihubbar\AppData \Local\Temp\nm4435.tmp copy /y ..\..\epan\wslua\console.lua ..\..\wireshark-qt-release\ 1 file(s) copied. copy /y "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\redist\x 86\Microsoft.VC100.CRT\*.*" ..\..\wireshark-qt-release\ The system cannot find the path specified. NMAKE : fatal error U1077: 'copy' : return code '0x1' Stop. NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0 \VC\BIN\nmake.EXE"' : return code '0x2'

asked 16 Jan '15, 12:57

mehubb985's gravatar image

mehubb985
118810
accept rate: 0%


Are you building with MSVC2010 Express Edition? If yes, edit config.nmake file and remove the # from the following line:

#MSVC_VARIANT=MSVC2010EE

Also download the MSVC2010 redistributable installer and copy it in your WIRESHARK_LIB_DIR folder

permanent link

answered 16 Jan '15, 13:14

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%

edited 16 Jan '15, 13:25

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,620
×254
×13
×5

question asked: 16 Jan '15, 12:57

question was seen: 2,573 times

last updated: 16 Jan '15, 13:25

p​o​w​e​r​e​d by O​S​Q​A