Questions tagged [cygwin]

Cygwin is a collection of GNU and other Unix-like FOSS tools which run on MS Windows and provide functionality similar to a GNU/Linux distribution while (mostly) conforming to POSIX specifications. Use this tag for questions about developing programs and/or scripts to run in this environment. Questions on the *use* of tools in a Cygwin environment are more appropriate for Super User (https://superuser.com).

Cygwin is a Unix-like environment and command-line interface for Microsoft Windows. Cygwin provides native integration of Windows-based applications, data, and other system resources with applications, software tools, and data of the Unix-like environment. Thus it is possible to launch Windows applications from the Cygwin environment, as well as to use Cygwin tools and applications within the Windows operating context.

Cygwin consists of two parts: a dynamic-link library () as an API compatibility layer providing a substantial part of the API functionality, and an extensive collection of software tools and applications that provide a Unix-like look and feel.

Cygwin is:

  • a collection of tools which provide a Linux look and feel environment for Windows.
  • a DLL (cygwin1.dll) which acts as a Linux API layer providing substantial Linux API functionality.

Cygwin is not:

  • a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows.
  • a way to magically make native Windows apps aware of UNIX® functionality like signals, `ptys, etc. Again, you need to build your apps from source if you want to take advantage of Cygwin functionality.

The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE and Windows NT4.

Official Website: http://www.cygwin.com/

Useful Links:

7878 questions
3
votes
0 answers

X11 Forwarding: SDL Error: Couldn't find matching render driver

Here's the situation: I am trying to do X11 Forwarding from a Linux server to a windows client (running cygwin). I've been playing around with SDL tutorials (these specifically: http://lazyfoo.net/tutorials/SDL/index.php). I've been downloading,…
3
votes
6 answers

Why is the Git Plugin for Jenkins rewriting my local git repo url with extra slashes?

I'm having an issue right now trying to set up a Jenkins job (on one Windows server) to monitor an internal Git repo located on a Gitosis server (on a different Windows server). The url looks like this: ssh://git@192.168.0.1:relative_path/repo.git…
timmyonline
  • 193
  • 13
3
votes
2 answers

vim problems under cygwin on Windows 7

I cannot access vim or vi under the cygwin shell. The only available selection in the setup program under Editors is 'vim-minimal' which is allegedly installed (says 'Keep' beside it in the installer's tree view). $ vim /cygdrive/c/Program Files…
vbsql7
  • 684
  • 2
  • 9
  • 17
3
votes
2 answers

Installing PIL on Cygwin

I've been struggling all morning to get PIL installed on Cygwin. The errors I get are not consistent with common errors I find using Google. Perhaps a linux guru can see an obvious problem in this output: $ python setup.py install running…
Dustin
  • 3,965
  • 5
  • 27
  • 33
3
votes
1 answer

Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain

I'm running through the tutorial for apache kafka (on the apache kafka website) and had to use a helper tutorial (http://janschulte.wordpress.com/2013/10/13/apache-kafka-0-8-on-windows/) and find another answer (search "Unrecognized VM option…
pborg
  • 31
  • 1
  • 1
  • 4
3
votes
3 answers

Unable to start pty process:

When I build my code in C++ using NetBeans. "make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory '/cygdrive/c/Users/Alex/Documents/NetBeansProjects/test' "make" -f nbproject/Makefile-Debug.mk…
Alex Webber
  • 93
  • 2
  • 10
3
votes
0 answers

g++ error: ‘to_string’ was not declared in this scope. Tried adding -std=c++0x

Been having the problem for a while. Searched thoroughly on stackoverflow and other sites to figure out the problem. I have c++2011, using the latest version of cygwin for terminal, and GCC 4.8.3. I tried adding -std=c++0x and -std=gnu++0x to the…
3
votes
0 answers

Error with Win32::OLE->new('Excel.Application') and a filename with unicode chars

I would like to open an excel file on Cygwin that have a ü in the filename but I get an exception: OLE exception from "microsoft Office Excel": Here's the program I am using: use 5.014; use warnings; use strict; use Win32::OLE qw(CP_UTF8); use…
nowox
  • 25,978
  • 39
  • 143
  • 293
3
votes
2 answers

Are there instructions for installing Kivy on cygwin?

I'm failing in running the following hello world on Kivy: import kivy kivy.require('1.7.0') from kivy.app import App from kivy.uix.button import Label class HelloApp(App): def build(self): return Label(text='Hello World!') if…
boardrider
  • 5,882
  • 7
  • 49
  • 86
3
votes
0 answers

Incorrect behaviour of arrow keys using SBT on Windows 7

I'm using SBT 0.13.6 on Windows 7, and I'm running it using Cygwin (bash shell). I have a problem with the arrow keys: Arrow-up moves the cursor up, whereas I want it to cycle through the command history (and I think that's what it should do by…
Paul
  • 1,939
  • 1
  • 18
  • 27
3
votes
1 answer

Cron job and EasyPHP

I'm using EasyPHP (my OS = Windows XP) and I've written a little php script that should update my database every hour while server is up. I could include the script into the index.php but then it would only be executed when there is activity on the…
pantome
  • 45
  • 1
  • 7
3
votes
2 answers

Error installing bcrypt with pip on Cygwin: cant find ffi.h (libffi is installed)

Similar to this question, I'm having trouble installing bcrypt under Cygwin, and receiving this error: Downloading/unpacking bcrypt Downloading bcrypt-1.0.2.tar.gz (40kB): 40kB downloaded Running setup.py…
Chris Herborth
  • 293
  • 1
  • 3
  • 9
3
votes
4 answers

Shell script works in the console but not when saved as a text file

Consider this simple shell script: #!/bin/sh fruitlist="Apple Pear Tomato Peach Grape" for fruit in $fruitlist do if [ "$fruit" = "Tomato" ] || [ "$fruit" = "Peach" ] then echo "I like ${fruit}es" else echo "I like ${fruit}s" …
Joly
  • 3,218
  • 14
  • 44
  • 70
3
votes
4 answers

Unable to install LWP::Simple on cygwin

I am a Perl beginner trying to install LWP::Simple on cygwin (CYGWIN_NT-6.3) but it fails to install. The installation seems to go wrong from the very start. Could you please help me to fix the problem? $ perl -MCPAN -e'install…
krenkz
  • 484
  • 6
  • 15
3
votes
1 answer

Using DLL compiled with Cygwin inside Visual Studio 2010

I've read already tremendous amount of articles, tutorials, and instructions about how to solve my problem - but still - no gain. I just can't put it into work. My goal is pretty simple: I want to compile a DLL file using Cygwin gcc tool, and then…
Bak Itzik
  • 466
  • 1
  • 5
  • 17
1 2 3
99
100