{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/6098","repository_url":"https://api.github.com/repos/scipy/scipy","labels_url":"https://api.github.com/repos/scipy/scipy/issues/6098/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/6098/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/6098/events","html_url":"https://github.com/scipy/scipy/issues/6098","id":150867976,"number":6098,"title":"Build in Windows platform under Visual Studio prompt will fail","user":{"login":"kevin-coder","id":3875962,"avatar_url":"https://avatars.githubusercontent.com/u/3875962?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin-coder","html_url":"https://github.com/kevin-coder","followers_url":"https://api.github.com/users/kevin-coder/followers","following_url":"https://api.github.com/users/kevin-coder/following{/other_user}","gists_url":"https://api.github.com/users/kevin-coder/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin-coder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin-coder/subscriptions","organizations_url":"https://api.github.com/users/kevin-coder/orgs","repos_url":"https://api.github.com/users/kevin-coder/repos","events_url":"https://api.github.com/users/kevin-coder/events{/privacy}","received_events_url":"https://api.github.com/users/kevin-coder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scipy/scipy/labels/Build%20issues","name":"Build issues","color":"207de5"},{"url":"https://api.github.com/repos/scipy/scipy/labels/invalid","name":"invalid","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-04-25T13:59:31Z","updated_at":"2016-06-29T21:19:36Z","closed_at":"2016-05-14T21:13:35Z","body":"**Build Environment:**\r\n1. scipy-0.17.0.tar.gz\r\n2. In Windows platform, both Win8.1 and Win10\r\n3. In Visual Studio 2012 prompt (Developer Command Prompt for VS2012)\r\n4. Also put both \"BLAS.lib\" and \"LAPACK.lib\" into the Python libs path. These 2 libraries were downloaded from http://icl.cs.utk.edu/lapack-for-windows/lapack/\r\n**Build cmd:**\r\nPython setup.py build\r\n**Build Result:**\r\n...\r\n...\r\nFound executable C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\BIN\\amd6\r\n4\\link.exe\r\n_vq.obj : warning LNK4197: export 'init_vq' specified multiple times; using firs\r\nt specification\r\n   Creating library build\\temp.win-amd64-2.7\\Release\\scipy\\cluster\\_vq.lib and o\r\nbject build\\temp.win-amd64-2.7\\Release\\scipy\\cluster\\_vq.exp\r\n_vq.obj : error LNK2019: unresolved external symbol __imp_free referenced in fun\r\nction __Pyx_ReleaseBuffer\r\n_vq.obj : error LNK2019: unresolved external symbol __imp_malloc referenced in f\r\nunction __pyx_pf_5numpy_7ndarray___getbuffer__\r\n_vq.obj : error LNK2019: unresolved external symbol sgemm_ referenced in functio\r\nn __pyx_fuse_0__pyx_f_5scipy_7cluster_3_vq_cal_M\r\n_vq.obj : error LNK2019: unresolved external symbol dgemm_ referenced in functio\r\nn __pyx_fuse_1__pyx_f_5scipy_7cluster_3_vq_cal_M\r\n_vq.obj : error LNK2019: unresolved external symbol sqrt referenced in function\r\n__pyx_fuse_0__pyx_f_5scipy_7cluster_3_vq__vq\r\n_vq.obj : error LNK2001: unresolved external symbol _fltused\r\nLINK : error LNK2001: unresolved external symbol _DllMainCRTStartup\r\nbuild\\lib.win-amd64-2.7\\scipy\\cluster\\_vq.pyd : fatal error LNK1120: 7 unresolve\r\nd externals\r\nerror: Command \"C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\BIN\\amd64\r\n\\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\\Software\\SoftwareDev\\Python27\r\n\\libs /LIBPATH:C:\\Software\\SoftwareDev\\cygwin64\\lib\\gcc\\x86_64-pc-cygwin\\5.3.0 /\r\nLIBPATH:C:\\Software\\SoftwareDev\\Python27\\libs /LIBPATH:C:\\Software\\SoftwareDev\\P\r\nython27\\PCbuild\\amd64 /LIBPATH:C:\\Software\\SoftwareDev\\Python27\\PC\\VS9.0\\amd64 /\r\nLIBPATH:build\\temp.win-amd64-2.7 /LIBPATH:C:\\Software\\SoftwareDev\\Python27\\libs\r\n/LIBPATH:C:\\Software\\SoftwareDev\\Python27\\PCbuild\\amd64 /LIBPATH:C:\\Software\\Sof\r\ntwareDev\\Python27\\PC\\VS9.0\\amd64 /LIBPATH:build\\temp.win-amd64-2.7 lapack.lib la\r\npack.lib blas.lib blas.lib /EXPORT:init_vq build\\temp.win-amd64-2.7\\Release\\scip\r\ny\\cluster\\_vq.obj /OUT:build\\lib.win-amd64-2.7\\scipy\\cluster\\_vq.pyd /IMPLIB:bui\r\nld\\temp.win-amd64-2.7\\Release\\scipy\\cluster\\_vq.lib /MANIFESTFILE:build\\temp.win\r\n-amd64-2.7\\Release\\scipy\\cluster\\_vq.pyd.manifest\" failed with exit status 1120\r\n\r\nfrom the error log, I know that I may missing some dependent libraries, but I don't know what are they."},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/229492268","html_url":"https://github.com/scipy/scipy/issues/6098#issuecomment-229492268","issue_url":"https://api.github.com/repos/scipy/scipy/issues/6098","id":229492268,"user":{"login":"rgommers","id":98330,"avatar_url":"https://avatars.githubusercontent.com/u/98330?v=3","gravatar_id":"","url":"https://api.github.com/users/rgommers","html_url":"https://github.com/rgommers","followers_url":"https://api.github.com/users/rgommers/followers","following_url":"https://api.github.com/users/rgommers/following{/other_user}","gists_url":"https://api.github.com/users/rgommers/gists{/gist_id}","starred_url":"https://api.github.com/users/rgommers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgommers/subscriptions","organizations_url":"https://api.github.com/users/rgommers/orgs","repos_url":"https://api.github.com/users/rgommers/repos","events_url":"https://api.github.com/users/rgommers/events{/privacy}","received_events_url":"https://api.github.com/users/rgommers/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T21:19:36Z","updated_at":"2016-06-29T21:19:36Z","body":"So you got a bit further, past the ``cluster`` issue. The qhull crash is probably gh-6316, there's a proposed fix in https://github.com/scipy/scipy/issues/6316#issuecomment-229482576 that seems to work."}}
{"actor":{"display_login":"rgommers"}}