[openrtm-users 00392] Building template code on MS VS 2005, help!

7 posts / 0 new
Last post
root
Offline
Last seen: 4 days 12 hours ago
Joined: 2009-06-23 14:31
[openrtm-users 00392] Building template code on MS VS 2005, help!

Dear Sir or Madam,
I am new user for OpenRTM-aist.
I found that there is no documentation for new release (0.4) and no documentation for Windows user.
I am Windows user.
I have generated C++ code template using RtcTemplate on Eclipse.
I am using MyService.idl that provided on Examples directory.
But, when i tried to build that generated template code using MS Visual Studio 2005 Pro, I got error message.
The error message is:
1>d:\imrc\robotmiddlesw\test\myserviceskel.h(27) : fatal error C1083: Cannot open include file: 'MyService.hh': No such file or directory
I can not find MyService.hh.
Seems it should be generated automatically, shouldn't it?

I have put library path and includes path of omniORB and OpenRTM-aist to MS VS 2005 but still same error is exist.

If someone can explain and have experience on building this template code on Windows, please help me.
Thank you for your kind attention.

Best regards,

Undefined
root
Offline
Last seen: 4 days 12 hours ago
Joined: 2009-06-23 14:31
[openrtm-users 00393] Building template code on MS VS 2005, hel

Hi Maria Niken Mayangsari

>>>fatal error C1083: Cannot open include file: 'MyService.hh': No such
file or directory

I also experienced the same error while building OpenRTM-aist(original
source code after download -without any modification)
using MS Visual Studio 2005 Pro .
Instead of Build ,I tried with Rebuild.Rebuild works fine for me.
So please try with Rebuild rather than Build.

Best Regards
Suresh Kumar(Aist-Japan)

Mayangsari Maria wrote:
> Dear Sir or Madam,
> I am new user for OpenRTM-aist.
> I found that there is no documentation for new release (0.4) and no documentation for Windows user.
> I am Windows user.
> I have generated C++ code template using RtcTemplate on Eclipse.
> I am using MyService.idl that provided on Examples directory.
> But, when i tried to build that generated template code using MS Visual Studio 2005 Pro, I got error message.
> The error message is:
> 1>d:\imrc\robotmiddlesw\test\myserviceskel.h(27) : fatal error C1083: Cannot open include file: 'MyService.hh': No such file or directory
> I can not find MyService.hh.
> Seems it should be generated automatically, shouldn't it?
>
> I have put library path and includes path of omniORB and OpenRTM-aist to MS VS 2005 but still same error is exist.
>
> If someone can explain and have experience on building this template code on Windows, please help me.
> Thank you for your kind attention.
>
> Best regards,
>

root
Offline
Last seen: 4 days 12 hours ago
Joined: 2009-06-23 14:31
[openrtm-users 00395] Building template code on MS VS 2005, hel

Dear all,
I used "Rebuild" instead of "Build" for building the output but still error.

I put my work directory on D: drive instead of C:.
I installed OpenRTM-aist in C: drive.
Is there any problem on using different drive?

I attached my VC project within this email.
Hope you can help me to figure out the problem.

Thank you so much for your help.

Best regard,
Maria

________________________________________
From: suresh kumar
Sent: Friday, March 21, 2008 1:21 PM
To: Mayangsari Maria
Cc: openrtm-users@m.aist.go.jp
Subject: Re: [openrtm-users 00392] Building template code on MS VS 2005, help!

Hi Maria Niken Mayangsari

>>>fatal error C1083: Cannot open include file: 'MyService.hh': No such
file or directory

I also experienced the same error while building OpenRTM-aist(original
source code after download -without any modification)
using MS Visual Studio 2005 Pro .
Instead of Build ,I tried with Rebuild.Rebuild works fine for me.
So please try with Rebuild rather than Build.

Best Regards
Suresh Kumar(Aist-Japan)

Mayangsari Maria wrote:
> Dear Sir or Madam,
> I am new user for OpenRTM-aist.
> I found that there is no documentation for new release (0.4) and no documentation for Windows user.
> I am Windows user.
> I have generated C++ code template using RtcTemplate on Eclipse.
> I am using MyService.idl that provided on Examples directory.
> But, when i tried to build that generated template code using MS Visual Studio 2005 Pro, I got error message.
> The error message is:
> 1>d:\imrc\robotmiddlesw\test\myserviceskel.h(27) : fatal error C1083: Cannot open include file: 'MyService.hh': No such file or directory
> I can not find MyService.hh.
> Seems it should be generated automatically, shouldn't it?
>
> I have put library path and includes path of omniORB and OpenRTM-aist to MS VS 2005 but still same error is exist.
>
> If someone can explain and have experience on building this template code on Windows, please help me.
> Thank you for your kind attention.
>
> Best regards,
>

