rtt/corba/ControlTaskProxy.hpp: No such file or directory

Hi,
I have a problem compiling orocos-ocl 1.6 with corba enabled. I use ACE_TAO 5.6.1 on Suse 10.2 and g++ 4.1.2. ACE is not installed at /usr/local, but on /opt/ACE_wrappers, and so I set CMAKE_INCLUDE_PATH, LIBRARY_PATH & PATH to the corresponding include, lib and bin subfolders.

This is the error I get

[ 80%] Building CXX object deployment/CMakeFiles/orocos-deployment-corba-gnulinux.dir/CorbaDeploymentComponent.o
/dataServers/trac/tmp/Orocos/orocos-ocl-1.6.0/deployment/CorbaDeploymentComponent.cpp:30:42: error: rtt/corba/ControlTaskProxy.hpp: No such file or directory
/dataServers/trac/tmp/Orocos/orocos-ocl-1.6.0/deployment/CorbaDeploymentComponent.cpp:31:43: error: rtt/corba/ControlTaskServer.hpp: No such file or directory

ControlTaskProxy.hpp nor rtt/corba exist on my installed orocos-rtt path (/opt/orocos-rtt-1.6.0). I tried manually creating /opt/orocos-rtt-1.6.0/include/rtt/corba and copying there contents of ~/tmp/Orocos/orocos-rtt-1.6.0/src/corba/. But with this I get the problem that it cannot find ControlTaskC.h, which does not exist anyware.

I configured orocos-rtt with
configure --with-gnulinux --prefix=/opt/orocos-rtt-1.6.0 --enable-corba
and orocos-ocl with

CORBA_ENABLED:FILEPATH=/opt/ACE_wrappers/tao
OROCOS_CORBA_TARGET:STRING=corba-gnulinux
//Modified flag for variable: CORBA_ENABLED
CORBA_ENABLED-MODIFIED:INTERNAL=1

best regards

rtt/corba/ControlTaskProxy.hpp: No such file or directory

On Monday 13 October 2008 13:33:46 S Roderick wrote:
> On Oct 13, 2008, at 02:14 , Peter Soetens wrote:
> > On Sunday 12 October 2008 22:34:54 Peter Soetens wrote:
> >> On Friday 10 October 2008 17:35:34 orocos [..] ... wrote:
> >>> Hi,
> >>> I have a problem compiling orocos-ocl 1.6 with corba enabled. I use
> >>> ACE_TAO 5.6.1 on Suse 10.2 and g++ 4.1.2. ACE is not installed at
> >>> /usr/local, but on /opt/ACE_wrappers, and so I set
> >>> CMAKE_INCLUDE_PATH,
> >>> LIBRARY_PATH & PATH to the corresponding include, lib and bin
> >>> subfolders.
> >>
> >> It seems you compiled the RTT without CORBA support. Re-configure
> >> the RTT
> >> with (from your rtt build dir) cmake .. -DENABLE_CORBA=TRUE
> >>
> >> Then compile and install. The missing files should be generated
> >> then as
> >> well...
> >
> > Oops did not see your configure step below. You'll have to use
> > ccmake to set
> > your ACE and TAO installation paths or use
> >
> >
> > cmake .. -DENABLE_CORBA=TRUE -DACE_DIR=/opt/ACE_wrappers -DTAO_DIR=/
> > opt/ACE_wrappers/tao
>
> I think you need to remove the "/tao" from the end of TAO_DIR above?

I was assuming that his ACE_wrappers was the *build* dir of TAO and not the
install dir (as in Debian). If it is the build dir, you need a suffix, but I
made a typo. It should have been:

-DTAO_DIR=/opt/ACE_wrappers/TAO

I tested this and it seems the overwriting only happens when the environment
variables are set... (cmake 2.4 !) The safest way is to set ACE_ROOT and
TAO_ROOT though.

Peter

--
Peter Soetens -- FMTC --
--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

