{"action":"created","issue":{"url":"https://api.github.com/repos/nirai-compiler/src/issues/11","repository_url":"https://api.github.com/repos/nirai-compiler/src","labels_url":"https://api.github.com/repos/nirai-compiler/src/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/nirai-compiler/src/issues/11/comments","events_url":"https://api.github.com/repos/nirai-compiler/src/issues/11/events","html_url":"https://github.com/nirai-compiler/src/issues/11","id":167238561,"number":11,"title":"Errors when linking libpandadna to exectuable","user":{"login":"lolman8776","id":11250762,"avatar_url":"https://avatars.githubusercontent.com/u/11250762?v=3","gravatar_id":"","url":"https://api.github.com/users/lolman8776","html_url":"https://github.com/lolman8776","followers_url":"https://api.github.com/users/lolman8776/followers","following_url":"https://api.github.com/users/lolman8776/following{/other_user}","gists_url":"https://api.github.com/users/lolman8776/gists{/gist_id}","starred_url":"https://api.github.com/users/lolman8776/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lolman8776/subscriptions","organizations_url":"https://api.github.com/users/lolman8776/orgs","repos_url":"https://api.github.com/users/lolman8776/repos","events_url":"https://api.github.com/users/lolman8776/events{/privacy}","received_events_url":"https://api.github.com/users/lolman8776/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-24T15:25:19Z","updated_at":"2016-07-24T23:03:23Z","closed_at":null,"body":"Hi, I'm not sure if this is nirai or libpandadna issue, but I posted it here because I thought it belongs in nirai issues, not libpandadna issues. Anyway, I can link it fine, but the executable doesn't like it.\r\n```\r\n:interrogatedb(error): Attempt to use type ostream which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type Filename which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type Datagram which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type Texture which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type NodePath which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type TextFont which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type TypedObject which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type ostream which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type TypeHandle which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type Datagram which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type LVecBase3f which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type LVecBase4f which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type LPoint3f which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type NodePath which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type TypeHandle which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type TypedObject which has not yet been defined!\r\n:interrogatedb(error): Attempt to use type LPoint3f which has not yet been defined!\r\nFatal Python error: PyThreadState_Get: no current thread\r\n```\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/nirai-compiler/src/issues/comments/234808593","html_url":"https://github.com/nirai-compiler/src/issues/11#issuecomment-234808593","issue_url":"https://api.github.com/repos/nirai-compiler/src/issues/11","id":234808593,"user":{"login":"lolman8776","id":11250762,"avatar_url":"https://avatars.githubusercontent.com/u/11250762?v=3","gravatar_id":"","url":"https://api.github.com/users/lolman8776","html_url":"https://github.com/lolman8776","followers_url":"https://api.github.com/users/lolman8776/followers","following_url":"https://api.github.com/users/lolman8776/following{/other_user}","gists_url":"https://api.github.com/users/lolman8776/gists{/gist_id}","starred_url":"https://api.github.com/users/lolman8776/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lolman8776/subscriptions","organizations_url":"https://api.github.com/users/lolman8776/orgs","repos_url":"https://api.github.com/users/lolman8776/repos","events_url":"https://api.github.com/users/lolman8776/events{/privacy}","received_events_url":"https://api.github.com/users/lolman8776/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T23:03:23Z","updated_at":"2016-07-24T23:03:23Z","body":"I built libpandadna with vs2010, then I set the libs to libpandadna.lib with `NiraiCompiler('rebuilt.exe', libs=set(glob.glob('libpandadna/Release/libpandadna.lib')))`. I didn't know there were 2 functions I was meant to call. But, when I try to call init_libpandadna, it produces a link error: `rebuilt.obj : error LNK2001: unresolved external symbol _init_libpandadna`."}}
{"actor":{"display_login":"lolman8776"}}