Menu

Winpcap libraries

2009-07-10
2012-09-26
  • Rafael Oliveira

    Rafael Oliveira - 2009-07-10

    What i have to do to compile any project using winpcap libraries?

    co1ote.

     
    • cpns

      cpns - 2009-07-11

      Further...

      > If yes, so I don't know how to link libraries in Dev .. "help pls!"

      There are general directions in the "PLEASE READ BEFORE POSTING A QUESTION" thread I think, but the answer is no, these are VC++ 6 libraries. You can convert the export libraries using reimp.exe and use the VC++ compiled DLLs, but frankly life is too short for such nonsense!

      > If I download the source, I will be able to build it in Dev under MinGW?MSYS?

      Since this is a VC++ project and not a Linux port, you probably do not need to use MSYS, and can probably build it directly by creating a Dev-C++ project. But you will kind of have to know what you are doing! Whether it is sucessful or not depends on the complexity of the project. Dev-C++ does have a VC++ 6 project import tool, but it only copes with straigthforward (and small) projects in my experience.

      Other than that you can open the project file directly to determine the build requirements and manually set up Dev-C++ to match. As I said, you have to know what you are doing, and be familiar with both tools to have much chance of sucess quickly.

      You'd have to really want this library to work with MinGW/GCC really badly to want to bother rather than just use the tools it was designed to work with in the first instance.

      Clifford

       
    • Wayne Keen

      Wayne Keen - 2009-07-10

      Well, do you have a version of them that are compiled for MinGW?

      If not (and this is likely), you will probably need to build them under MinGW/MSYS. This might be slightly tricky as Dev uses an older version of GCC than MinGW commonly comes with these days.

      Now, do you how to link a library in Dev?

      Wayne

       
    • Rafael Oliveira

      Rafael Oliveira - 2009-07-11

      I have the library distributed on: "http://www.winpcap.org/install/bin/WpdPack_4_0_2.zip". It's a compiled version for MinGW/MSYS ?

      If yes, so I don't know how to link libraries in Dev .. "help pls!"

      If I download the source, I will be able to build it in Dev under MinGW?MSYS?

      Obs.: I'm using Dev-C++ 4.9.9.2 on winxp

      thanks co1ote.

       
    • cpns

      cpns - 2009-07-11

      > It's a compiled version for MinGW/MSYS ?
      Are you asking us or telling us? It is not our project - read the documentation.

      Since all the documentation relating to building the libraries and driver refer exclusively to VC++ 6.0 it seem unlikely. It also seems that perhaps the product or teh documentation might be a bit old; that's a 10 year old compiler! If you don't have Microsoft Visual C++ 6.0, the free VC++ 2008 Express edition will probably serve.

      Clifford

       
    • Rafael Oliveira

      Rafael Oliveira - 2009-07-12

      First, i'm sry because my poor english..

      I compiled my src in VS2005 and have to migrate to there. Now I would build the same src in dev only for knowledge.

      Tnkhs guys :-)

      co1ote.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.