Skip to content

Unable to build shared library DLLs #3

@0xzz

Description

@0xzz

@cpinter Is it currently possible to output dynamic library .DLLs and/or with Python wrappers?

By default only a single .lib static library is generated. But I see that there are statements related to exporting dynamic libaries.

if(VTK_WRAP_PYTHON AND BUILD_SHARED_LIBS)

After manually adding these two variables in CMAKE as booleans, it prompts

CMake Error at src/CMakeLists.txt:145 (include):
include could not find load file:
vtkMacroKitPythonWrap
CMake Error at src/CMakeLists.txt:147 (vtkMacroKitPythonWrap):
Unknown CMake command "vtkMacroKitPythonWrap".

This required vtkMacroKitPythonWrap.cmake command looks like a part of Slicer. Is there a way of generating the .DLL without involving Slicer? If not possible, how can I adapt this wrapper into PolySeg. I'm happy to do the legwork but need some guidance. Thank you!

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