Linker Error 2001/1120 MSVC2015

Steven . stevenskeard at gmail.com
Tue Sep 22 14:28:27 BST 2015


If I try to invoke the following, I receive the linker error, stating
unresolved external symbol.

<snip>

CORBA::ORB_var orb;
CORBA::Object_ptr myObject;
const std::string corba_str = "corbaloc::" + curr_ip + ":" + curr_port +
"/ClientSessionManagerInterface";

orb = CORBA::ORB_init(argc, argv);
myObject = orb->CORBA::ORB::string_to_object(corba_str.c_str());

<snip>

I can find the declaration for string_to_object() in CORBA_ORB.h, but
clearly I am missing the .lib that contains the definition. What .lib
should be included?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20150922/1c78fc06/attachment.html>


More information about the omniORB-list mailing list