Skip to content

Running picoTCP on Windows

Daniele Lacamera edited this page Jun 10, 2018 · 3 revisions

Getting your environment set up in Windows is a little less straightforward than in Linux but fret not! The only two things you need are MinGW (so you can compile) and Git (so you can clone the picoTCP repo) to get up to speed.

  1. Download MinGW (http://sourceforge.net/projects/mingw/) and install in *C:\MinGW*
    In the install wizard select mingw32-base and msys-base
  2. Run the pi.bat file in C:\MinGW\msys\1.0\postinstall\pi.bat, when it asks where you installed MinGW, type C:\MinGW
  3. Now we need to get you a copy of Git for Windows, grab it at http://msysgit.github.io/
    1.Go into your C:\MinGW\msys\1.0\home<YourName> folder, right click and select Git Bash Here
  4. Clone the repository with
    $git clone git@gitlab.com:picotcp/picotcp.git
    

(Read “Prerequisites” if you haven’t used Git before or don’t have a GitHub account)

  1. Hop over to your MinGW terminal (C:\MinGW\msys\1.0\msys.bat) and enter the newly created picotcp folder
  2. Type $make and there you go, you just compiled picoTCP for the first time, easy as that!

TODO: Still need to add how to properly get all the dependencies (VDE, Check, …) Waiting to add simple linux TUN example equivalent until it’s in the repo [green]

Clone this wiki locally