# Makeindex in TeXnicCenter

I need to create an index in my document, so I put the following lines in my preambel

``````\usepackage{makeidx}
\usepackage{showidx}
\makeindex
``````

So, when compiling with TeXnicCenter, I noticed the following line in the log

``````Can't create output index file E:\...\doc.ind
``````

No further information on why - just this line. Of course, in the compiled document, there is no index (duh!) - So, why does this error ocurr and how can I get TeXnicCenter to produce the index file?

If I run makeindex myself over cmd, it runs smoothly and creates the index without a problem.

-

Wow, how do you figure out something like this? That's the last thing I would've checked... Still, a problem remains: When I index something using `\index{word}`, and I `\printindex` it, the entry is `indexfile, 7` instead of `word, 7` – Florian Peschka May 3 '11 at 6:49