rtt/corba/ControlTaskProxy.hpp: No such file or directory

Hi,
I realized that was setting ACE_ROOT & TAO_ROOT to the *install* dir instead of the *build* dir. Changing to the *build* dir solved the problem.

thank you very much for the help.

rtt/corba/ControlTaskProxy.hpp: No such file or directory

On Oct 13, 2008, at 08:06 , Peter Soetens wrote:

> On Monday 13 October 2008 13:33:46 S Roderick wrote:
>> On Oct 13, 2008, at 02:14 , Peter Soetens wrote:
>>> On Sunday 12 October 2008 22:34:54 Peter Soetens wrote:
>>>> On Friday 10 October 2008 17:35:34 orocos [..] ... wrote:
>>>>> Hi,
>>>>> I have a problem compiling orocos-ocl 1.6 with corba enabled. I
>>>>> use
>>>>> ACE_TAO 5.6.1 on Suse 10.2 and g++ 4.1.2. ACE is not installed at
>>>>> /usr/local, but on /opt/ACE_wrappers, and so I set
>>>>> CMAKE_INCLUDE_PATH,
>>>>> LIBRARY_PATH & PATH to the corresponding include, lib and bin
>>>>> subfolders.
>>>>
>>>> It seems you compiled the RTT without CORBA support. Re-configure
>>>> the RTT
>>>> with (from your rtt build dir) cmake .. -DENABLE_CORBA=TRUE
>>>>
>>>> Then compile and install. The missing files should be generated
>>>> then as
>>>> well...
>>>
>>> Oops did not see your configure step below. You'll have to use
>>> ccmake to set
>>> your ACE and TAO installation paths or use
>>>
>>>
>>> cmake .. -DENABLE_CORBA=TRUE -DACE_DIR=/opt/ACE_wrappers -DTAO_DIR=/
>>> opt/ACE_wrappers/tao
>>
>> I think you need to remove the "/tao" from the end of TAO_DIR above?
>
> I was assuming that his ACE_wrappers was the *build* dir of TAO and
> not the
> install dir (as in Debian). If it is the build dir, you need a
> suffix, but I
> made a typo. It should have been:

I need the suffixes if it's the install dir as well (ACE/TAO v5.6.6
and v5.6.5)

> -DTAO_DIR=/opt/ACE_wrappers/TAO
>
> I tested this and it seems the overwriting only happens when the
> environment
> variables are set... (cmake 2.4 !) The safest way is to set ACE_ROOT
> and
> TAO_ROOT though.

Interesting ... good to know, thanks.
S

--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

rtt/corba/ControlTaskProxy.hpp: No such file or directory

On Friday 10 October 2008 17:35:34 orocos [..] ... wrote:
> Hi,
> I have a problem compiling orocos-ocl 1.6 with corba enabled. I use ACE_TAO
> 5.6.1 on Suse 10.2 and g++ 4.1.2. ACE is not installed at /usr/local, but
> on /opt/ACE_wrappers, and so I set CMAKE_INCLUDE_PATH, LIBRARY_PATH & PATH
> to the corresponding include, lib and bin subfolders.

It seems you compiled the RTT without CORBA support. Re-configure the RTT
with (from your rtt build dir) cmake .. -DENABLE_CORBA=TRUE

Then compile and install. The missing files should be generated then as
well...

Peter

