Hi, I'm new to omniORB. I obtained the following error while I was compiling a simple<br>client I found in the examples:<br><br><br>g++ -c HelloSK.cc -I/usr/local/include<br>g++ -c client.cpp -I. -I/usr/local/include<br>
g++ client.cpp HelloSK.o -L/usr/local/lib -lomniORB4 -lCOSDynamic4 -lomnithread -lomniDynamic4 -lws2_32 -o client.exe -I/usr/local/include<br><br><br>C:/WINDOWS/Temp/ccP9cu3Y.o:client.cpp:(.text$_ZN20_CORBA_String_helper4freeEPc[_CORBA_String_helper::free(char*)]+0xe): undefined reference to `_imp___ZN20_CORBA_String_helper12empty_stringE'<br>
C:/WINDOWS/Temp/ccP9cu3Y.o:client.cpp:(.text$_ZN20_CORBA_String_memberaSERKS_[_CORBA_String_member::operator=(_CORBA_String_member const&)]+0x29): undefined reference to `_imp___ZN20_CORBA_String_helper12empty_stringE'<br>
C:/WINDOWS/Temp/ccP9cu3Y.o:client.cpp:(.text$_ZN20_CORBA_String_memberC1Ev[_CORBA_String_member::_CORBA_String_member()]+0x8): undefined reference to `_imp___ZN20_CORBA_String_helper12empty_stringE'<br>HelloSK.o:HelloSK.cc:(.text+0x857): undefined reference to `_imp___ZN5CORBA6Object10_PD_repoIdE'<br>
HelloSK.o:HelloSK.cc:(.text+0x895): undefined reference to `_imp___ZN5CORBA6Object10_PD_repoIdE'<br>HelloSK.o:HelloSK.cc:(.text+0xe27): undefined reference to `_imp___ZN5CORBA6Object10_PD_repoIdE'<br>HelloSK.o:HelloSK.cc:(.text+0xe5c): undefined reference to `_imp___ZN5CORBA6Object10_PD_repoIdE'<br>
HelloSK.o:HelloSK.cc:(.text+0x13ea): undefined reference to `_imp___ZN4omni11omniORB_4_1E'<br>HelloSK.o:HelloSK.cc:(.text$_ZN5CORBA6Object12_PR_is_validEPS0_[CORBA::Object::_PR_is_valid(CORBA::Object*)]+0x18): undefined reference to `_imp___ZN5CORBA6Object9_PR_magicE'<br>
HelloSK.o:HelloSK.cc:(.text$_ZN5CORBA6ObjectC2Ev[CORBA::Object::Object()]+0x1a): undefined reference to `_imp___ZN5CORBA6Object9_PR_magicE'<br>collect2: ld returned 1 exit status<br><br>I have been googling but I am unable to find a clue. Which library is missing?<br>
<br>Thanks in advance<br><br>