Setting up Cygwin under Windows

For any of you that have a windows machine and want to use it – here’s what you do.

First of all you download cygwin from here. This is a setup file, it will ‘guide’ you through the setup process, but not too much since it is a linux application and they believe in the intelligence of their users. Basically, if you go clicking next until the thing goes away, you won’t get what you need. You need to check that you have a few programs which don’t come back with the official bundle. I suppose you can download the whole thing, but it’s something in the order of 800 MB, so I don’t know how useful that will be.

Anyways, what you need to get on there:

  • make, gcc-g++, subversion from the “Devel” section
  • rsync from the “Net” section
  • more from the “Text” section
  • These might also be useful.

  • cvs, gdb, libxml2-devel from “Devel”
  • openssh from “Net”
  • libjpeg62, libpng12-devel, zlib from “Libs”
  • You can always rerun the setup and choose additional packages that you need.

    Now we need the OPEN-R libraries from their official website.
    I can’t give a direct link because there is a login part, and you’ll need to register (if you haven’t already). So, get these from in there somewhere:

  • OPEN_R_SDK-XXX-rX.tar.gz
  • mipsel-devtools-XXX-bin-rX.tar.gz
  • Extract them in /cygwin/usr/local. Now you should have everything you need to compile open-r related c files. I hope I’m not just clogging up the place and annoying people with this.

    Note: semi-copied from here. I just took out the essential, but you can check out the original. I take no credit for it. It’s how I set up my own cygwin.

    6 thoughts on “Setting up Cygwin under Windows

    1. hwork Post author

      Thanks, George! I’m going to have to try this out on my windows box soon. Teams like the GermanTeam exclusively develop in windows, and so there might be some benefits of it (especially if we ever want to try out their sweet SimRobot simulator).

      Moreover, this project could use as much flexibility as possible–and that goes especially for operating systems. There will be lots of work that has no use for the robots, and so we should be able to work at home (or bring the laptops in).

    2. Matt

      Thanks for the Cygwin info, George. I’m happy to say that Cygwin, python, and subversion are now working fine on my Windows computer. I checked out a copy of our code from the lab and compiled it fine all from an off campus location. Very exciting. Now all in need are some Aibos for my room…

    3. Pingback: Windows, Conquered at Northern Bites

    4. Matt

      So it seems that the file listed above, “more” in the text section has been removed from cygwin. you need instead something else, which the cygwin site will tell you clearly if you look up “more” in the search. also, be careful when you make memory sticks on pc’s because i have no idea how to do it correctly, i ended up making the disk unusable for all the macs in the lab. we’ll figure it out i guess.

    Leave a Reply