Menu

#1510 Problem with compiler

None
closed
nobody
None
1
2015-10-30
2015-10-09
Anonymous
No

I have searched every where and done all the suggestions found but still I recieve this message:
Could not start default compiler: PdfLateX: pdflatex.exe -syntex=1 -interaction=nonstopmode ...
I have changed the address of the compiler in the configuration but still revieve this error for everything, even for the included templates in the TeXstudio. Below is the result of Check Latex Installation:
where pdflatex:

PDFLATEX: "C:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdflatex -version

Environment variables:
CommonProgramW6432=C:\Program Files\Common Files
ComSpec=C:\WINDOWS\system32\cmd.exe
VSTO_SUPPRESSDISPLAYALERTS=0
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 69 Stepping 1, GenuineIntel
FP_NO_HOST_CHECK=NO
OS=Windows_NT
HOMEDRIVE=C:
SystemRoot=C:\WINDOWS
USERDOMAIN_ROAMINGPROFILE=UIA
=::=::\ VSTO_LOGALERTS=1
TEMP=C:\Users\hosseinb\AppData\Local\Temp
VSTO_SUPPRESSDISPLAYALERTS =0
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
USERPROFILE=C:\Users\hosseinb
ProgramFiles(x86)=C:\Program Files (x86)
CommonProgramFiles=C:\Program Files (x86)\Common Files
SystemDrive=C:
asl.log=Destination=file
USERDNSDOMAIN=UIA.NO
HOMEPATH=\Users\hosseinb
windir=C:\WINDOWS
windows_tracing_flags=3
PROCESSOR_ARCHITEW6432=AMD64
ProgramData=C:\ProgramData
PROCESSOR_REVISION=4501
ALLUSERSPROFILE=C:\ProgramData
CPLEX_STUDIO_DIR1261=C:\Program Files\IBM\ILOG\CPLEX_Studio1261
APPDATA=\filgrms1\u03$\hosseinb\AppData\Roaming
PROCESSOR_ARCHITECTURE=x86
PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public
ProgramFiles=C:\Program Files (x86)
LOGONSERVER=\ADGRM01
CPLEX_STUDIO_BINARIES1261=C:\Program Files\IBM\ILOG\CPLEX_Studio1261\opl\bin\x64_win64;C:\Program Files\IBM\ILOG\CPLEX_Studio1261\opl\oplide\;C:\Program Files\IBM\ILOG\CPLEX_Studio1261\cplex\bin\x64_win64;C:\Program Files\IBM\ILOG\CPLEX_Studio1261\cpoptimizer\bin\x64_win64
USERNAME=hosseinb
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
PROCESSOR_LEVEL=6
UATDATA=C:\Windows\SysWOW64\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
ProgramW6432=C:\Program Files
SESSIONNAME=Console
TMP=C:\Users\hosseinb\AppData\Local\Temp
NUMBER_OF_PROCESSORS=4
COMPUTERNAME=UIAA034431B
USERDOMAIN=UIA
LOCALAPPDATA=C:\Users\hosseinb\AppData\Local
Path=C:\Program Files\IBM\ILOG\CPLEX_Studio1261\opl\bin\x64_win64;C:\Program Files\IBM\ILOG\CPLEX_Studio1261\opl\oplide\;C:\Program Files\IBM\ILOG\CPLEX_Studio1261\cplex\bin\x64_win64;C:\Program Files\IBM\ILOG\CPLEX_Studio1261\cpoptimizer\bin\x64_win64;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\MATLAB\R2013a\runtime\win64;C:\Program Files\MATLAB\R2013a\bin;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files (x86)\QuickTime\QTSystem\

Setting file:
\filgrms1\u03$\hosseinb\AppData\Roaming\texstudio\texstudio.ini

Command configuration in TeXstudio:
PS Chain (ps-chain): txs:///latex | txs:///dvips | txs:///view-ps
Makeglossaries (makeglossaries): makeglossaries.exe %
SVN (svn):
Ghostscript (gs): mgs.exe "?am.ps"
Biber (biber):
Makeindex (makeindex): makeindex.exe %.idx
DVI->PS->PDF Chain (dvi-ps-pdf-chain): txs:///latex | txs:///dvips | txs:///ps2pdf | txs:///view-pdf
Default Bibliography Tool (bibliography): txs:///bibtex
BibTeX (bibtex): bibtex.exe %
XeLaTeX (xelatex) (r): xelatex.exe -synctex=1 -interaction=nonstopmode %.tex
Default Viewer (view): txs:///view-pdf
Default Glossary Tool (glossary): txs:///makeglossaries
DVI Viewer (view-dvi): "C:\Program Files\MiKTeX 2.9\miktex\bin\x64\yap.exe" -1 -s @?"c:ame "?am.dvi"
Internal Precompile (internal-pre-compile): txs:///pre-compile | txs:///conditionally-recompile-bibliography
PDF Chain (pdf-chain): txs:///pdflatex | txs:///view-pdf
Recompile Bibliography (recompile-bibliography): txs:///compile | txs:///bibliography | txs:///compile
External PDF Viewer (view-pdf-external): "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe" "?am.pdf"
Asymptote DVI Chain (asy-dvi-chain): txs:///latex | txs:///asy | txs:///latex | txs:///view-dvi
LaTeX (latex) (r): latex.exe -src -interaction=nonstopmode %.tex
PS Viewer (view-ps):
DVI Chain (dvi-chain): txs:///latex | txs:///view-dvi
LuaLaTeX (lualatex) (r): lualatex.exe -synctex=1 -interaction=nonstopmode %.tex
PDF Viewer (view-pdf): txs:///view-pdf-internal --embedded
Default Compiler (compile) (r): txs:///pdflatex
Asymptote PDF Chain (asy-pdf-chain): txs:///pdflatex | txs:///asy | txs:///pdflatex | txs:///view-pdf
Asymptote (asy):
Build & View (quick): txs:///compile | txs:///view
DVI->PDF Chain (dvi-pdf-chain): txs:///latex | txs:///dvipdf | txs:///view-pdf
Latexmk (latexmk): latexmk -pdf -silent -latexoption="-synctex=1" %
Texindy (texindy):
DviPs (dvips): dvips.exe -o %.ps %.dvi
PdfLaTeX (pdflatex) (r): "C:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdflatex.exe" -synctex=1 -interaction=nonstopmode %.tex
Ps2Pdf (ps2pdf): ps2pdf.exe %.ps
Default Index Tool (index): txs:///makeindex
BibTeX 8-Bit (bibtex8): bibtex8.exe %
SVNADMIN (svnadmin):
Precompile (pre-compile):
DviPdf (dvipdf): dvipdfm.exe %.dvi
Metapost (metapost): mpost.exe -interaction=nonstopmode ?me)
DviPng (dvipng): dvipng.exe -T tight -D 120 %.dvi

Additional Search Paths:
Command:
Log:
Pdf:

1 Attachments

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2015-10-09

    Please try the following things:

    • You used a new unsaved file, so that TXS will try to write it in a temporary file and compile that. Does the error happen as well if you save the file to disk?
    • If so, does the error happen as well if you run the same pdflatex call from the command line?
     
  • Benito van der Zander

    The message in the dialog is strange, but it seems pdflatex is actually successfully started, so it has nothing to do with the command config.

    Check that you have MikTeX properly installed. Perhaps deinstall and reinstall it.

    And the letter class does not like \closing{}. Remove it or fill something in like \closing{abc}

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2015-10-30

    no feedback

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2015-10-30
    • status: open --> closed
    • Group: -->
     

Log in to post a comment.