{"action":"created","issue":{"url":"https://api.github.com/repos/zeha/python-superstatic/issues/2","repository_url":"https://api.github.com/repos/zeha/python-superstatic","labels_url":"https://api.github.com/repos/zeha/python-superstatic/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/zeha/python-superstatic/issues/2/comments","events_url":"https://api.github.com/repos/zeha/python-superstatic/issues/2/events","html_url":"https://github.com/zeha/python-superstatic/issues/2","id":147071305,"number":2,"title":"Trouble linking","user":{"login":"jamesd256","id":17936291,"avatar_url":"https://avatars.githubusercontent.com/u/17936291?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesd256","html_url":"https://github.com/jamesd256","followers_url":"https://api.github.com/users/jamesd256/followers","following_url":"https://api.github.com/users/jamesd256/following{/other_user}","gists_url":"https://api.github.com/users/jamesd256/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesd256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesd256/subscriptions","organizations_url":"https://api.github.com/users/jamesd256/orgs","repos_url":"https://api.github.com/users/jamesd256/repos","events_url":"https://api.github.com/users/jamesd256/events{/privacy}","received_events_url":"https://api.github.com/users/jamesd256/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-04-09T00:32:03Z","updated_at":"2016-04-13T21:44:11Z","closed_at":null,"body":"Hi,\r\n\r\nI am testing out your statically compiled interpreter, and it seems to build fine.\r\n\r\nI have a test project I'm using to see if I can link to it, and I have this compilation error:\r\n\r\nError\t1\terror LNK2019: unresolved external symbol __imp__Py_Initialize referenced in function _main\tstatic_python_test.obj\tstatic_python_test_2\r\n\r\nRunning dumpbin /all on my generated pythonembed.lib shows that the expected symbols are there:\r\n\r\nB297C2 _Py_Initialize\r\n\r\nBut I don't understand why the linker is looking for __imp__Py_Initialize and not _Py_Initialize.\r\n\r\nAre you able to point me in the right direction please?\r\n\r\nThanks,\r\n\r\nJames"},"comment":{"url":"https://api.github.com/repos/zeha/python-superstatic/issues/comments/209661559","html_url":"https://github.com/zeha/python-superstatic/issues/2#issuecomment-209661559","issue_url":"https://api.github.com/repos/zeha/python-superstatic/issues/2","id":209661559,"user":{"login":"jamesd256","id":17936291,"avatar_url":"https://avatars.githubusercontent.com/u/17936291?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesd256","html_url":"https://github.com/jamesd256","followers_url":"https://api.github.com/users/jamesd256/followers","following_url":"https://api.github.com/users/jamesd256/following{/other_user}","gists_url":"https://api.github.com/users/jamesd256/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesd256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesd256/subscriptions","organizations_url":"https://api.github.com/users/jamesd256/orgs","repos_url":"https://api.github.com/users/jamesd256/repos","events_url":"https://api.github.com/users/jamesd256/events{/privacy}","received_events_url":"https://api.github.com/users/jamesd256/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T21:44:11Z","updated_at":"2016-04-13T21:44:11Z","body":"I see what you mean, you can't have a statically linked python load c extensions.\r\n\r\nSo as you say I'll have to try to build Numpy and Scipy statically.  Wish me luck."}}