Archived
Windows link problem...
Hi All,
I'm porting some linux ice code to windows. (Ice3.6.3). I'm getting the following linker error, has anyone came across same/similar?
Cheers,
A.
icelib.lib(Common.obj) : error LNK2001: unresolved external symbol "class IceInternal::FactoryTable * IceInternal::factoryTable" (?factoryTable@IceInternal@@3PEAVFactoryTable@1@EA)
icelib.lib(Bar.obj) : error LNK2001: unresolved external symbol "struct Ice::EncodingVersion const Ice::currentEncoding" (?currentEncoding@Ice@@3UEncodingVersion@1@B)
Comments
-
Hi Andy,
Can you tell us what C++ compiler are you using? And can you also paste the full build log where we can see the compiler options being set?
Are you also using the Ice Builder for Visual Studio? You should.
0 -
Hey thanks for getting back. I think I've resolved I needed to compile the code with /MD. It's actually the matlab mex compiler I'm using which calls out to the Visual Studio 2015 compiler/linker.
0