Closed schuhschuh closed 8 years ago
The issue doesn't seem to be that the types are not being registered. Maybe it is rather some kind of a DLL boundary issue. The energy term types registered by the Transformation library are available, but those from the Registration and Deformable libraries are missing. Also, the IO classes of the IO library are correctly registered as well. Note that the object factory class is part of the Transformation library...
The issue should be caused by this: http://stackoverflow.com/questions/21333935/using-a-singleton-across-dll-boundary
The build of the DLLs on Windows works fine, however, the object factories are not initialised properly. Maybe the
Initialize<Module>Library
function should be called from a DllMain function?