# Texmaker (Windows version) - first use - Error: Log file not found!

This is my first time using a LaTeX editor.

I installed the Windows version of Texmaker changing the C drive to D and leaving the rest of the install path the same.

Windows 7 Ultimate 64-bit

Texmaker 3.4.1 for Windows

I then did "A Local guide for using Texmaker" PDF

Basically create a simple Hello World document and save it.

When I went to process the file (Tools - PDFLaTeX) I received the Error: Log file not found!

I checked the configuration (Options -> configure Texmaker) and found no option for log files.

I checked for a log file under the D:\Program Files (x86)\Texmaker and found none.

I checked for a log path in the Windows registry using regedit and found none.

I checked the Texmaker issues and found Issue 97 but it does not help.

I then uninstalled and reinstalled Texmaker allowing it to use the default directory on the C drive. I still get the same error.

Any ideas?

EDIT

I installed MiKTeX as an administrator (didn't work as user) and chose the default options. After MiKTeX installed I was able to create a PDF file using Texmaker.

Also, correctly setting the PDF viewer options (Options -> Configure Texmaker -> Commands -> PDF Viewer) Built-in Viewer and Embed, I was able to preview the pdf in Texmaker (View -> PDF Viewer).

So, Texmaker is a LaTeX editor which generates a file containing LaTeX markup. MiKTeX is a program that converts the LaTeX markup into an output format such as PDF.

-
@GuyCoder See What are the advantages of TeX Live over MikTeX for some good advice on the choice between the two main distributions for Windows. You really can't go wrong with either one. See also TeX distribution and engine for more info on what a distribution is. See also How do I update my distribution. –  Alan Munn Jul 19 '12 at 23:59

You also need to install a `TeX` distribution, i.e. MiKTeX or TeX Live. The `TeX` distribution contains all the machinery needed to process source code and produce typeset documents; Texmaker is just a front end.

-

This also occurs if you already have an install of MikTex but for some reason it gets broken. As happened to me this morning :S The fix is to simply as MikTex to update. It will then tell you there is a problem as it can't find itself, but offers to fix the problem. Update any files you want to update eh Presto, problem solved.

-

I was using a portable version of miktex with texmaker. Before using the texmaker you need to click on the Miktex box, then a blue box appears at the bottom of your page. Then you can reopen the texmaker and it will work.

-

It is possible in when using a version of Texmaker based on QT5 that you get this error even with you Tex framework available on the path. Make sure that the document you are trying to compile has a .tex prefix, it will not work otherwise.

-
Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format. –  Claudio Fiandrino Jul 19 '13 at 18:38

If you still get error: Log file not found!, when using Texmaker when you have done everything (installed MiKTex, installed Texmaker, and checked if the binary for MiKTeX is already in your windows environment varible) then simply close the Texmaker and reopen it as an administrator. Right click on the executable for Texmaker and "Run as administrator". This worked for me!

-
This does not sound at all safe to me! (Is this safe on Windows? I know Windows is different...) –  cfr May 17 at 21:41
`C:\Program Files\MiKTeX 2.9\miktex\bin\x64`