root
Offline
Last seen: 4 days 12 hours ago
Joined: 2009-06-23 14:31
[openrtm-users 00396] Building template code on MS VS 2005, hel

Hello

Modifying some trivial fixes, I could build your project.
MyService RT-Component class conflicts with MyService service class.
So I put MyService RT-Component class into "namespace Maria" to avoid
the conflict between them. See the attached source code.
(Please rename Test0.zi_ to Test0.zip.)

You do not need to add omniORB's and ACE's include path and library path
in your project. But please set OMNI_ROOT and ACE_ROOT environment
variable. OpenRTM-aist.vsprops refers them.
If you installed them by using our omniORB installer and ACE installer, these
environment variable were automatically set.
Please confirm your omniORB and ACE installation.

Best regards,
Noriaki Ando

> Dear all,
> I used "Rebuild" instead of "Build" for building the output but still error.
>
> I put my work directory on D: drive instead of C:.
> I installed OpenRTM-aist in C: drive.
> Is there any problem on using different drive?
>
> I attached my VC project within this email.
> Hope you can help me to figure out the problem.
>
> Thank you so much for your help.
>
> Best regard,
> Maria
>
> ________________________________________
> From: suresh kumar
> Sent: Friday, March 21, 2008 1:21 PM
> To: Mayangsari Maria
> Cc: openrtm-users@m.aist.go.jp
> Subject: Re: [openrtm-users 00392] Building template code on MS VS 2005, help!
>
> Hi Maria Niken Mayangsari
>
> >>>fatal error C1083: Cannot open include file: 'MyService.hh': No such
> file or directory
>
>
> I also experienced the same error while building OpenRTM-aist(original
> source code after download -without any modification)
> using MS Visual Studio 2005 Pro .
> Instead of Build ,I tried with Rebuild.Rebuild works fine for me.
> So please try with Rebuild rather than Build.
>
>
> Best Regards
> Suresh Kumar(Aist-Japan)
>
>
> Mayangsari Maria wrote:
> > Dear Sir or Madam,
> > I am new user for OpenRTM-aist.
> > I found that there is no documentation for new release (0.4) and no documentation for Windows user.
> > I am Windows user.
> > I have generated C++ code template using RtcTemplate on Eclipse.
> > I am using MyService.idl that provided on Examples directory.
> > But, when i tried to build that generated template code using MS Visual Studio 2005 Pro, I got error message.
> > The error message is:
> > 1>d:\imrc\robotmiddlesw\test\myserviceskel.h(27) : fatal error C1083: Cannot open include file: 'MyService.hh': No such file or directory
> > I can not find MyService.hh.
> > Seems it should be generated automatically, shouldn't it?
> >
> > I have put library path and includes path of omniORB and OpenRTM-aist to MS VS 2005 but still same error is exist.
> >
> > If someone can explain and have experience on building this template code on Windows, please help me.
> > Thank you for your kind attention.
> >
> > Best regards,
> >

root
Offline
Last seen: 4 days 12 hours ago
Joined: 2009-06-23 14:31
[openrtm-users 00397] Building template code on MS VS 2005, hel

Dear Noriaki Ando,
Thank you for your effort.
I can build your files package.
However, when I deleted MyService.hh, the error came again (can not find this file).
This file should be generated automatically, shouldn't it?

I use all installation files (Prebuilt package for windows) from the OpenRTM-aist website:
- OpenRTM-aist-0.4.1
- ACE5.5.msi
- omniORB4.0.7.msi
- python-2.4.2.msi
- OpenCV_1.0.exe

I tried other examples: SimpleIO, SeqIO, and ConfigSample.
They can be built successfully because they don't use other idl file.

Any other advice?

Thank you so much...

Best regards,
Maria

________________________________________
From: Ando Noriaki
Sent: Friday, March 21, 2008 3:37 PM
To: Mayangsari Maria
Cc: openrtm-users@m.aist.go.jp
Subject: Re: [openrtm-users 00395] Re: Building template code on MS VS 2005, help!

