Have you looked at Resources/make_language.log? If it's not obvious what'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"><<a href="mailto:deepakkg@iitk.ac.in">deepakkg@iitk.ac.in</a>></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:"Times New Roman","serif"">Hi,</span></p>
<pre><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">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:"Times New Roman","serif"">*********************************************************************</span></pre><pre><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">SUMMARY:</span></pre>
<pre><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></pre><pre><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Grammar generation failed.</span></pre>
<pre><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">See Resources\make_language.log for more information.</span></pre><pre><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></pre>
<pre><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Total Build Time: 0:34</span></pre><pre><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">*********************************************************************</span></pre>
<pre><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">I have copied the entire content of the “build.log” file below:</span></pre><pre><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">BUILD_CONF... Release</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">BUILD_TYPE... Rebuild</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";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:"Times New Roman","serif";color:#1F497D">BUILD_LOG... build.log</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";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:"Times New Roman","serif";color:#1F497D">PROJECT... MyBus</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">CMAKE_PARAMS... </span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";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:"Times New Roman","serif";color:#1F497D">Detecting platform in use... Windows</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Searching for File::Spec Perl Module... Found</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Searching for File::Copy Perl Module... Found</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Searching for IPC::Open3 Perl Module... Found</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Searching for IO::Handle Perl Module... Found</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Searching for Getopt::Long Perl Module... Found</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Searching for Win32 Perl Module... Found</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Searching for Win32::API Perl Module... Found</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Searching for Win32::TieRegistry Perl Module... Found</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Creating bin\x86-nt directory for build output... Done</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";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:"Times New Roman","serif";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:"Times New Roman","serif";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:"Times New Roman","serif";color:#1F497D">Checking if the project is using CMake... No</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";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:"Times New Roman","serif";color:#1F497D">Searching for Sun Java JDK... Found</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Searching for NetBeans' Apache Ant... Found</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Replacing %OLYMPUS_ROOT% with ..\..\olympus\2.5 in solution...</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Running command: "C:\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages\vcbuild.exe" "C:\Documents and Settings\Deepak\Desktop\tutorial1\2.5\System.sln" /M2 /rebuild "Release|Win32"</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";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:"Times New Roman","serif";color:#1F497D">Copyright (C) Microsoft Corporation. All rights reserved.</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">1>Rebuild started: Project: RavenClawDM, Configuration: Release|Win32</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">1>Deleting intermediate and output files for project 'RavenClawDM', configuration 'Release|Win32'</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">1>Compiling...</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">1>DialogTask.cpp</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">1>Linking...</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">1>Embedding manifest...</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">1>Performing Post-Build Event...</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">1> 1 file(s) copied.</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">1>Build log was saved at "file://c:\Documents and Settings\Deepak\Desktop\tutorial1\2.5\Agents\RavenClawDM\Release\BuildLog.htm"</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">1>RavenClawDM - 0 error(s), 1 warning(s)</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";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:"Times New Roman","serif";color:#1F497D"> </span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">*********************************************************************</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">SUMMARY:</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Grammar generation failed.</span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">See Resources\make_language.log for more information.</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></i></pre>
<pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Total Build Time: 0:34</span></i></pre><pre><i><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">*********************************************************************</span></i></pre>
<pre><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> </span></pre>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">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:"Times New Roman","serif"">Any
help will be highly appreciated.</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Regards,</span></p>
<p><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Deepak
Kumar Gupta</span></p>
<p><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">4'th
year student</span></p>
<p><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Department
of Computer Science and Engineering,</span></p>
<p><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">Indian
Institute of Technology Kanpur,</span></p>
<p><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">India</span></p>
<pre> </pre><pre><b> </b></pre>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
</div>
</div>
</blockquote></div><br></div>