help-emacs-windows
[Top][All Lists]

## Re: [h-e-w] Windows Emacs 22.1 does not start if called from cygwin bash

 From: Jason Rumney Subject: Re: [h-e-w] Windows Emacs 22.1 does not start if called from cygwin bash Date: Sat, 03 May 2008 21:59:13 +0100 User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

```Reiner Hammer wrote:

```
Here's the simple script (where various parts were alternatingly commented out during these tests):
```   #!/bin/sh -x
edir="C:\Programme\Emacs\emacs-22.1"
```
\ is an escape character in /bin/sh scripts. Either use /, or double up your backslashes.
```
```
The problem might have to do with dynamic libraries, as suggested in another mail by Eli.
Yes, that is likely. Copy the correct (non-cygwin) image DLLs in the emacs-22.1/bin directory, as that will be the first place Emacs looks for them before checking the PATH. If you don't know where your image libraries are and need to search for them, the potential names can be found by C-h v image-library-alist in a running copy of Emacs 22.1. Once you have found one, the others will most likely be in the same directory. Most likely it isthe xpm library that is causing the problem, since Emacs uses xpm toolbar icons and splash screen when it first starts up.
```

```