[omniORB] OmniORB binary distribution for windows with VC7

Luke Deller ldeller at xplantechnology.com
Mon Feb 20 10:14:02 GMT 2006


On Fri, 2006-02-17 at 09:42 +0100, MEYER Jens wrote:

> Im am using the binary distribution of omniORB4.0.7 for windows with VC7.
> 
> I encountered problems linking with the omniORB libraries when using the 
> compiler option /Mtd (multithreaded debug) for my VC7 project.

Yes, the omniORB libraries are built as DLLs and link against the DLL
versions of the C runtime library, so for your debug build you need to
use /MDd rather than /MTd

> I have a conflict between the runtime libraries MSVCRT.lib and LIBCMTD.lib.
> Investigation on the problem showed that MSVCRT.lib is needed by the 
> omniORB libraries as for example omniORB4d.lib.
[...]

Hmm neither of these libs should be used.  You want to be using
MSVCRTD.LIB (which results in runtime linking to MSVCR71D.DLL).  Try
recompiling your whole project with /MDd and see if the problem
persists.

Here are the Microsoft docs about the runtime library selection options
in case you haven't found them already:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_.2f.md.2c_2f.ml.2c_2f.mt.2c_2f.ld.asp

Regards,
Luke.


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

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 XPlan Technology.

It is the duty of the recipient to virus scan and otherwise test the
information provided before loading onto any computer system.
Xplan Technology does not warrant that the
information is free of a virus or any other defect or error.
**********************************************************************************************




More information about the omniORB-list mailing list