Discussion:
Compilation problem in Visual Studio .Net 2005
abhishek
2009-11-26 07:36:47 UTC
Permalink
Hi Everyone,



I am new to CORBA and MICO. I have some queries.



I am using Visual studio .Net 2005



I created an IDL file time.idl. I compiled using idl.exe. It gave me only
two files time.h and time.cc. But in a book that I am following, it says
four files will be generated time.hh, timeC.cc, timeS.hh and timeS.cc.



When I created a file called MyServer.cc I am unable to compile. What are
the correct settings I need to build the simplest application?



I have already take mico-win32 in my PATH. I have taken mico\include to
include directories in Visual studio. I have taken lib directory to library
path in Visual studio. It still can not identify CORBA::XXXX.



Please help me; I am tired of this MICO and CORBA.



Thanks in advance.



With Best Regards,





Abhishek THAKUR
Systems Engineer
Tel : +91 80 2657 5394 or 5 or 6 Extension 228 Mobile: +91 96117 33117
***@orange-ftgroup.com

Silicomp India Private Limited
Plot No. 406, 7th Main, First Floor,
Jaya Nagar 2nd Block, Near Vijaya College,
Bangalore - 560 011.


<outbind://10-00000000E63F1A915BD79C4AAA7EE6576E1FFDA524982000/www.itlabs.en
.orange-business.com> www.itlabs.en.orange-business.com
<http://www.orange-business.com/> www.orange-business.com



Please don't print this Email unless you really need to - this will preserve
trees on planet earth.

Disclaimer:

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company.
Whilst all reasonable care has been taken to avoid the transmission of
viruses, it is the responsibility of the recipient to ensure that the onward
transmission, opening or use of this message and any attachments will not
adversely affect its systems or data. No responsibility is accepted by
Silicomp India in this regard and the recipient should carry out such virus
and other checks as it considers appropriate"
Sorin Mustaca
2009-11-26 07:51:51 UTC
Permalink
Hi,
I don't know what book you are reading, but before you are getting too tired, I advise to have
a look at all the examples provided in the source tree (e.g. : demo/poa/hello-1).

demo/poa/hello-1/Makefile.win32:

server.exe: hello.h hello.obj server.obj
$(LD) $(LDFLAGS) hello.obj server.obj $(LDLIBS) /out:server.exe

client.exe: hello.h hello.obj client.obj
$(LD) $(LDFLAGS) hello.obj client.obj $(LDLIBS) /out:client.exe


hello.h hello.cc : hello.idl $(IDLGEN)
$(IDL) hello.idl

Have a look at the \MakeVars.win32 in the root of the source tree. It contains important flags
required to correctly compile the applications.
You may use a makefile to compile using VStudio.

Best regards,
Sorin
Post by abhishek
Hi Everyone,
I am new to CORBA and MICO. I have some queries.
I am using Visual studio .Net 2005
I created an IDL file *time.idl*. I compiled using idl.exe. It gave me
only two files *time.h* and *time.cc. *But in a book that I am
following, it says four files will be generated time.hh, timeC.cc,
timeS.hh and timeS.cc.
When I created a file called MyServer.cc I am unable to compile. What
are the correct settings I need to build the simplest application?
I have already take mico-win32 in my PATH. I have taken mico\include to
include directories in Visual studio. I have taken lib directory to
library path in Visual studio. It still can not identify CORBA::XXXX.
Please help me; I am tired of this MICO and CORBA.
Thanks in advance.
With Best Regards,
*Abhishek THAKUR*
Systems Engineer
Tel : +91 80 2657 5394 or 5 or 6 Extension 228 Mobile: +91 96117 33117
*Silicomp India Private Limited*
Plot No. 406, 7th Main, First Floor,
Jaya Nagar 2nd Block, Near Vijaya College,
Bangalore – 560 011.
www.itlabs.en.orange-business.com
<outbind://10-00000000E63F1A915BD79C4AAA7EE6576E1FFDA524982000/www.itlabs.en.orange-business.com>
_www.orange-business.com <http://www.orange-business.com/>___
*Please don't print this Email unless you really need to - this will
preserve trees on planet earth.*
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the
system manager. Please note that any views or opinions presented in this
email are solely those of the author and do not necessarily represent
those of the company. Whilst all reasonable care has been taken to avoid
the transmission of viruses, it is the responsibility of the recipient
to ensure that the onward transmission, opening or use of this message
and any attachments will not adversely affect its systems or data. No
responsibility is accepted by Silicomp India in this regard and the
recipient should carry out such virus and other checks as it considers
appropriate”
------------------------------------------------------------------------
_______________________________________________
Mico-devel mailing list
http://www.mico.org/mailman/listinfo/mico-devel
--
Best regards,

