Windows link problem...

smandysmandy Member Andy SmithOrganization: Self EmployedProject: Learning Ice

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" ([email protected]@@[email protected]@EA)
icelib.lib(Bar.obj) : error LNK2001: unresolved external symbol "struct Ice::EncodingVersion const Ice::currentEncoding" ([email protected]@@[email protected]@B)

Best Answer

  • xdmxdm ZeroC Staff La Coruña, SpainJose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Accepted Answer

    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.

Answers

  • xdmxdm ZeroC Staff La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Accepted Answer

    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.

  • smandysmandy Member Andy SmithOrganization: Self EmployedProject: Learning Ice

    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.

Sign In or Register to comment.