simmilar problem

On Tue, May 10, 2011 at 10:13 AM, <chcorbato [..] ...> wrote:
> Hello,
>
> I am using the same configuration except that I'm trying to install orocos 2.3.2
>
> I've successfully built rtt and performed the INSTALL in MVS (wihch required admin privileges as Stefan reported), but then I get the following error trying to generate the project files for ocl:
>
> Check for working C compiler using: Visual Studio 9 2008
> Check for working C compiler using: Visual Studio 9 2008 -- works
> Detecting C compiler ABI info
> Detecting C compiler ABI info - done
> Check for working CXX compiler using: Visual Studio 9 2008
> Check for working CXX compiler using: Visual Studio 9 2008 -- works
> Detecting CXX compiler ABI info
> Detecting CXX compiler ABI info - done
> Orocos Component Library version  (2.3.2)
> CMake Error: An attempt was made to access a variable: OROCOS-RTT_DIR that has not been defined. This variable is created by the FIND_PACKAGE command. CMake version 1.6 always converted the variable name to upper-case, but this behavior is no longer the case.  To fix this you might need to set the cache value of CMAKE_BACKWARDS_COMPATIBILITY to 1.6 or less.  If you are writing a CMake listfile, you should change the variable reference to use the case of the argument to FIND_PACKAGE.
> CMake Error at CMakeLists.txt:160 (find_package):
>  Could not find a configuration file for package "OROCOS-RTT" that is
>  compatible with requested version "2.3.2".
>
>  The following configuration files were considered but not accepted:
>
>    C:/orocos/orocos-toolchain-2.3.2/rtt/orocos-rtt-config.cmake, version: unknown
>
>
> CMake Error at CMakeLists.txt:162 (message):
>
>     RTT not found. Is the version correct? Use the CMAKE_PREFIX_PATH cmake or environment variable to point to the installation directory of RTT.
>
> Configuring incomplete, errors occurred!
>
> which is the installation path for rtt? C:\Program Files\orocos?

Yes. I'll see if we can make OCL a bit smarter with looking for RTT in
this location. What you can do for now is to create a path variable in
the cmake-gui with the name CMAKE_PREFIX_PATH and set that to
c:\Program Files\orocos

Peter
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users