{"action":"opened","issue":{"url":"https://api.github.com/repos/blink1073/tifffile/issues/5","labels_url":"https://api.github.com/repos/blink1073/tifffile/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/blink1073/tifffile/issues/5/comments","events_url":"https://api.github.com/repos/blink1073/tifffile/issues/5/events","html_url":"https://github.com/blink1073/tifffile/issues/5","id":53495866,"number":5,"title":"Installation fails on Windows 8 64-bit with MingW64","user":{"login":"nashv","id":62116,"avatar_url":"https://avatars.githubusercontent.com/u/62116?v=3","gravatar_id":"","url":"https://api.github.com/users/nashv","html_url":"https://github.com/nashv","followers_url":"https://api.github.com/users/nashv/followers","following_url":"https://api.github.com/users/nashv/following{/other_user}","gists_url":"https://api.github.com/users/nashv/gists{/gist_id}","starred_url":"https://api.github.com/users/nashv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nashv/subscriptions","organizations_url":"https://api.github.com/users/nashv/orgs","repos_url":"https://api.github.com/users/nashv/repos","events_url":"https://api.github.com/users/nashv/events{/privacy}","received_events_url":"https://api.github.com/users/nashv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-06T09:22:07Z","updated_at":"2015-01-06T09:22:07Z","closed_at":null,"body":"I think it is the C file that fails to compile but lack the expertise for more. Below is the error log.\r\n-------------------------------------------------------------------------------------------------------------\r\nC:\\Users\\Nachiket>pip install tifffile\r\nDownloading/unpacking tifffile\r\n  Running setup.py (path:C:\\Users\\Nachiket\\AppData\\Local\\Temp\\pip_build_Nash\\tif\r\nffile\\setup.py) egg_info for package tifffile\r\n\r\nInstalling collected packages: tifffile\r\n  Running setup.py install for tifffile\r\n\r\n    building '_tifffile' extension\r\n    C:\\mingw-w64\\x86_64-4.9.2-win32-seh-rt_v3-rev1\\mingw64\\bin\\gcc.exe -mdll -O\r\n-Wall -IC:\\Python34\\lib\\site-packages\\numpy\\core\\include -IC:\\Python34\\include -\r\nIC:\\Python34\\include -c tifffile.c -o build\\temp.win-amd64-3.4\\Release\\tifffile.\r\no\r\n    tifffile.c: In function 'py_decodelzw':\r\n    tifffile.c:651:5: warning: this decimal constant is unsigned only in ISO C90\r\n\r\n         mask = 4286578688;\r\n         ^\r\n    tifffile.c:683:13: warning: this decimal constant is unsigned only in ISO C9\r\n0\r\n                 mask = 4286578688;\r\n                 ^\r\n    tifffile.c:770:17: warning: this decimal constant is unsigned only in ISO C9\r\n0\r\n                     mask = 4290772992;\r\n                     ^\r\n    tifffile.c:775:17: warning: this decimal constant is unsigned only in ISO C9\r\n0\r\n                     mask = 4292870144;\r\n                     ^\r\n    tifffile.c:780:17: warning: this decimal constant is unsigned only in ISO C9\r\n0\r\n                     mask = 4293918720;\r\n                     ^\r\n    C:\\mingw-w64\\x86_64-4.9.2-win32-seh-rt_v3-rev1\\mingw64\\bin\\gcc.exe -shared -\r\ns build\\temp.win-amd64-3.4\\Release\\tifffile.o build\\temp.win-amd64-3.4\\Release\\_\r\ntifffile.def -LC:\\Python34\\libs -LC:\\Python34\\PCbuild\\amd64 -lpython34 -lmsvcr10\r\n0 -o build\\lib.win-amd64-3.4\\_tifffile.pyd\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0xcf): undefin\r\ned reference to `__imp_PyExc_TypeError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1e3): undefi\r\nned reference to `__imp_PyExc_MemoryError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x392): undefi\r\nned reference to `__imp_PyExc_TypeError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x452): undefi\r\nned reference to `__imp_PyExc_ValueError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x4b9): undefi\r\nned reference to `__imp_PyExc_MemoryError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x50d): undefi\r\nned reference to `__imp_PyExc_MemoryError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x9a5): undefi\r\nned reference to `__imp_PyExc_MemoryError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x12e4): undef\r\nined reference to `__imp_PyExc_ValueError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1316): undef\r\nined reference to `__imp_PyExc_TypeError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1363): undef\r\nined reference to `__imp_PyExc_ValueError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x138a): undef\r\nined reference to `__imp_PyExc_TypeError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1457): undef\r\nined reference to `__imp_PyExc_MemoryError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x14aa): undef\r\nined reference to `__imp_PyExc_ValueError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1803): undef\r\nined reference to `__imp_PyExc_ImportError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x184c): undef\r\nined reference to `__imp_PyExc_AttributeError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1861): undef\r\nined reference to `__imp_PyCapsule_Type'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1875): undef\r\nined reference to `__imp_PyExc_RuntimeError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x18e0): undef\r\nined reference to `__imp_PyExc_RuntimeError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1917): undef\r\nined reference to `__imp_PyExc_RuntimeError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x195b): undef\r\nined reference to `__imp_PyExc_RuntimeError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1985): undef\r\nined reference to `__imp_PyExc_RuntimeError'\r\n    build\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x19a3): more\r\nundefined references to `__imp_PyExc_RuntimeError' follow\r\n    C:/mingw-w64/x86_64-4.9.2-win32-seh-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64\r\n-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld.exe: build\\temp.win-amd\r\n64-3.4\\Release\\tifffile.o: bad reloc address 0x0 in section `.data'\r\n    collect2.exe: error: ld returned 1 exit status\r\n    error: command 'C:\\\\mingw-w64\\\\x86_64-4.9.2-win32-seh-rt_v3-rev1\\\\mingw64\\\\b\r\nin\\\\gcc.exe' failed with exit status 1\r\n    Complete output from command C:\\Python34\\python.exe -c \"import setuptools, t\r\nokenize;__file__='C:\\\\Users\\\\Nachiket\\\\AppData\\\\Local\\\\Temp\\\\pip_build_Nash\\\\tif\r\nffile\\\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().r\r\neplace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record C:\\Users\\Nachiket\\App\r\nData\\Local\\Temp\\pip-4b3rzo3f-record\\install-record.txt --single-version-external\r\nly-managed --compile:\r\n    running install\r\n\r\nrunning build\r\n\r\nrunning build_py\r\n\r\ncreating build\r\n\r\ncreating build\\lib.win-amd64-3.4\r\n\r\ncopying tifffile.py -> build\\lib.win-amd64-3.4\r\n\r\nrunning egg_info\r\n\r\ncreating tifffile.egg-info\r\n\r\nwriting top-level names to tifffile.egg-info\\top_level.txt\r\n\r\nwriting tifffile.egg-info\\PKG-INFO\r\n\r\nwriting dependency_links to tifffile.egg-info\\dependency_links.txt\r\n\r\nwriting top-level names to tifffile.egg-info\\top_level.txt\r\n\r\nwriting tifffile.egg-info\\PKG-INFO\r\n\r\nwriting dependency_links to tifffile.egg-info\\dependency_links.txt\r\n\r\nwriting manifest file 'tifffile.egg-info\\SOURCES.txt'\r\n\r\nwarning: manifest_maker: standard file '-c' not found\r\n\r\n\r\n\r\nreading manifest file 'tifffile.egg-info\\SOURCES.txt'\r\n\r\nwriting manifest file 'tifffile.egg-info\\SOURCES.txt'\r\n\r\nrunning build_ext\r\n\r\nbuilding '_tifffile' extension\r\n\r\ncreating build\\temp.win-amd64-3.4\r\n\r\ncreating build\\temp.win-amd64-3.4\\Release\r\n\r\nC:\\mingw-w64\\x86_64-4.9.2-win32-seh-rt_v3-rev1\\mingw64\\bin\\gcc.exe -mdll -O -Wal\r\nl -IC:\\Python34\\lib\\site-packages\\numpy\\core\\include -IC:\\Python34\\include -IC:\\\r\nPython34\\include -c tifffile.c -o build\\temp.win-amd64-3.4\\Release\\tifffile.o\r\n\r\ntifffile.c: In function 'py_decodelzw':\r\n\r\ntifffile.c:651:5: warning: this decimal constant is unsigned only in ISO C90\r\n\r\n     mask = 4286578688;\r\n\r\n     ^\r\n\r\ntifffile.c:683:13: warning: this decimal constant is unsigned only in ISO C90\r\n\r\n             mask = 4286578688;\r\n\r\n             ^\r\n\r\ntifffile.c:770:17: warning: this decimal constant is unsigned only in ISO C90\r\n\r\n                 mask = 4290772992;\r\n\r\n                 ^\r\n\r\ntifffile.c:775:17: warning: this decimal constant is unsigned only in ISO C90\r\n\r\n                 mask = 4292870144;\r\n\r\n                 ^\r\n\r\ntifffile.c:780:17: warning: this decimal constant is unsigned only in ISO C90\r\n\r\n                 mask = 4293918720;\r\n\r\n                 ^\r\n\r\nwriting build\\temp.win-amd64-3.4\\Release\\_tifffile.def\r\n\r\nC:\\mingw-w64\\x86_64-4.9.2-win32-seh-rt_v3-rev1\\mingw64\\bin\\gcc.exe -shared -s bu\r\nild\\temp.win-amd64-3.4\\Release\\tifffile.o build\\temp.win-amd64-3.4\\Release\\_tiff\r\nfile.def -LC:\\Python34\\libs -LC:\\Python34\\PCbuild\\amd64 -lpython34 -lmsvcr100 -o\r\n build\\lib.win-amd64-3.4\\_tifffile.pyd\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0xcf): undefined r\r\neference to `__imp_PyExc_TypeError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1e3): undefined\r\nreference to `__imp_PyExc_MemoryError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x392): undefined\r\nreference to `__imp_PyExc_TypeError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x452): undefined\r\nreference to `__imp_PyExc_ValueError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x4b9): undefined\r\nreference to `__imp_PyExc_MemoryError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x50d): undefined\r\nreference to `__imp_PyExc_MemoryError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x9a5): undefined\r\nreference to `__imp_PyExc_MemoryError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x12e4): undefined\r\n reference to `__imp_PyExc_ValueError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1316): undefined\r\n reference to `__imp_PyExc_TypeError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1363): undefined\r\n reference to `__imp_PyExc_ValueError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x138a): undefined\r\n reference to `__imp_PyExc_TypeError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1457): undefined\r\n reference to `__imp_PyExc_MemoryError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x14aa): undefined\r\n reference to `__imp_PyExc_ValueError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1803): undefined\r\n reference to `__imp_PyExc_ImportError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x184c): undefined\r\n reference to `__imp_PyExc_AttributeError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1861): undefined\r\n reference to `__imp_PyCapsule_Type'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1875): undefined\r\n reference to `__imp_PyExc_RuntimeError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x18e0): undefined\r\n reference to `__imp_PyExc_RuntimeError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1917): undefined\r\n reference to `__imp_PyExc_RuntimeError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x195b): undefined\r\n reference to `__imp_PyExc_RuntimeError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x1985): undefined\r\n reference to `__imp_PyExc_RuntimeError'\r\n\r\nbuild\\temp.win-amd64-3.4\\Release\\tifffile.o:tifffile.c:(.text+0x19a3): more unde\r\nfined references to `__imp_PyExc_RuntimeError' follow\r\n\r\nC:/mingw-w64/x86_64-4.9.2-win32-seh-rt_v3-rev1/mingw64/bin/../lib/gcc/x86_64-w64\r\n-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld.exe: build\\temp.win-amd64-3\r\n.4\\Release\\tifffile.o: bad reloc address 0x0 in section `.data'\r\n\r\ncollect2.exe: error: ld returned 1 exit status\r\n\r\nerror: command 'C:\\\\mingw-w64\\\\x86_64-4.9.2-win32-seh-rt_v3-rev1\\\\mingw64\\\\bin\\\\\r\ngcc.exe' failed with exit status 1\r\n\r\n----------------------------------------\r\nCleaning up...\r\nCommand C:\\Python34\\python.exe -c \"import setuptools, tokenize;__file__='C:\\\\Use\r\nrs\\\\Nachiket\\\\AppData\\\\Local\\\\Temp\\\\pip_build_Nash\\\\tifffile\\\\setup.py';exec(com\r\npile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __f\r\nile__, 'exec'))\" install --record C:\\Users\\Nachiket\\AppData\\Local\\Temp\\pip-4b3rz\r\no3f-record\\install-record.txt --single-version-externally-managed --compile fail\r\ned with error code 1 in C:\\Users\\Nachiket\\AppData\\Local\\Temp\\pip_build_Nash\\tiff\r\nfile\r\nStoring debug log for failure in C:\\Users\\Nachiket\\pip\\pip.log\r\n\r\nC:\\Users\\Nachiket>"}}