>
> This is the error I get
>
> [ 80%] Building CXX object
> deployment/CMakeFiles/orocos-deployment-corba-gnulinux.dir/CorbaDeploymentC
>omponent.o
> /dataServers/trac/tmp/Orocos/orocos-ocl-1.6.0/deployment/CorbaDeploymentCom
>ponent.cpp:30:42: error: rtt/corba/ControlTaskProxy.hpp: No such file or
> directory
> /dataServers/trac/tmp/Orocos/orocos-ocl-1.6.0/deployment/CorbaDeploymentCom
>ponent.cpp:31:43: error: rtt/corba/ControlTaskServer.hpp: No such file or
> directory
>
> ControlTaskProxy.hpp nor rtt/corba exist on my installed orocos-rtt path
> (/opt/orocos-rtt-1.6.0). I tried manually creating
> /opt/orocos-rtt-1.6.0/include/rtt/corba and copying there contents of
> ~/tmp/Orocos/orocos-rtt-1.6.0/src/corba/. But with this I get the problem
> that it cannot find ControlTaskC.h, which does not exist anyware.
>
> I configured orocos-rtt with
> configure --with-gnulinux --prefix=/opt/orocos-rtt-1.6.0 --enable-corba
> and orocos-ocl with
>
> CORBA_ENABLED:FILEPATH=/opt/ACE_wrappers/tao
> OROCOS_CORBA_TARGET:STRING=corba-gnulinux
> //Modified flag for variable: CORBA_ENABLED
> CORBA_ENABLED-MODIFIED:INTERNAL=1
>
>
> best regards

rtt/corba/ControlTaskProxy.hpp: No such file or directory

On Sunday 12 October 2008 22:34:54 Peter Soetens wrote:
> On Friday 10 October 2008 17:35:34 orocos [..] ... wrote:
> > Hi,
> > I have a problem compiling orocos-ocl 1.6 with corba enabled. I use
> > ACE_TAO 5.6.1 on Suse 10.2 and g++ 4.1.2. ACE is not installed at
> > /usr/local, but on /opt/ACE_wrappers, and so I set CMAKE_INCLUDE_PATH,
> > LIBRARY_PATH & PATH to the corresponding include, lib and bin subfolders.
>
> It seems you compiled the RTT without CORBA support. Re-configure the RTT
> with (from your rtt build dir) cmake .. -DENABLE_CORBA=TRUE
>
> Then compile and install. The missing files should be generated then as
> well...

Oops did not see your configure step below. You'll have to use ccmake to set
your ACE and TAO installation paths or use

cmake .. -DENABLE_CORBA=TRUE -DACE_DIR=/opt/ACE_wrappers -DTAO_DIR=/opt/ACE_wrappers/tao

And check the output if TAO could be found. ACE_ROOT and TAO_ROOT environment
variables can be used and will be detected as well.

Peter

>
> Peter
>
> > This is the error I get
> >
> > [ 80%] Building CXX object
> > deployment/CMakeFiles/orocos-deployment-corba-gnulinux.dir/CorbaDeploymen
> >tC omponent.o
> > /dataServers/trac/tmp/Orocos/orocos-ocl-1.6.0/deployment/CorbaDeploymentC
> >om ponent.cpp:30:42: error: rtt/corba/ControlTaskProxy.hpp: No such file
> > or directory
> > /dataServers/trac/tmp/Orocos/orocos-ocl-1.6.0/deployment/CorbaDeploymentC
> >om ponent.cpp:31:43: error: rtt/corba/ControlTaskServer.hpp: No such file
> > or directory
> >
> > ControlTaskProxy.hpp nor rtt/corba exist on my installed orocos-rtt path
> > (/opt/orocos-rtt-1.6.0). I tried manually creating
> > /opt/orocos-rtt-1.6.0/include/rtt/corba and copying there contents of
> > ~/tmp/Orocos/orocos-rtt-1.6.0/src/corba/. But with this I get the problem
> > that it cannot find ControlTaskC.h, which does not exist anyware.
> >
> > I configured orocos-rtt with
> > configure --with-gnulinux --prefix=/opt/orocos-rtt-1.6.0 --enable-corba
> > and orocos-ocl with
> >
> > CORBA_ENABLED:FILEPATH=/opt/ACE_wrappers/tao
> > OROCOS_CORBA_TARGET:STRING=corba-gnulinux
> > //Modified flag for variable: CORBA_ENABLED
> > CORBA_ENABLED-MODIFIED:INTERNAL=1
> >
> >
> > best regards
>
> --
> Peter Soetens -- FMTC --