Sorin Mustaca
http://www.mustaca.de
abhishek
2009-11-30 05:48:55 UTC
Permalink
Hi,

Thanks for your response. I am now able to compile the demos. I am feeling a
bit comfortable with MICO.
I want to run mcast demo for fault tolerance. When I pass 224.0.0.1 in
runit.bat the server crashes. I have no idea about multicasting. Can someone
help me to run the fault tolerant demo mcast?

With Best Regards,


Abhishek THAKUR
Systems Engineer
Tel : +91 80 2657 5394 or 5 or 6  Extension 228 Mobile: +91 96117 33117
***@orange-ftgroup.com
Silicomp India Private Limited
Plot No. 406, 7th Main, First Floor,
Jaya Nagar 2nd Block, Near Vijaya College,
Bangalore – 560 011.
www.itlabs.en.orange-business.com
www.orange-business.com


-----Original Message-----
From: mico-devel-***@mico.org [mailto:mico-devel-***@mico.org] On
Behalf Of Sorin Mustaca
Sent: Thursday, November 26, 2009 1:22 PM
To: mico-***@mico.org
Subject: Re: [mico-devel] Compilation problem in Visual Studio .Net 2005

Hi,
I don't know what book you are reading, but before you are getting too
tired, I advise to have
a look at all the examples provided in the source tree (e.g. :
demo/poa/hello-1).

demo/poa/hello-1/Makefile.win32:

server.exe: hello.h hello.obj server.obj
$(LD) $(LDFLAGS) hello.obj server.obj $(LDLIBS) /out:server.exe

client.exe: hello.h hello.obj client.obj
$(LD) $(LDFLAGS) hello.obj client.obj $(LDLIBS) /out:client.exe


hello.h hello.cc : hello.idl $(IDLGEN)
$(IDL) hello.idl

Have a look at the \MakeVars.win32 in the root of the source tree. It
contains important flags
required to correctly compile the applications.
You may use a makefile to compile using VStudio.

Best regards,
Sorin
Post by abhishek
Hi Everyone,
I am new to CORBA and MICO. I have some queries.
I am using Visual studio .Net 2005
I created an IDL file *time.idl*. I compiled using idl.exe. It gave me
only two files *time.h* and *time.cc. *But in a book that I am
following, it says four files will be generated time.hh, timeC.cc,
timeS.hh and timeS.cc.
When I created a file called MyServer.cc I am unable to compile. What
are the correct settings I need to build the simplest application?
I have already take mico-win32 in my PATH. I have taken mico\include to
include directories in Visual studio. I have taken lib directory to
library path in Visual studio. It still can not identify CORBA::XXXX.
Please help me; I am tired of this MICO and CORBA.
Thanks in advance.
With Best Regards,
*Abhishek THAKUR*
Systems Engineer
Tel : +91 80 2657 5394 or 5 or 6 Extension 228 Mobile: +91 96117 33117
*Silicomp India Private Limited*
Plot No. 406, 7th Main, First Floor,
Jaya Nagar 2nd Block, Near Vijaya College,
Bangalore – 560 011.
www.itlabs.en.orange-business.com
<outbind://10-00000000E63F1A915BD79C4AAA7EE6576E1FFDA524982000/www.itlabs.en
.orange-business.com>
Post by abhishek
_www.orange-business.com <http://www.orange-business.com/>___
*Please don't print this Email unless you really need to - this will
preserve trees on planet earth.*
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the
system manager. Please note that any views or opinions presented in this
email are solely those of the author and do not necessarily represent
those of the company. Whilst all reasonable care has been taken to avoid
the transmission of viruses, it is the responsibility of the recipient
to ensure that the onward transmission, opening or use of this message
and any attachments will not adversely affect its systems or data. No
responsibility is accepted by Silicomp India in this regard and the
recipient should carry out such virus and other checks as it considers
appropriate”
------------------------------------------------------------------------
_______________________________________________
Mico-devel mailing list
http://www.mico.org/mailman/listinfo/mico-devel
--
Best regards,

Sorin Mustaca
http://www.mustaca.de
Loading...