[Olympus developers 356]: Re: CMake question

Erel Segal Halevi erelsgl at gmail.com
Wed Jun 6 06:45:30 EDT 2012


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
<https://mailman.srv.cs.cmu.edu/mailman/listinfo/olympus-developers>
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


More information about the Olympus-developers mailing list