AMOS-ss16-proj3 / amos-ss16-proj3

Repository for the wireshark plugin development project of the AMOS 16 course
GNU Affero General Public License v3.0
10 stars 12 forks source link

Wireshark 1.12.12 cannot be build under Windows #22

Open darki2002 opened 8 years ago

darki2002 commented 8 years ago

Error:

CMake

Error at CMakeLists.txt:66 (find_package): By not providing "FindPowerShell.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "PowerShell", but CMake did not find one.

Could not find a package configuration file provided by "PowerShell" with any of the following names:

PowerShellConfig.cmake powershell-config.cmake

Add the installation prefix of "PowerShell" to CMAKE_PREFIX_PATH or set "PowerShell_DIR" to a directory containing one of the above files. If "PowerShell" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred!

darki2002 commented 8 years ago

Took the file from: FindPowerShell.cmake

now I get:

-- Building for win64 using Visual Studio 12 2013 Win64 Die Benennung "C:\Development\wireshark\tools\win-setup.ps1" wurde nicht als Na me eines Cmdlet, einer Funktion, einer Skriptdatei oder eines ausführbaren Prog ramms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad kor rekt ist (sofern enthalten), und wiederholen Sie den Vorgang. Bei Zeile:1 Zeichen:2

  • . <<<< "C:\Development\wireshark\tools\win-setup.ps1" -Destination C:\Develo pment\wireshark-win64-libs -Platform win64 -VSVersion 12
    • CategoryInfo : ObjectNotFound: (C:\Development...s\win-setup.p s1:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

CMake Error at CMakeLists.txt:133 (message): Windows setup (win-setup.ps1) failed.

-- Configuring incomplete, errors occurred!

darki2002 commented 8 years ago

It seems that wireshark cannot (easily) be build under Windows using cmake. Nmake is described under docbook/WSDG_chapter_sources.asciidoc

Even nmake does not seem to support win64