Have you looked at Resources/make_language.log? If it&#39;s not obvious what&#39;s going on from that log file please post it here.<div><br></div><div>Actually, this is probably the root problem for PocketSphinxEngine crashing. The Decoder will indeed fail to initialize if the language models and dictionary are missing.</div>
<div><br></div><div>Thanks,</div><div>-Thomas<br><br><div class="gmail_quote">On Sat, Mar 27, 2010 at 5:59 AM, Deepak Kumar Gupta <span dir="ltr">&lt;<a href="mailto:deepakkg@iitk.ac.in">deepakkg@iitk.ac.in</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">








<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Hi,</span></p>

<pre><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">I am currently trying to do some work over the RavenClaw/Olympus software. I try to work through the first example of Olympus. But unfortunately I always get the following error when running “SystemBulid.pl”:</span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">*********************************************************************</span></pre><pre><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">SUMMARY:</span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> </span></pre><pre><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Grammar generation failed.</span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">See Resources\make_language.log for more information.</span></pre><pre><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> </span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Total Build Time: 0:34</span></pre><pre><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">*********************************************************************</span></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">I have copied the entire content of the “build.log” file below:</span></pre><pre><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> </span></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">BUILD_CONF... Release</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">BUILD_TYPE... Rebuild</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">OLYMPUS_ROOT... C:\Documents and Settings\Deepak\Desktop\olympus\2.5</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">BUILD_LOG... build.log</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">PROJECT_ROOT... C:\Documents and Settings\Deepak\Desktop\tutorial1\2.5</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">PROJECT... MyBus</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">CMAKE_PARAMS... </span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">LOGIOS_ROOT... C:\Documents and Settings\Deepak\Desktop\olympus\2.5\Tools\logios</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Detecting platform in use... Windows</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Searching for File::Spec Perl Module... Found</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Searching for File::Copy Perl Module... Found</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Searching for IPC::Open3 Perl Module... Found</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Searching for IO::Handle Perl Module... Found</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Searching for Getopt::Long Perl Module... Found</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Searching for Win32 Perl Module... Found</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Searching for Win32::API Perl Module... Found</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Searching for Win32::TieRegistry Perl Module... Found</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Creating bin\x86-nt directory for build output... Done</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Copying galaxy.jar from Olympus to bin\x86-nt... Done</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Copying jLibOlympusUtility.jar from Olympus to bin\x86-nt... Done</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Copying libOlympusUtility.dll from Olympus to bin\x86-nt... Done</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Checking if the project is using CMake... No</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Searching for maximum valid Visual Studio version... Visual Studio 2008 Found</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Searching for Sun Java JDK... Found</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Searching for NetBeans&#39; Apache Ant... Found</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"> </span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Replacing %OLYMPUS_ROOT% with ..\..\olympus\2.5 in solution...</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Running command: &quot;C:\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages\vcbuild.exe&quot; &quot;C:\Documents and Settings\Deepak\Desktop\tutorial1\2.5\System.sln&quot; /M2 /rebuild &quot;Release|Win32&quot;</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"> </span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Microsoft (R) Visual C++ Project Builder - Command Line Version 9.00.30729</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Copyright (C) Microsoft Corporation. All rights reserved.</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"> </span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">1&gt;Rebuild started: Project: RavenClawDM, Configuration: Release|Win32</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">1&gt;Deleting intermediate and output files for project &#39;RavenClawDM&#39;, configuration &#39;Release|Win32&#39;</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">1&gt;Compiling...</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">cl : Command line warning D9035 : option &#39;Wp64&#39; has been deprecated and will be removed in a future release</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">1&gt;DialogTask.cpp</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">1&gt;Linking...</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">1&gt;Embedding manifest...</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">1&gt;Performing Post-Build Event...</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">1&gt;        1 file(s) copied.</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">1&gt;Build log was saved at &quot;file://c:\Documents and Settings\Deepak\Desktop\tutorial1\2.5\Agents\RavenClawDM\Release\BuildLog.htm&quot;</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">1&gt;RavenClawDM - 0 error(s), 1 warning(s)</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"> </span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Build complete: 1 Projects succeeded, 0 Projects failed, 0 Projects skipped</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"> </span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">*********************************************************************</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">SUMMARY:</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"> </span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Grammar generation failed.</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">See Resources\make_language.log for more information.</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"> </span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">Total Build Time: 0:34</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">*********************************************************************</span></i></pre>
<pre><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> </span></pre>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Can
you please guide me where I am going wrong and possible rectifications.</span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Any
help will be highly appreciated.</span></p>

<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Regards,</span></p>

<p><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Deepak
Kumar Gupta</span></p>

<p><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">4&#39;th
year student</span></p>

<p><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Department
of Computer Science and Engineering,</span></p>

<p><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Indian
Institute of Technology Kanpur,</span></p>

<p><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">India</span></p>

<pre> </pre><pre><b> </b></pre>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

</div>

</div>


</blockquote></div><br></div>