Hello

Modifying some trivial fixes, I could build your project.
MyService RT-Component class conflicts with MyService service class.
So I put MyService RT-Component class into "namespace Maria" to avoid
the conflict between them. See the attached source code.
(Please rename Test0.zi_ to Test0.zip.)

You do not need to add omniORB's and ACE's include path and library path
in your project. But please set OMNI_ROOT and ACE_ROOT environment
variable. OpenRTM-aist.vsprops refers them.
If you installed them by using our omniORB installer and ACE installer, these
environment variable were automatically set.
Please confirm your omniORB and ACE installation.

Best regards,
Noriaki Ando

> Dear all,
> I used "Rebuild" instead of "Build" for building the output but still error.
>
> I put my work directory on D: drive instead of C:.
> I installed OpenRTM-aist in C: drive.
> Is there any problem on using different drive?
>
> I attached my VC project within this email.
> Hope you can help me to figure out the problem.
>
> Thank you so much for your help.
>
> Best regard,
> Maria
>
> ________________________________________
> From: suresh kumar ]
> Sent: Friday, March 21, 2008 1:21 PM
> To: Mayangsari Maria
> Cc: openrtm-users@m.aist.go.jp
> Subject: Re: [openrtm-users 00392] Building template code on MS VS 2005, help!
>
> Hi Maria Niken Mayangsari
>
> >>>fatal error C1083: Cannot open include file: 'MyService.hh': No such
> file or directory
>
>
> I also experienced the same error while building OpenRTM-aist(original
> source code after download -without any modification)
> using MS Visual Studio 2005 Pro .
> Instead of Build ,I tried with Rebuild.Rebuild works fine for me.
> So please try with Rebuild rather than Build.
>
>
> Best Regards
> Suresh Kumar(Aist-Japan)
>
>
> Mayangsari Maria wrote:
> > Dear Sir or Madam,
> > I am new user for OpenRTM-aist.
> > I found that there is no documentation for new release (0.4) and no documentation for Windows user.
> > I am Windows user.
> > I have generated C++ code template using RtcTemplate on Eclipse.
> > I am using MyService.idl that provided on Examples directory.
> > But, when i tried to build that generated template code using MS Visual Studio 2005 Pro, I got error message.
> > The error message is:
> > 1>d:\imrc\robotmiddlesw\test\myserviceskel.h(27) : fatal error C1083: Cannot open include file: 'MyService.hh': No such file or directory
> > I can not find MyService.hh.
> > Seems it should be generated automatically, shouldn't it?
> >
> > I have put library path and includes path of omniORB and OpenRTM-aist to MS VS 2005 but still same error is exist.
> >
> > If someone can explain and have experience on building this template code on Windows, please help me.
> > Thank you for your kind attention.
> >
> > Best regards,
> >

root
Offline
Last seen: 4 days 12 hours ago
Joined: 2009-06-23 14:31
[openrtm-users 00398] Building template code on MS VS 2005, hel

Dear All,
I would like to thank you for your response and effort.
I have re-installed the omniORB and it solved the problem.

Thank you once again.
Have good weekend!

Best regards,
Maria

________________________________________
From: Mayangsari Maria
Sent: Friday, March 21, 2008 4:28 PM
To: openrtm-users@m.aist.go.jp
Subject: [openrtm-users 00397] Re: Building template code on MS VS 2005, help!

Dear Noriaki Ando,
Thank you for your effort.
I can build your files package.
However, when I deleted MyService.hh, the error came again (can not find this file).
This file should be generated automatically, shouldn't it?

I use all installation files (Prebuilt package for windows) from the OpenRTM-aist website:
- OpenRTM-aist-0.4.1
- ACE5.5.msi
- omniORB4.0.7.msi
- python-2.4.2.msi
- OpenCV_1.0.exe

I tried other examples: SimpleIO, SeqIO, and ConfigSample.
They can be built successfully because they don't use other idl file.

Any other advice?

Thank you so much...

Best regards,
Maria

________________________________________
From: Ando Noriaki
Sent: Friday, March 21, 2008 3:37 PM
To: Mayangsari Maria
Cc: openrtm-users@m.aist.go.jp
Subject: Re: [openrtm-users 00395] Re: Building template code on MS VS 2005, help!

Hello

