luispedro / mahotas

Computer Vision in Python
https://mahotas.rtfd.io
Other
839 stars 147 forks source link

Fix build failure with msvc #21

Closed cgohlke closed 11 years ago

cgohlke commented 11 years ago

This fixes a link error when building with msvc9 on Windows:

_center_of_mass.obj : error LNK2019: unresolved external symbol "int __cdecl numpy::dtype_code<long>(void)" (??$dtype_code@J@numpy@@YAHXZ) referenced in function "bool __cdecl numpy::check_type<long>(struct PyArrayObject *)" (??$check_type@J@numpy@@YA_NPAUPyArrayObject@@@Z)
luispedro commented 11 years ago

Thank you!