[Olympus developers 367]: CMAKE_MAKE_PROGRAM is not set

Erel Segal Halevi erelsgl at gmail.com
Sun Jun 17 01:56:19 EDT 2012


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 <yaron.winter at gmail.com>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 <erelsgl at gmail.com>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 <yaron.winter at gmail.com>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 <ute.winter68 at gmail.com>
>>> Date: Sat, Jun 2, 2012 at 2:23 PM
>>> Subject: Re: Install Perl modules from CPAN
>>> To: yaron winter <yaron.winter at gmail.com>
>>>
>>>
>>> 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 <yaron.winter at gmail.com>:
>>>
>>> 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 <erelsgl at gmail.com>
>>> Date: Thu, May 31, 2012 at 10:56 AM
>>> Subject: Re: Install Perl modules from CPAN
>>> To: yaron winter <yaron.winter at gmail.com>
>>>
>>>
>>> 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 <erelsgl at gmail.com>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 <yaron.winter at gmail.com>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 <erelsgl at gmail.com>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 <yaron.winter at gmail.com
>>>>>> > 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 <yaron.winter at gmail.com>
>>>>>>> Date: Thu, Mar 29, 2012 at 12:19 PM
>>>>>>> Subject: Re: Install Perl modules from CPAN
>>>>>>> To: Ute Winter <ute.winter68 at gmail.com>
>>>>>>>
>>>>>>>
>>>>>>> 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 <file>.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 <ute.winter68 at gmail.com
>>>>>>>> > 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


More information about the Olympus-developers mailing list