Modifying some trivial fixes, I could build your project.
MyService RT-Component class conflicts with MyService service class.
So I put MyService RT-Component class into "namespace Maria" to avoid
the conflict between them. See the attached source code.
(Please rename Test0.zi_ to Test0.zip.)

You do not need to add omniORB's and ACE's include path and library path
in your project. But please set OMNI_ROOT and ACE_ROOT environment
variable. OpenRTM-aist.vsprops refers them.
If you installed them by using our omniORB installer and ACE installer, these
environment variable were automatically set.
Please confirm your omniORB and ACE installation.

Best regards,
Noriaki Ando

> Dear all,
> I used "Rebuild" instead of "Build" for building the output but still error.
>
> I put my work directory on D: drive instead of C:.
> I installed OpenRTM-aist in C: drive.
> Is there any problem on using different drive?
>
> I attached my VC project within this email.
> Hope you can help me to figure out the problem.
>
> Thank you so much for your help.
>
> Best regard,
> Maria
>
> ________________________________________
> From: suresh kumar
> Sent: Friday, March 21, 2008 1:21 PM
> To: Mayangsari Maria
> Cc: openrtm-users@m.aist.go.jp
> Subject: Re: [openrtm-users 00392] Building template code on MS VS 2005, help!
>
> Hi Maria Niken Mayangsari
>
> >>>fatal error C1083: Cannot open include file: 'MyService.hh': No such
> file or directory
>
>
> I also experienced the same error while building OpenRTM-aist(original
> source code after download -without any modification)
> using MS Visual Studio 2005 Pro .
> Instead of Build ,I tried with Rebuild.Rebuild works fine for me.
> So please try with Rebuild rather than Build.
>
>
> Best Regards
> Suresh Kumar(Aist-Japan)
>
>
> Mayangsari Maria wrote:
> > Dear Sir or Madam,
> > I am new user for OpenRTM-aist.
> > I found that there is no documentation for new release (0.4) and no documentation for Windows user.
> > I am Windows user.
> > I have generated C++ code template using RtcTemplate on Eclipse.
> > I am using MyService.idl that provided on Examples directory.
> > But, when i tried to build that generated template code using MS Visual Studio 2005 Pro, I got error message.
> > The error message is:
> > 1>d:\imrc\robotmiddlesw\test\myserviceskel.h(27) : fatal error C1083: Cannot open include file: 'MyService.hh': No such file or directory
> > I can not find MyService.hh.
> > Seems it should be generated automatically, shouldn't it?
> >
> > I have put library path and includes path of omniORB and OpenRTM-aist to MS VS 2005 but still same error is exist.
> >
> > If someone can explain and have experience on building this template code on Windows, please help me.
> > Thank you for your kind attention.
> >
> > Best regards,
> >

root
Offline
Last seen: 4 days 12 hours ago
Joined: 2009-06-23 14:31
[openrtm-users 00394] Building template code on MS VS 2005, hel

Hello

Please try "rebuild" on your VC project.
Would you show me your vcproj and vsprops files?

> Dear Sir or Madam,
> I am new user for OpenRTM-aist.
> I found that there is no documentation for new release (0.4) and no documentation for Windows user.
> I am Windows user.
> I have generated C++ code template using RtcTemplate on Eclipse.
> I am using MyService.idl that provided on Examples directory.
> But, when i tried to build that generated template code using MS Visual Studio 2005 Pro, I got error message.
> The error message is:
> 1>d:\imrc\robotmiddlesw\test\myserviceskel.h(27) : fatal error C1083: Cannot open include file: 'MyService.hh': No such file or directory
> I can not find MyService.hh.
> Seems it should be generated automatically, shouldn't it?
>
> I have put library path and includes path of omniORB and OpenRTM-aist to MS VS 2005 but still same error is exist.
>
> If someone can explain and have experience on building this template code on Windows, please help me.
> Thank you for your kind attention.
>
> Best regards,
>

Log in or register to post comments

Download

latest Releases : 2.0.0-RELESE

2.0.0-RELESE Download page

Number of Projects

Choreonoid

Motion editor/Dynamics simulator

OpenHRP3

Dynamics simulator

OpenRTP

Integrated Development Platform

AIST RTC collection

RT-Components collection by AIST

TORK

Tokyo Opensource Robotics Association

DAQ-Middleware

Middleware for DAQ (Data Aquisition) by KEK