Problem Compiling libtins in Windows

1,045 views
Skip to first unread message

Alvaro Coronado

unread,
Aug 18, 2016, 3:45:30 PM8/18/16
to libtins
Hi,
i run the commands, in the guide of http://libtins.github.io/download/ of

Compiling libtins on Windows, but execute the last comand, i get the next out in cmd.

-- configuring incomplete, errors ocurred.

see also ".C:/route/build/CMakeFiles/CMakeOutput.log".

i see the CMakeOutput.log and not see  the problem.
but, had been reading  the message privious in the cmd, i see the next error: Could Not find PCAP(Missing:PCAP_LIBRARY PCAP_INCLUDE_DIR)

i have INSTAlled winPcap and cMake, no problem.

attached CMakeOutput.log and image from cmd output.

thanks you very much, for your guide or posible solutions of problem.

Thanks.

Alvaro Coronado

unread,
Aug 18, 2016, 3:47:50 PM8/18/16
to libtins


CMakeOutput.log

Matias Fontanini

unread,
Aug 18, 2016, 4:46:18 PM8/18/16
to libtins
Try using the -DPCAP_ROOT_DIR= CMake argument and provide the path where the winpcap developers pack is installed.

Alvaro Coronado

unread,
Aug 18, 2016, 6:07:31 PM8/18/16
to libtins
Thanks for respond my,

Ok, i used your solution, and had the next output:

C:\libreriac++\libtins-master\build>cmake ../ -DPCAP_ROOT_DIR=cmake C:\Program F
iles (x86)\WpdPack
CMake Error: The source directory "C:/libreriac++/libtins-master/build/(x86)/Wpd
Pack" does not exist.
Specify --help for usage, or press the help button on the CMake

i was whatching  the GUI de CMAKE, (is same output of cmd).

i downloaded the WinCap of https://www.winpcap.org/devel.htm,
Download WinPcap 4.1.2 Developer's Pack,

i hope not  to make a mistake?




Message has been deleted
Message has been deleted

Alvaro Coronado

unread,
Aug 19, 2016, 1:16:04 PM8/19/16
to libtins
OK , after of play for much time ,

 

    i find the solution .

    ok , I first clear my problem , in my case:

    1) I installed WinPcap the next link http://www.winpcap.org/install/default.htm , THIS IS NOT WinPCAP developer pack , The WinPcap Developer Pack is the next link in https://www.winpcap.org/devel.htm

    Note : the WinPcap Developer Pack was comprissed in .ZIP format .

    2) If you see the image1 ,( in the rectangle green PCAP_ROOT_DIR) , This points to "PathTo_WinPCAP_DevPack" as if it will be in the source code " libtins -master \ build " this is not correct , the format correct  PCAP_ROOT_DIR   pointing to path Where you install WinPCAP developer pack , in my case is C : \ Program Files ( x86) \ WpdPack .(see image: before 1)

    2.1) in Other test , the patch of PCAP_ROOT_DIR  in the two case, i change the path to C : \ Program Files ( x86) \ WpdPack .

  •  1


  • 2










  Finally, i upload image   before the  generate changes, and results of the changes:



































PD: sorry my inglish

c0mrade

unread,
Jan 19, 2019, 3:03:52 PM1/19/19
to libtins
where you able to compile on windows?

Nguyen Huy Thuy

unread,
Jul 11, 2019, 8:23:24 AM7/11/19
to libtins

He was be able to compile on Windows. I also had the same mistake of downloading the wpcap source, not development package (https://www.winpcap.org/devel.htm --> https://www.winpcap.org/install/bin/WpdPack_4_1_2.zip)
Reply all
Reply to author
Forward
0 new messages