Skip to content

Build failure in release mode in Visual Studio 2017 #269

@dzenanz

Description

@dzenanz

The most recent version fails to build on 64-bit VS2017 in release mode. Debug mode builds fine. Errors are unresolved externals. The first error message is below:

vtkPlusServerTest.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl PlusTransformName::PlusTransformName(class PlusTransformName const &)" (_imp??0PlusTransformName@@qeaa@AEBV0@@z) referenced in function "enum PlusStatus __cdecl ConnectClients(int,class std::vector<class vtkSmartPointer,class std::allocator<class vtkSmartPointer > > &,int,class vtkSmartPointer)" (?ConnectClients@@ya?AW4PlusStatus@@HaeAv?$vector@V?$vtkSmartPointer@VvtkPlusOpenIGTLinkVideoSource@@@@v?$allocator@V?$vtkSmartPointer@VvtkPlusOpenIGTLinkVideoSource@@@@@std@@@std@@hv?$vtkSmartPointer@VvtkXMLDataElement@@@@@z) [C:\Dev\PlusGit\b64-17\PlusLib-bin\src\PlusServer\Testing\vtkPlusServerTest.vcxproj]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions