Discussion:
[omniORB] Compile with visual C++ 2008
Jose Luis Dominguez
2009-12-22 18:07:43 UTC
Permalink
Hi when i try to compile my code i get this error:
1>C:\omniORB-4.1.4\include\omnithread.h(239) : error C3861:
'TryEnterCriticalSection': no se encontr? el identificador

and a lot of warning like this:
C:\omniORB-4.1.4\include\omnithread.h(213) : warning C4272:
'omni_thread_fatal::omni_thread_fatal' : est? marcada con
__declspec(dllimport); debe especificar la convenci?n de llamadas nativa al
importar una funci?n.
and like this:
1>C:\omniORB-4.1.4\include\omniORB4/IOP.h(107) : warning C4394:
'IOP::TAG_INTERNET_IOP' : el s?mbolo por Appdomain no se debe marcar con
__declspec(dllimport)

please, help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20091222/ff0ac2ed/attachment.htm
Jose Luis Dominguez
2009-12-22 22:08:28 UTC
Permalink
I manage to compile, but i can't link
I solve compiling error by deleting one preprocesor key:
I use just: "__WIN32__,__x86__,__NT__,__OSVERSION__=4"

This is the first error when i link:
1>Cliente_CLR.obj : error LNK2028: se hace referencia al s?mbolo
(token) sin resolver (0A000013) "public: virtual struct _omni_ValueIds const
* __clrcall CORBA::StringValue::_NP_truncatableIds(void)const "
(?***@StringValue@CORBA@@$$FUBMPBU_omni_ValueIds@@XZ) en la
funci?n "[thunk]:public: virtual struct _omni_ValueIds const * __clrcall
CORBA::StringValue::_NP_truncatableIds`vtordisp{4294967292,0}' (void)const "
(?***@StringValue@CORBA@@$$F$***@A@BMPBU_omni_ValueIds@
@XZ)

****************************************

Any idea?
Post by Jose Luis Dominguez
'TryEnterCriticalSection': no se encontr? el identificador
'omni_thread_fatal::omni_thread_fatal' : est? marcada con
__declspec(dllimport); debe especificar la convenci?n de llamadas nativa al
importar una funci?n.
'IOP::TAG_INTERNET_IOP' : el s?mbolo por Appdomain no se debe marcar con
__declspec(dllimport)
please, help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20091222/2df97244/attachment.htm
Luke Deller
2009-12-23 06:18:25 UTC
Permalink
Hi Jose,

The presence of the keyword "__clrcall" indicates to me that you are trying to compile your code as managed code. Is this correct?

OmniORB has not been ported to the .NET platform. See the IIOP.NET project for CORBA support on .NET:
http://iiop-net.sourceforge.net/

Regards,
Luke.

________________________________________
From: omniorb-list-***@omniorb-support.com [mailto:omniorb-list-***@omniorb-support.com] On Behalf Of Jose Luis Dominguez
Sent: Wednesday, 23 December 2009 3:08 AM
To: omniorb-***@omniorb-support.com
Subject: [omniORB] Re: Compile with visual C++ 2008

I manage to compile, but i can't link
I solve compiling error by deleting one preprocesor key:
I use just: "__WIN32__,__x86__,__NT__,__OSVERSION__=4"

This is the first error when i link:
????? 1>Cliente_CLR.obj : error LNK2028: se hace referencia al s?mbolo (token) sin resolver (0A000013) "public: virtual struct _omni_ValueIds const * __clrcall CORBA::StringValue::_NP_truncatableIds(void)const " (?***@StringValue@CORBA@@$$FUBMPBU_omni_ValueIds@@XZ) en la funci?n "[thunk]:public: virtual struct _omni_ValueIds const * __clrcall CORBA::StringValue::_NP_truncatableIds`vtordisp{4294967292,0}' (void)const " (?***@StringValue@CORBA@@$$F$***@A@BMPBU_omni_ValueIds@@XZ)

****************************************

Any idea?


On Tue, Dec 22, 2009 at 1:07 PM, Jose Luis Dominguez <***@gmail.com> wrote:

Hi when i try to compile my code i get this error:
1>C:\omniORB-4.1.4\include\omnithread.h(239) : error C3861: 'TryEnterCriticalSection': no se encontr? el identificador

and a lot of warning like this:
C:\omniORB-4.1.4\include\omnithread.h(213) : warning C4272: 'omni_thread_fatal::omni_thread_fatal' : est? marcada con __declspec(dllimport); debe especificar la convenci?n de llamadas nativa al importar una funci?n.
and like this:
1>C:\omniORB-4.1.4\include\omniORB4/IOP.h(107) : warning C4394: 'IOP::TAG_INTERNET_IOP' : el s?mbolo por Appdomain no se debe marcar con __declspec(dllimport)

please, help!
**********************************************************************************************
Important Note
This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this email are not necessarily the views of IRESS Market Technology Limited.

It is the duty of the recipient to virus scan and otherwise test the information provided before loading onto any computer system.
IRESS Market Technology Limited does not warrant that the information is free of a virus or any other defect or error.
**********************************************************************************************
Jose Luis Dominguez
2010-01-05 03:59:37 UTC
Permalink
Hi, excuse me for answering too late but now i'm on vacances.
I don't know what is "managed code", i've just compile it normaly.
The "compile phase" finished successfully.
The reported errors in this mail were from the "linking phase".
Don't know if the next information could be helpfull: I'm compiling with
debug information and i'm using de debug libraries for linking (those with a
"d" in their name)

i would read carefully the documentation in the URL you gave me, it looks
good. Maybe this could help me.
Thank you very much.
Post by Luke Deller
Hi Jose,
The presence of the keyword "__clrcall" indicates to me that you are trying
to compile your code as managed code. Is this correct?
http://iiop-net.sourceforge.net/
Regards,
Luke.
________________________________________
Sent: Wednesday, 23 December 2009 3:08 AM
Subject: [omniORB] Re: Compile with visual C++ 2008
I manage to compile, but i can't link
I use just: "__WIN32__,__x86__,__NT__,__OSVERSION__=4"
1>Cliente_CLR.obj : error LNK2028: se hace referencia al s?mbolo
(token) sin resolver (0A000013) "public: virtual struct _omni_ValueIds const
* __clrcall CORBA::StringValue::_NP_truncatableIds(void)const "
funci?n "[thunk]:public: virtual struct _omni_ValueIds const * __clrcall
CORBA::StringValue::_NP_truncatableIds`vtordisp{4294967292,0}' (void)const "
@BMPBU_omni_ValueIds@@XZ)
****************************************
Any idea?
'TryEnterCriticalSection': no se encontr? el identificador
'omni_thread_fatal::omni_thread_fatal' : est? marcada con
__declspec(dllimport); debe especificar la convenci?n de llamadas nativa al
importar una funci?n.
'IOP::TAG_INTERNET_IOP' : el s?mbolo por Appdomain no se debe marcar con
__declspec(dllimport)
please, help!
**********************************************************************************************
Important Note
This email (including any attachments) contains information which is
confidential and may be subject to legal privilege. If you are not the
intended recipient you must not use, distribute or copy this email. If you
have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this email
are not necessarily the views of IRESS Market Technology Limited.
It is the duty of the recipient to virus scan and otherwise test the
information provided before loading onto any computer system.
IRESS Market Technology Limited does not warrant that the information is
free of a virus or any other defect or error.
**********************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20100104/705b92d1/attachment.htm
Urban Purkat
2010-01-06 22:45:42 UTC
Permalink
Hi!

Does anyone have omniORB binaries for Visual Studio 2010?

Regards,
Urban

Loading...