From erelsgl at gmail.com Sun Jun 3 03:58:44 2012 From: erelsgl at gmail.com (Erel Segal Halevi) Date: Sun, 3 Jun 2012 10:58:44 +0300 Subject: [Olympus developers 353]: Re: CMU Olympus *nix Conversion Status Message-ID: What about the NLU component - Phoenix? Is there a way to use only this component in a Linux system? -- Erel Segal Halevi -------------------- Some work has been done on this but it is not complete. The Ravenclaw code was written to minimize dependence on Windows (with a view to an eventual port). The key issue is finding/writing a substitute for the Microsoft string library. I expect there are syntax issues. Note that the messaging layer is written in Python. From: olympus-developers-bounces at mailman.srv.cs.cmu.edu [mailto:olympus-developers-bounces at mailman.srv.cs.cmu.edu ] On Behalf Of Chris E Sent: Monday, May 07, 2012 3:01 PM To: olympus-developers at cs.cmu.edu Subject: [Olympus developers 343]: CMU Olympus *nix Conversion Status Hello, I recently came across the CMU Olympus Framework and I am interested in learning about the challenges and progress in running Olympus in an embedded linux environment (e.g. robots, cars, smart phones, etc). I read the following threads:http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/2009-January/000082.htmlhttp://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/2009-January/000083.html I was just wondering if anything has changed since then, and what kinds of issues would developers face when trying to port Olympus (memory, windows API dependencies, CPU, etc). In particular I have been looking at the RavenClaw Dialogue system so I would be interested in learning more about the difficulties for this task with respect to this module. Thank you so much for your time and help. I look forward to hearing from you. Best regards, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20120603/5a5d03cb/attachment.html From erelsgl at gmail.com Wed Jun 6 06:45:30 2012 From: erelsgl at gmail.com (Erel Segal Halevi) Date: Wed, 6 Jun 2012 13:45:30 +0300 Subject: [Olympus developers 356]: Re: CMake question Message-ID: I had the same problem as quoted below. The relevant code is OlympusBuild.pm:1072: my $kitwareKey = $Win32::TieRegistry::Registry->{'LMachine/SOFTWARE/Kitware/'}; Actually, on my Windows 7/64bit, I have this key: *HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Kitware\CMake 2.8.8* So, maybe the check is invalid? Anyway, I solved this by setting the environment variable "CMAKE_HOME" to "C:\Program Files (x86)\CMake 2.8". I think this should be documented somewhere. -- Erel --------------------------- That's weird, it really looks like you are missing Windows SDK, Visual Studio and CMake. Did you restart your computer in between the install of those and running the build script? I'm not sure how the scripts looks for those dependencies (whether it's a registry look-up, or uses the environment variable PATH), but that's probably what I would look into if I were you. I know of people who successfully installed Olympus on Win 7 64 bits machine, so it's doable. Gabriel apapangelis at iit.demokritos.gr wrote: >* Hello,*>**>* I've been trying to install Olympus on my system, Windows 7 64bit - SP1. I*>* have installed everything, including cmake 2.6.4 and I keep getting an*>* error that cmake was not found. I've tried later versions as well and*>* nothing works. I've also checked the Path variable and it contains the*>* cmake path. Am I doing something wrong? The log is:*>**>* BUILD_CONF... Release*>* BUILD_TYPE... Build*>* OLYMPUS_ROOT... .*>* BUILD_LOG... build.log*>* CMAKE_PARAMS...*>* LOGIOS_ROOT... Tools\logios*>* Detecting platform in use... Windows*>* Searching for File::Spec Perl Module... Found*>* Searching for File::Copy Perl Module... Found*>* Searching for IPC::Open3 Perl Module... Found*>* Searching for IO::Handle Perl Module... Found*>* Searching for Getopt::Long Perl Module... Found*>* Searching for Win32 Perl Module... Found*>* Searching for Win32::API Perl Module... Found*>* Searching for Win32::TieRegistry Perl Module... Found*>* Searching for Windows SDK 6.1 (for Windows Server 2008) or newer... Found*>* v7.0*>* Searching for the SimpleAudio SAPI Example Project... Not Found*>* Could not find the SimpleAudio DLL SAPI Example Solution.*>* Did you install the Win32 examples when installing the SDK for*>* Windows 7?*>**>* Searching for Microsoft SAPI SDK... Found*>* Copying SAPI SDK Fixup... Can't copy SDK fixup*>* Do you have permission to write to C:\Program Files\Microsoft*>* SDKs\Windows\v7.0\?*>* Cannot find the Microsoft SAPI SDK 5.1 or newer.*>* Install the SAPI 5.3 SDK by installing the Microsoft Windows SDK for*>* Windows 7, along with the included Win32*>* samples, from http://msdn.microsoft.com/en-us/windows/bb980924.aspx*>**>* Creating bin\x86-nt directory for build output... Done*>* Searching for TortoiseSVN... Found*>* Checking if the project is using CMake... Yes*>* Searching for CMake 2.6 or higher... Not Found*>* KitWare key: The handle is invalid*>* Did you install CMake?*>* http://www.cmake.org/cmake/cmake/resources/software.html*>* Searching for maximum valid Visual Studio version... Not Found*>* Please install Microsoft Visual Studio 2005 or 2008.*>* Searching for Sun Java JDK... Found*>* Searching for Apache Ant... Found*>**>* Error during configure stage. Please fix and run the script again.*>* **********************************************************************>* SUMMARY:*>* Could not find the SimpleAudio DLL SAPI Example Solution.*>* Did you install the Win32 examples when installing the SDK for*>* Windows 7?*>**>* Can't copy SDK fixup*>* Cannot find the Microsoft SAPI SDK 5.1 or newer.*>* Install the SAPI 5.3 SDK by installing the Microsoft Windows SDK for*>* Windows 7, along with the included Win32*>* samples, from http://msdn.microsoft.com/en-us/windows/bb980924.aspx*>**>* KitWare key: The handle is invalid*>* Did you install CMake?*>* http://www.cmake.org/cmake/cmake/resources/software.html*>* Please install Microsoft Visual Studio 2005 or 2008.*>* Error during configure stage. Please fix and run the script again.*>**>* Total Build Time: 0:00*>* **********************************************************************>**>**>* Thank you for your help,*>* Alexandros Papangelis*>**>* * -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20120606/f7a09cee/attachment.html From erelsgl at gmail.com Wed Jun 6 07:13:44 2012 From: erelsgl at gmail.com (Erel Segal Halevi) Date: Wed, 6 Jun 2012 14:13:44 +0300 Subject: [Olympus developers 357]: Re: SimpleAudio error involving with 'atlbase.h' Message-ID: I have the same problem as quoted below. I Googled for this error of missing atlbase.h, and found out that it is usually associated with Visual Studio Express 2008, since the express version does not include ATL. However, I have Visual Studio 2010 Professional, and actually I DO have the file "atlbase.h" in this path: "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include" Why does the compiler not find it? (P.S. also note the warning: "option 'Wp64' has been deprecated and will be removed in a future release"). Here is the relevant part of my build.log: BUILD_CONF... Release BUILD_TYPE... Build OLYMPUS_ROOT... . BUILD_LOG... build.log CMAKE_PARAMS... LOGIOS_ROOT... Tools\logios Detecting platform in use... Windows Searching for File::Spec Perl Module... Found Searching for File::Copy Perl Module... Found Searching for IPC::Open3 Perl Module... Found Searching for IO::Handle Perl Module... Found Searching for Getopt::Long Perl Module... Found Searching for Win32 Perl Module... Found Searching for Win32::API Perl Module... Found Searching for Win32::TieRegistry Perl Module... Found Searching for Windows SDK 6.1 (for Windows Server 2008) or newer... Found v7.0 Searching for the SimpleAudio SAPI Example Project... Found Creating bin\x86-nt directory for build output... Done Searching for TortoiseSVN... Found Checking if the project is using CMake... Yes Searching for CMake 2.6 or higher... Searching for maximum valid Visual Studio version... Visual Studio 2008 Found Searching for Sun Java JDK... Found Searching for NetBeans Ant... Found 7.1 Running command: "C:\Program Files\TortoiseSVN\bin\SubWCRev.exe" "C:\olympus" Build\SVN_Data_Template.h Build\SVN_Data.h -f SubWCRev: 'C:\olympus' Last committed at revision 3671 Updated to revision 3786 Local modifications found Running command: "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\VCPackages\vcbuild.exe" "C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\winui\speech\simpleAudio\SimpleAudio.sln" /M2 "Release|Win32" Microsoft (R) Visual C++ Project Builder - Command Line Version 9.00.30729 Copyright (C) Microsoft Corporation. All rights reserved. 1>Build started: Project: SimpleAudio, Configuration: Release|Win32 1>Creating Type Library... 1>Processing .\SimpleAudio.idl 1>SimpleAudio.idl 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\oaidl.idl 1>oaidl.idl 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\objidl.idl 1>objidl.idl 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\unknwn.idl 1>unknwn.idl 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\wtypes.idl 1>wtypes.idl 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\basetsd.h 1>basetsd.h 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\guiddef.h 1>guiddef.h 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\ocidl.idl 1>ocidl.idl 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\oleidl.idl 1>oleidl.idl 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\servprov.idl 1>servprov.idl 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\urlmon.idl 1>urlmon.idl 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\msxml.idl 1>msxml.idl 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\sapi.idl 1>sapi.idl 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\oaidl.acf 1>oaidl.acf 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\ocidl.acf 1>ocidl.acf 1>Compiling... cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release 1>StdAfx.cpp 1>c:\program files\microsoft sdks\windows\v7.0\samples\winui\speech\simpleaudio\stdafx.h(23) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory 1>Build log was saved at "file://c:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\winui\speech\simpleaudio\Release\BuildLog.htm" SimpleAudio has 1 errors 1>SimpleAudio - 1 error(s), 1 warning(s) Build complete: 0 Projects succeeded, 1 Projects failed, 0 Projects skipped Problem building Visual Studio Solution: SimpleAudio.sln. Problem building the required SAPI SimpleAudio DLL example. Was it installed correctly? ---- *roni.benaharon at gm.com* roni.benaharon at gm.com *Sun Sep 12 10:09:05 EDT 2010* Hi there, I am trying to build Olympus (perl OlympusBuild.pl). In the resulted log, I see that there is one fatal error, which involves with "atlbase.h": -------------- 1>ocidl.acf 1>Compiling... cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release 1>StdAfx.cpp 1>c:\program files\microsoft sdks\windows\v7.0\samples\winui\speech\simpleaudio\stdafx.h(23) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory 1>Build log was saved at "file://c:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\winui\speech\simpleaudio\Release\BuildLog.htm" SimpleAudio has 1 errors 1>SimpleAudio - 1 error(s), 1 warning(s) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20120606/b8af4996/attachment-0001.html From erelsgl at gmail.com Wed Jun 6 07:18:15 2012 From: erelsgl at gmail.com (Erel Segal Halevi) Date: Wed, 6 Jun 2012 14:18:15 +0300 Subject: [Olympus developers 358]: CMake was unable to find a build program Message-ID: Running perl OlympusBuildFlite.pl, I get the following build log: BUILD_CONF... Release BUILD_TYPE... Build OLYMPUS_ROOT... . BUILD_LOG... build.log CMAKE_PARAMS... -D KALLIOPE_USE_FLITE:BOOL=yes -D KALLIOPE_USE_SAPI:BOOL=no LOGIOS_ROOT... Tools\logios Detecting platform in use... Windows Searching for File::Spec Perl Module... Found Searching for File::Copy Perl Module... Found Searching for IPC::Open3 Perl Module... Found Searching for IO::Handle Perl Module... Found Searching for Getopt::Long Perl Module... Found Searching for Win32 Perl Module... Found Searching for Win32::API Perl Module... Found Searching for Win32::TieRegistry Perl Module... Found Creating bin\x86-nt directory for build output... Done Searching for TortoiseSVN... Found Checking if the project is using CMake... Yes Searching for CMake 2.6 or higher... Searching for maximum valid Visual Studio version... Visual Studio 2008 Found Searching for Sun Java JDK... Found Searching for NetBeans Ant... Found 7.1 Running command: "C:\Program Files\TortoiseSVN\bin\SubWCRev.exe" "C:\olympus" Build\SVN_Data_Template.h Build\SVN_Data.h -f SubWCRev: 'C:\olympus' Last committed at revision 3671 Updated to revision 3786 Local modifications found Running command: "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -G "Visual Studio 9 2008" -D KALLIOPE_USE_FLITE:BOOL=yes -D KALLIOPE_USE_SAPI:BOOL=no ../.. CMake Error: CMake was unable to find a build program corresponding to "Visual Studio 9 2008". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: Could not find cmake module file:C:/olympus/Build/cmake/CMakeFiles/CMakeCCompiler.cmake CMake Error: Could not find cmake module file:C:/olympus/Build/cmake/CMakeFiles/CMakeCXXCompiler.cmake -- Configuring incomplete, errors occurred! CMake did not generate a Visual Studio solution .... I have Microsoft Visual Studio 2010 Professional, on Windows 7 64bit, with CMake 2.8.8. -- Thank you, -- Erel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20120606/d69e850b/attachment.html From erelsgl at gmail.com Wed Jun 6 08:42:10 2012 From: erelsgl at gmail.com (Erel Segal Halevi) Date: Wed, 6 Jun 2012 15:42:10 +0300 Subject: [Olympus developers 359]: Phoenix documentation - broken links Message-ID: In the Phoenix documentation: http://wiki.speech.cs.cmu.edu/olympus/index.php/Phoenix The first two link ( Galaxy -wrapped version of the Phoenix ) are broken. Also the link Phoenix manualis broken. Maybe you should link to the file in the SVN: http://trac.speech.cs.cmu.edu/olympus/browser/branches/Talkie/olympus/Tools/logios/Tools/MakeGra/doc/Phoenix_Manual.pdf?rev=3244 -- Erel Segal Halevi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20120606/0825bb2f/attachment.html From valtervicente at ua.pt Wed Jun 6 07:29:55 2012 From: valtervicente at ua.pt (Valter Vicente) Date: Wed, 06 Jun 2012 12:29:55 +0100 Subject: [Olympus developers 360]: Support to Visual Studio 2010? Message-ID: <4FCF3F33.9070401@ua.pt> Greetings. I'm trying to use Olympus in an University project and I would like to know if it's easy to change the code or somehow make it build and work with Visual Studio 2010. I've downloaded the trunk version and the perl file for building, at some point, refers the 2010 version, but it still doesn't accept it. Could someone help me out? Thanks in advance. Valter Vicente From erelsgl at gmail.com Thu Jun 7 03:51:57 2012 From: erelsgl at gmail.com (Erel Segal Halevi) Date: Thu, 7 Jun 2012 10:51:57 +0300 Subject: [Olympus developers 361]: MaxParses in Phoenix Message-ID: Trying to compile Phoenix on Linux, I get the following error: ../Server/phoenix_serv.c: In function ?send_to_parse?: ../Server/phoenix_serv.c:141: error: ?MaxParses? undeclared (first use in this function) I looked for the string "MaxParses" in the entire Phoenix project, but haven't found it outside this line: if( num_parses > MaxParses ) num_parses = MaxParses; Where is it defined? -- Erel Segal Halevi? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20120607/d1977ee4/attachment.html From apurvtwr at gmail.com Thu Jun 7 09:59:34 2012 From: apurvtwr at gmail.com (apurv tiwari) Date: Thu, 7 Jun 2012 19:29:34 +0530 Subject: [Olympus developers 362]: Olympus with Asterisk PBX Message-ID: Hello Everyone, I am working on a project that requires integration of Olympus with Asterisk/FreeSwitch PBX. If I understand correctly, VoIP is currently not functionality available with Olympus project. Could someone here tell me what changes are required to make this functional? If successful, I also wish to add the source to the subversion. Thanks, - Apurv Tiwari -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20120607/029ee7b6/attachment.html From aasish at cs.cmu.edu Thu Jun 7 10:21:31 2012 From: aasish at cs.cmu.edu (Aasish Pappu) Date: Thu, 7 Jun 2012 10:21:31 -0400 Subject: [Olympus developers 363]: Re: Olympus with Asterisk PBX In-Reply-To: References: Message-ID: Hi Apurv, I have some experience with integrating Freeswitch with some of the components in Olympus running on a linux box, however that some of that code is not in a publishable state. But, I have another codebase where AudioServer reads audio data over TCP socket (instead of the device) which can be a good place to start. So you can run Olympus on a Windows machine and feed data from Freeswitch client to the AudioServer. http://trac.speech.cs.cmu.edu/olympus/browser/branches/ravioly/Agents/MultiDecoder/AudioServer You can use the above version of AudioServer with the any version of olympus that you are using. Particularly, you want to look at ProcessNetworkAudio in LiveMode.cpp. On Thu, Jun 7, 2012 at 9:59 AM, apurv tiwari wrote: > Hello Everyone, > I am working on a project that requires integration of Olympus with > Asterisk/FreeSwitch PBX. If I understand correctly, VoIP is currently not > functionality available with Olympus project. > > Could someone here tell me what changes are required to make this > functional? If successful, I also wish to add the source to the subversion. > > Thanks, > - > Apurv Tiwari > > -- > Aasish Pappu > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20120607/df94b1fb/attachment-0001.html From joseg at cs.cmu.edu Thu Jun 7 13:01:48 2012 From: joseg at cs.cmu.edu (=?ISO-8859-1?Q?Jos=E9_P=2E_Gonz=E1lez=2DBrenes?=) Date: Thu, 7 Jun 2012 10:01:48 -0700 Subject: [Olympus developers 364]: Re: Olympus with Asterisk PBX In-Reply-To: References: Message-ID: I implemented VoIP for Olympus (not with Asterisk/FreeSwitch). It worked ok, but the ASR recognition was a little bit lower, and I didn't look into that. I used a virtual soundboard. Olympus would synthesize and decode from this virtual soundboard, and the VoIP module would read and write to this virtual soundboard :) Cheers, Jose On Thu, Jun 7, 2012 at 6:59 AM, apurv tiwari wrote: > Hello Everyone, > I am working on a project that requires integration of Olympus with > Asterisk/FreeSwitch PBX. If I understand correctly, VoIP is currently not > functionality available with Olympus project. > > Could someone here tell me what changes are required to make this > functional? If successful, I also wish to add the source to the subversion. > > Thanks, > - > Apurv Tiwari > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20120607/af14d60d/attachment.html From apurvtwr at gmail.com Thu Jun 7 13:31:05 2012 From: apurvtwr at gmail.com (apurv tiwari) Date: Thu, 7 Jun 2012 23:01:05 +0530 Subject: [Olympus developers 365]: Re: Olympus with Asterisk PBX In-Reply-To: References: Message-ID: Hi Aasish, Thanks for a quick reply. If I understand correctly, in your implementation is independent of what PBX I use as long as FreeSwitch or Asterisk feed audio through this socket connection? I will be testing this implementation on my end. Thanks again. - Apurv Tiwari On Thu, Jun 7, 2012 at 7:51 PM, Aasish Pappu wrote: > Hi Apurv, > > I have some experience with integrating Freeswitch with some of the > components in Olympus running on a linux box, however that some of that > code is not in a publishable state. > > But, I have another codebase where AudioServer reads audio data over TCP > socket (instead of the device) which can be a good place to start. So you > can run Olympus > on a Windows machine and feed data from Freeswitch client to the > AudioServer. > > > http://trac.speech.cs.cmu.edu/olympus/browser/branches/ravioly/Agents/MultiDecoder/AudioServer > > > You can use the above version of AudioServer with the any version of > olympus that you are using. Particularly, you want to look at > ProcessNetworkAudio in LiveMode.cpp. > > > > On Thu, Jun 7, 2012 at 9:59 AM, apurv tiwari wrote: > >> Hello Everyone, >> I am working on a project that requires integration of Olympus with >> Asterisk/FreeSwitch PBX. If I understand correctly, VoIP is currently not >> functionality available with Olympus project. >> >> Could someone here tell me what changes are required to make this >> functional? If successful, I also wish to add the source to the subversion. >> >> Thanks, >> - >> Apurv Tiwari >> >> -- >> Aasish Pappu >> >> >> >> >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20120607/850befc3/attachment.html From kiterunner90 at gmail.com Thu Jun 14 16:51:44 2012 From: kiterunner90 at gmail.com (SACHIN GUPTA) Date: Fri, 15 Jun 2012 02:21:44 +0530 Subject: [Olympus developers 366]: VoIP configuration for phone Message-ID: Hi, I want to develop a Voip application on Olympus 2.5, a system where user calls in and get some information similar to roomline and conquest systems. I am new in using Ravenclaw and I cannot figure out the configuration settings for phone based system as all trial systems have been given Desktop configuration settings while the others have older configurations for phone based. I checked out the Voip based branch but cannot figure out how to develop the end-to-end link. Can someone guide me for what exactly needs to be done after I have an olympus system and trial roomline system ready with me. -- Thanks Sachin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20120614/58b87f30/attachment.html From erelsgl at gmail.com Sun Jun 17 01:56:19 2012 From: erelsgl at gmail.com (Erel Segal Halevi) Date: Sun, 17 Jun 2012 08:56:19 +0300 Subject: [Olympus developers 367]: CMAKE_MAKE_PROGRAM is not set Message-ID: With branch 2.5.1, and Visual Studio 2010 professional, I get the following error in build.log. Is it possible that Olympus only works with VS 2008? --- BUILD_CONF... Release BUILD_TYPE... Build OLYMPUS_ROOT... . BUILD_LOG... build.log CMAKE_PARAMS... -D KALLIOPE_USE_FLITE:BOOL=yes -D KALLIOPE_USE_SAPI:BOOL=no LOGIOS_ROOT... Tools\logios Detecting platform in use... Windows Searching for File::Spec Perl Module... Found Searching for File::Copy Perl Module... Found Searching for IPC::Open3 Perl Module... Found Searching for IO::Handle Perl Module... Found Searching for Getopt::Long Perl Module... Found Searching for Win32 Perl Module... Found Searching for Win32::API Perl Module... Found Searching for Win32::TieRegistry Perl Module... Found Creating bin\x86-nt directory for build output... Done Searching for TortoiseSVN... Found Checking if the project is using CMake... Yes Searching for CMake 2.6 or higher... Searching for maximum valid Visual Studio version... Visual Studio 2008 Found Searching for Sun Java JDK... Found Searching for NetBeans Ant... Found 7.1 Running command: "C:\Program Files\TortoiseSVN\bin\SubWCRev.exe" "C:\olympus" Build\SVN_Data_Template.h Build\SVN_Data.h -f SubWCRev: 'C:\olympus' Last committed at revision 3727 Updated to revision 3919 Running command: "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -G "Visual Studio 9 2008" -D KALLIOPE_USE_FLITE:BOOL=yes -D KALLIOPE_USE_SAPI:BOOL=no ../.. CMake Error: CMake was unable to find a build program corresponding to "Visual Studio 9 2008". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: Could not find cmake module file:C:/olympus/Build/cmake/ CMakeFiles/CMakeCCompiler.cmake CMake Error: Could not find cmake module file:C:/olympus/Build/cmake/ CMakeFiles/CMakeCXXCompiler.cmake -- Configuring incomplete, errors occurred! CMake did not generate a Visual Studio solution On Sun, Jun 10, 2012 at 12:40 PM, yaron winter wrote: > Hi Erel, > > I started digging into your compilation messages. > > I noticed that you use an older version than mine. > I remember that they (CMU people) instructed us specifically to use > version 2.5.1 (which is not reffered to by the download page), as the > regular 2.5 is liable to various issues. > > So, here is the path for 2.5.1: > > http://trac.speech.cs.cmu.edu/repos/olympus/tags/2.5.1/ > > Than it would be best to install and run also their test environment: > > http://trac.speech.cs.cmu.edu/repos/olympus/example-systems/POI1.0/ > > The readme file in the POI applicatopm provides instructions for getting > started. > I would, thus, start by reinstalling the Olympus, using version 2.51. > > Good luck and keep me posted, > > Yaron > > > On Sun, Jun 10, 2012 at 8:22 AM, Erel Segal Halevi wrote: > >> OK, I managed to solve this and many other problems, but now I'm again >> against a wall. >> >> I Googled for this error of missing atlbase.h, and found out that it is >> usually associated with Visual Studio Express 2008, since the express >> version does not include ATL. >> >> However, I have Visual Studio 2010 Professional, and actually I DO have the >> file "atlbase.h" in this path: >> "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include" >> >> Why does the compiler not find it? >> >> ----- >> >> Here is the relevant part of my build.log: >> >> BUILD_CONF... Release >> BUILD_TYPE... Build >> OLYMPUS_ROOT... . >> BUILD_LOG... build.log >> CMAKE_PARAMS... >> LOGIOS_ROOT... Tools\logios >> Detecting platform in use... Windows >> Searching for File::Spec Perl Module... Found >> Searching for File::Copy Perl Module... Found >> Searching for IPC::Open3 Perl Module... Found >> Searching for IO::Handle Perl Module... Found >> Searching for Getopt::Long Perl Module... Found >> Searching for Win32 Perl Module... Found >> Searching for Win32::API Perl Module... Found >> Searching for Win32::TieRegistry Perl Module... Found >> Searching for Windows SDK 6.1 (for Windows Server 2008) or newer... Found >> v7.0 >> Searching for the SimpleAudio SAPI Example Project... Found >> Creating bin\x86-nt directory for build output... Done >> Searching for TortoiseSVN... Found >> Checking if the project is using CMake... Yes >> Searching for CMake 2.6 or higher... Searching for maximum valid Visual >> Studio version... Visual Studio 2008 Found >> Searching for Sun Java JDK... Found >> Searching for NetBeans Ant... Found 7.1 >> >> Running command: "C:\Program Files\TortoiseSVN\bin\SubWCRev.exe" >> "C:\olympus" Build\SVN_Data_Template.h Build\SVN_Data.h -f >> >> SubWCRev: 'C:\olympus' >> >> Last committed at revision 3671 >> >> Updated to revision 3786 >> >> Local modifications found >> >> >> Running command: "C:\Program Files (x86)\Microsoft Visual Studio >> 9.0\VC\VCPackages\vcbuild.exe" "C:\Program Files\Microsoft >> SDKs\Windows\v7.0\Samples\winui\speech\simpleAudio\SimpleAudio.sln" /M2 >> "Release|Win32" >> >> Microsoft (R) Visual C++ Project Builder - Command Line Version 9.00.30729 >> Copyright (C) Microsoft Corporation. All rights reserved. >> >> 1>Build started: Project: SimpleAudio, Configuration: Release|Win32 >> 1>Creating Type Library... >> 1>Processing .\SimpleAudio.idl >> 1>SimpleAudio.idl >> 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\oaidl.idl >> 1>oaidl.idl >> 1>Processing C:\Program Files\Microsoft >> SDKs\Windows\v7.0\\include\objidl.idl >> 1>objidl.idl >> 1>Processing C:\Program Files\Microsoft >> SDKs\Windows\v7.0\\include\unknwn.idl >> 1>unknwn.idl >> 1>Processing C:\Program Files\Microsoft >> SDKs\Windows\v7.0\\include\wtypes.idl >> 1>wtypes.idl >> 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\basetsd.h >> 1>basetsd.h >> 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\guiddef.h >> 1>guiddef.h >> 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\ocidl.idl >> 1>ocidl.idl >> 1>Processing C:\Program Files\Microsoft >> SDKs\Windows\v7.0\\include\oleidl.idl >> 1>oleidl.idl >> 1>Processing C:\Program Files\Microsoft >> SDKs\Windows\v7.0\\include\servprov.idl >> 1>servprov.idl >> 1>Processing C:\Program Files\Microsoft >> SDKs\Windows\v7.0\\include\urlmon.idl >> 1>urlmon.idl >> 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\msxml.idl >> 1>msxml.idl >> 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\sapi.idl >> 1>sapi.idl >> 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\oaidl.acf >> 1>oaidl.acf >> 1>Processing C:\Program Files\Microsoft SDKs\Windows\v7.0\\include\ocidl.acf >> 1>ocidl.acf >> 1>Compiling... >> cl : Command line warning D9035 : option 'Wp64' has been deprecated and >> will be removed in a future release >> 1>StdAfx.cpp >> 1>c:\program files\microsoft >> sdks\windows\v7.0\samples\winui\speech\simpleaudio\stdafx.h(23) : fatal >> error C1083: Cannot open include file: 'atlbase.h': No such file or >> directory >> 1>Build log was saved at "file://c:\Program Files\Microsoft >> SDKs\Windows\v7.0\Samples\winui\speech\simpleaudio\Release\BuildLog.htm" >> SimpleAudio has 1 errors >> 1>SimpleAudio - 1 error(s), 1 warning(s) >> >> Build complete: 0 Projects succeeded, 1 Projects failed, 0 Projects skipped >> Problem building Visual Studio Solution: SimpleAudio.sln. >> Problem building the required SAPI SimpleAudio DLL example. >> Was it installed correctly? >> >> >> >> >> On Sat, Jun 2, 2012 at 11:28 PM, yaron winter wrote: >> >>> Hi Erel, >>> >>> Please read the forwarded message. >>> >>> In short: try to check the *.pl script and to find the exact line that >>> causes the error. It might be a simple matter of wrong path (where some >>> resource is looked for) that can be corrected easily. >>> >>> We haven't encountered this mistake, so if you still can't solve it, we >>> may forward it to our contact in CMU (the team who developed and maintain >>> the Olympus). >>> >>> Keep me posted. >>> >>> Yaron >>> >>> >>> ---------- Forwarded message ---------- >>> From: Ute Winter >>> Date: Sat, Jun 2, 2012 at 2:23 PM >>> Subject: Re: Install Perl modules from CPAN >>> To: yaron winter >>> >>> >>> Hi Yaron, >>> >>> I have never had the below problem. I have a 64 computer though, which >>> makes me believe that this is >>> not the problem. I have had several problems with the build script where >>> there are default paths >>> to file exe files or program files and my computer has a different path. >>> Also you need to declare the >>> peel in the path variable. I would try to understand what path the >>> script is looking for and if this the right location. >>> >>> Not sure this helps. If Erel doesn't manage, I can ask Alex Rudnicky and >>> his students. Let me know. >>> >>> Ute vom iPad >>> >>> Am 31 ???? 2012 um 10:29 schrieb yaron winter : >>> >>> Hi Ute, >>> >>> I wouldn't like to add any additional burden to you, so respond only if >>> you have a straight answer. >>> >>> Ido Dagan asked whether I could help one of his students to install the >>> Olympus system for using the Phoenix. >>> >>> He seemed to have quite the same problems as I did, so I forwarded him >>> the instructions you had sent me back then. >>> >>> Do you remember, thus, how to proceed after installing the perl modules? >>> >>> Thanks and Love, >>> Yaron >>> >>> >>> ---------- Forwarded message ---------- >>> From: Erel Segal Halevi >>> Date: Thu, May 31, 2012 at 10:56 AM >>> Subject: Re: Install Perl modules from CPAN >>> To: yaron winter >>> >>> >>> Additionally, when I try to run perl Makefile.PL, i get the following >>> message: >>> >>> C:\Win32-FileOp-0.16.00>perl Makefile.PL >>> >>> It looks like you don't have a C compiler on your PATH, so you will not >>> be >>> able to compile C or XS extension modules. You can install GCC from the >>> MinGW package using the Perl Package Manager by running: >>> >>> ppm install MinGW >>> >>> >>> I tried to run "ppm install MinGW", but got another error: >>> "ppm install failed: Can't find any package that provides MinGW" >>> >>> >>> >>> >>> >>> >>> On Thu, May 31, 2012 at 10:26 AM, Erel Segal Halevi wrote: >>> >>>> Hi Yaron, >>>> >>>> Trying to install Win32::FileOp, I got just the same error as you did: "the >>>> command 'make' is not recognized by the cmd (dos), ". How did you >>>> solve this? >>>> >>>> -- Erel >>>> >>>> >>>> On Wed, May 30, 2012 at 2:15 PM, yaron winter wrote: >>>> >>>>> I tried to call you but the line is busy... >>>>> >>>>> I can't remember now every specific step, but the problem you describe >>>>> might be related to the perl modules. >>>>> Try to follow the installation instructions of the perl modules, as it >>>>> might resolve the problems. >>>>> >>>>> Yaron >>>>> >>>>> >>>>> On Wed, May 30, 2012 at 2:01 PM, Erel Segal Halevi wrote: >>>>> >>>>>> Hi Yaron, >>>>>> >>>>>> I think I am stuck at a previous stage. >>>>>> >>>>>> Here is the build log I get when I run OlympusBuildFlite.pl: >>>>>> >>>>>> >>>>>> BUILD_CONF... Release >>>>>> BUILD_TYPE... Build >>>>>> OLYMPUS_ROOT... . >>>>>> BUILD_LOG... build.log >>>>>> CMAKE_PARAMS... -D KALLIOPE_USE_FLITE:BOOL=yes -D >>>>>> KALLIOPE_USE_SAPI:BOOL=no >>>>>> LOGIOS_ROOT... Tools\logios >>>>>> Detecting platform in use... Windows >>>>>> Searching for File::Spec Perl Module... Found >>>>>> Searching for File::Copy Perl Module... Found >>>>>> Searching for IPC::Open3 Perl Module... Found >>>>>> Searching for IO::Handle Perl Module... Found >>>>>> Searching for Getopt::Long Perl Module... Found >>>>>> Searching for Win32 Perl Module... Found >>>>>> Searching for Win32::API Perl Module... Found >>>>>> Searching for Win32::TieRegistry Perl Module... Found >>>>>> Creating bin\x86-nt directory for build output... Done >>>>>> Requesting administrator permissions... >>>>>> >>>>>> >>>>>> At that point, the perl program halts, and I get a popup error >>>>>> message from Windows. >>>>>> >>>>>> I tracked the problem to this line: >>>>>> >>>>>> my $returnCode = Win32::API->new("shell32", >>>>>> 'ShellExecute', 'NPPPPI', 'N')->Call(0, 'runas', $this_perl, "\"$0\" >>>>>> ob-elevated & pause", $currDirectory, $self->SW_SHOWDEFAULT); >>>>>> >>>>>> However, I do have Win32::API installed, as you can see in the log. >>>>>> >>>>>> I have a 64-bit machine - can this be the problem? >>>>>> >>>>>> -- Thank you, >>>>>> -- Erel >>>>>> >>>>>> >>>>>> On Wed, May 30, 2012 at 1:30 PM, yaron winter >>>>> > wrote: >>>>>> >>>>>>> Hi Erel, >>>>>>> >>>>>>> I forward you here both the instructions for the perl installation >>>>>>> and the problems I encountered afterwards (which were all resolved, >>>>>>> eventually). >>>>>>> >>>>>>> I understood from you that you encountered similar problems, so >>>>>>> let's start from here. >>>>>>> >>>>>>> I might have some more references; I will try to locate them. >>>>>>> >>>>>>> If I remember well, the steps I did for installing the Olympus were >>>>>>> as follows: >>>>>>> >>>>>>> >>>>>>> 1. Follow the Olympus Download instruction (as explained in >>>>>>> http://wiki.speech.cs.cmu.edu/olympus/index.php/Download). >>>>>>> 2. Installing the perl modules (explained the the first >>>>>>> forwarded email). >>>>>>> 3. Download the missing modules (mentioned in the second >>>>>>> forwarded email). >>>>>>> 4. Mounting the iso GRMSDK_EN_DVD.iso (this iso is referred to >>>>>>> in the Olympus Download instructions). >>>>>>> >>>>>>> Let me know how how it goes, and I will try to assist you >>>>>>> accordingly. >>>>>>> >>>>>>> Yaron >>>>>>> >>>>>>> ---------- Forwarded message ---------- >>>>>>> From: yaron winter >>>>>>> Date: Thu, Mar 29, 2012 at 12:19 PM >>>>>>> Subject: Re: Install Perl modules from CPAN >>>>>>> To: Ute Winter >>>>>>> >>>>>>> >>>>>>> Hi Ute, >>>>>>> >>>>>>> I tried to run SystemRun.bat from the command line (after installing >>>>>>> and building the environment). >>>>>>> >>>>>>> An immediate error message then prompted: >>>>>>> >>>>>>> "Windows cannot find >>>>>>> 'C:\Yaron\Olympus\2.5.1\Agents\Pythia\dist\process_monitor.exe'. >>>>>>> Make sure you typed the name correctly and then try again". >>>>>>> >>>>>>> Before that I had followd the installation and the building steps >>>>>>> and everything seemd to go smoothly. >>>>>>> Attached are the build logs of both the Olympus and the POI >>>>>>> application (which I try to run). >>>>>>> >>>>>>> Any idea? >>>>>>> >>>>>>> Thanks, >>>>>>> Yaron >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Mar 27, 2012 at 11:08 AM, yaron winter < >>>>>>> yaron.winter at gmail.com> wrote: >>>>>>> >>>>>>>> The installation of CPAN went well. Then there were five modules >>>>>>>> that need to be installed: >>>>>>>> >>>>>>>> (1) Win32::FileOp - went well >>>>>>>> (2) File::Find - Just prompted "skipping .tar.gz, so >>>>>>>> I'm not sure that it was fine >>>>>>>> (3) LWP::Simple - Just prompted "up to date" >>>>>>>> (4) File:Spec - Just prompted "up to date" >>>>>>>> (5) URI::ESCAPE::XS - this was the most complicated: >>>>>>>> >>>>>>>> The readme file under the root of the correspondent folders tree is >>>>>>>> not friendly at all. >>>>>>>> >>>>>>>> So I just followed the commads you wrote: >>>>>>>> >>>>>>>> perl Makefile.PL >>>>>>>> make >>>>>>>> make test >>>>>>>> make install" >>>>>>>> >>>>>>>> The first line "perl Makefile.PL" went well. >>>>>>>> But then, the command 'make' is not recognized by the cmd (dos), so I'm not sure whether it went well. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Mar 27, 2012 at 8:57 AM, Ute Winter >>>>>>> > wrote: >>>>>>>> >>>>>>>>> Hi Yaron, >>>>>>>>> >>>>>>>>> CPAN is an Internet site, which maintains the downloads of perl >>>>>>>>> modules. >>>>>>>>> For the installation go to: >>>>>>>>> >>>>>>>>> http://www.cpan.org/modules/INSTALL.html >>>>>>>>> >>>>>>>>> and do what is written under "Quick Start" for every module from a >>>>>>>>> command line. >>>>>>>>> >>>>>>>>> For every module that you get an error, first try again. If you >>>>>>>>> don't succeed, download the modules *.tar file manually. >>>>>>>>> I have given you the 2 tar files, which have failed to install for >>>>>>>>> me and Ron. >>>>>>>>> >>>>>>>>> Then what I used was the information from the following site: >>>>>>>>> http://perl.about.com/od/packagesmodules/qt/perlcpan.htm >>>>>>>>> >>>>>>>>> It explains how to install the modules manually: >>>>>>>>> "unzip the module into a directory, then you can move in and poke >>>>>>>>> around - look for the README or INSTALL files. In most cases, installing a >>>>>>>>> module by hand is still pretty easy, though (although not as easy as CPAN). >>>>>>>>> Once you've switched into the base directory for the module, you should be >>>>>>>>> able to get it installed by typing: >>>>>>>>> >>>>>>>>> perl Makefile.PL >>>>>>>>> make >>>>>>>>> make test >>>>>>>>> make install" >>>>>>>>> >>>>>>>>> >>>>>>>>> Depending on the C compiler in strawberry perl you may have to type >>>>>>>>> >>>>>>>>> dmake, cmake or nmake instead of make. >>>>>>>>> >>>>>>>>> It doesn't matter if the "make test" fails. The install needs to pass without >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> problem. >>>>>>>>> >>>>>>>>> I hope that this will help, >>>>>>>>> Ute >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20120617/fcf9787c/attachment-0001.html From erelsgl at gmail.com Thu Jun 21 13:54:16 2012 From: erelsgl at gmail.com (Erel Segal Halevi) Date: Thu, 21 Jun 2012 20:54:16 +0300 Subject: [Olympus developers 368]: Error running Phoenix parser Message-ID: I get an error when running the parser for the Phoenix "Example" grammar on my Linux machine: erelsgl at ubuntu:~/workspace/Phoenix/Example$ ./run_parse < sample_input *WARNING: can't open config file config* read_dict: can't open (null)/base.dic Cannot open grammar file (null)/(null) However, I do have the config file, as you can see here: erelsgl at ubuntu:~/workspace/Phoenix/Example$ ls -la total 28 drwxr-xr-x 4 erelsgl erelsgl 4096 2012-06-06 18:16 . drwxr-xr-x 11 erelsgl erelsgl 4096 2012-06-07 10:13 .. *-rw-r--r-- 1 erelsgl erelsgl 64 2012-06-18 10:32 config* drwxr-xr-x 3 erelsgl erelsgl 4096 2012-06-18 10:30 Grammar -rwxr-xr-x 1 erelsgl erelsgl 43 2012-06-06 18:16 run_parse -rw-r--r-- 1 erelsgl erelsgl 194 2012-06-06 18:16 sample_input drwxr-xr-x 6 erelsgl erelsgl 4096 2012-06-10 13:49 .svn erelsgl at ubuntu:~/workspace/Phoenix/Example$ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20120621/8265b329/attachment.html