rtt/corba/ControlTaskProxy.hpp: No such file or directory

On Oct 13, 2008, at 02:14 , Peter Soetens wrote:

> On Sunday 12 October 2008 22:34:54 Peter Soetens wrote:
>> On Friday 10 October 2008 17:35:34 orocos [..] ... wrote:
>>> Hi,
>>> I have a problem compiling orocos-ocl 1.6 with corba enabled. I use
>>> ACE_TAO 5.6.1 on Suse 10.2 and g++ 4.1.2. ACE is not installed at
>>> /usr/local, but on /opt/ACE_wrappers, and so I set
>>> CMAKE_INCLUDE_PATH,
>>> LIBRARY_PATH & PATH to the corresponding include, lib and bin
>>> subfolders.
>>
>> It seems you compiled the RTT without CORBA support. Re-configure
>> the RTT
>> with (from your rtt build dir) cmake .. -DENABLE_CORBA=TRUE
>>
>> Then compile and install. The missing files should be generated
>> then as
>> well...
>
> Oops did not see your configure step below. You'll have to use
> ccmake to set
> your ACE and TAO installation paths or use
>
>
> cmake .. -DENABLE_CORBA=TRUE -DACE_DIR=/opt/ACE_wrappers -DTAO_DIR=/
> opt/ACE_wrappers/tao

I think you need to remove the "/tao" from the end of TAO_DIR above?

> And check the output if TAO could be found. ACE_ROOT and TAO_ROOT
> environment
> variables can be used and will be detected as well.

Are you sure that explicitly supplying the _DIR versions works? rtt/
config/FindCorbaDeps.cmake explicitly sets them from the environment
variables ACE_ROOT and TAO_ROOT - won't that overwrite your values?

When I configure like this, I do the following (my ACE install is in /
opt/code/local) in a shell

export ACE_ROOT=/opt/code/local/include
export TAO_ROOT=/opt/code/local/include
ccmake -DENABLE_CORBA=ON ../..

HTH
S

--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

rtt/corba/ControlTaskProxy.hpp: No such file or directory

Hi,
I have a problem compiling orocos-ocl 1.6 with corba enabled. I use ACE_TAO 5.6.1 on Suse 10.2 and g++ 4.1.2. ACE is not installed at /usr/local, but on /opt/ACE_wrappers, and so I set CMAKE_INCLUDE_PATH, LIBRARY_PATH & PATH to the corresponding include, lib and bin subfolders.

This is the error I get

[ 80%] Building CXX object deployment/CMakeFiles/orocos-deployment-corba-gnulinux.dir/CorbaDeploymentComponent.o
/dataServers/trac/tmp/Orocos/orocos-ocl-1.6.0/deployment/CorbaDeploymentComponent.cpp:30:42: error: rtt/corba/ControlTaskProxy.hpp: No such file or directory
/dataServers/trac/tmp/Orocos/orocos-ocl-1.6.0/deployment/CorbaDeploymentComponent.cpp:31:43: error: rtt/corba/ControlTaskServer.hpp: No such file or directory

ControlTaskProxy.hpp nor rtt/corba exist on my installed orocos-rtt path (/opt/orocos-rtt-1.6.0). I tried manually creating /opt/orocos-rtt-1.6.0/include/rtt/corba and copying there contents of ~/tmp/Orocos/orocos-rtt-1.6.0/src/corba/. But with this I get the problem that it cannot find ControlTaskC.h, which does not exist anyware.

I configured orocos-rtt with
configure --with-gnulinux --prefix=/opt/orocos-rtt-1.6.0 --enable-corba
and orocos-ocl with

CORBA_ENABLED:FILEPATH=/opt/ACE_wrappers/tao
OROCOS_CORBA_TARGET:STRING=corba-gnulinux
//Modified flag for variable: CORBA_ENABLED
CORBA_ENABLED-MODIFIED:INTERNAL=1

best regards