On 2016-11-30 20:06+0100 Mario Emmenlauer wrote: [...] > The symbol is defined in libvtkCommonCore-7.1.dll: > nm ../../bin/libvtkCommonCore-7.1.dll | c++filt | grep > 'vtkAOSDataArrayTemplate<unsigned char>::FastDownCast(vtkAbstractArray.*)' > > 0000000066bd10e0 T vtkAOSDataArrayTemplate<unsigned > char>::FastDownCast(vtkAbstractArray*) > > > > Am I missing something about linkage on Windows/MinGW?
If nm shows the symbol is defined, yet the linker cannot see it, then that is very likely due to a symbol visibility issue. To check that compare results for nm --defined-only which only lists symbols that are defined by the library and nm --defined-only --extern-only which only lists symbols that are both defined by the library and externally visible. If your "missing" symbol is on the first list but not the second, then you have to look carefully at how the other library symbols were made visible (typically by using __declspec( dllexport ) on Windows and __attribute__ ( ( visibility( "default" ) ) on Linux) and copy that method for this currently invisible symbol to make it visible. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ _______________________________________________ Msys2-users mailing list Msys2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msys2-users