[openrtm-users 00397] Re: Building template code on MS VS 2005, help!

Mayangsari Maria maria.niken @ imrc.kist.re.kr
2008年 3月 21日 (金) 16:28:20 JST


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: noriaki.ando @ gmail.com [noriaki.ando @ gmail.com] On Behalf Of Ando Noriaki [n-ando @ aist.go.jp]
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 [suresu.kumaru @ aist.go.jp]
> 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,
> >
> > Maria Niken Mayangsari
> > KIST IMRC L1348
> > 39-1 Hawolgok-dong Seongbuk-gu
> > Seoul 136-791
> > Phone: +82-2-9585763
> > Fax: +82-2-9585769
> > Mobile:+82-10-6873-2581
> > Email: maria.niken @ imrc.kist.re.kr
> >
> >
> >
> >
> >
>
>
>
>


--
安藤慶昭@独立行政法人産業技術総合研究所 研究員
                   知能システム研究部門 タスクインテリジェンス研究グループ
                   〒305-8568 茨城県つくば市梅園1-1-1 中央第2
                   TEL: 029-861-5981 FAX: 029-861-5971
                   n-ando @ aist.go.jp, n-ando @ ieee.org




openrtm-users メーリングリストの案内