{"action":"created","issue":{"url":"https://api.github.com/repos/totalspectrum/spin2cpp/issues/8","repository_url":"https://api.github.com/repos/totalspectrum/spin2cpp","labels_url":"https://api.github.com/repos/totalspectrum/spin2cpp/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/totalspectrum/spin2cpp/issues/8/comments","events_url":"https://api.github.com/repos/totalspectrum/spin2cpp/issues/8/events","html_url":"https://github.com/totalspectrum/spin2cpp/issues/8","id":143098290,"number":8,"title":"spinconvert should allow lib file input from other than the current source directory","user":{"login":"dgately","id":3009364,"avatar_url":"https://avatars.githubusercontent.com/u/3009364?v=3","gravatar_id":"","url":"https://api.github.com/users/dgately","html_url":"https://github.com/dgately","followers_url":"https://api.github.com/users/dgately/followers","following_url":"https://api.github.com/users/dgately/following{/other_user}","gists_url":"https://api.github.com/users/dgately/gists{/gist_id}","starred_url":"https://api.github.com/users/dgately/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgately/subscriptions","organizations_url":"https://api.github.com/users/dgately/orgs","repos_url":"https://api.github.com/users/dgately/repos","events_url":"https://api.github.com/users/dgately/events{/privacy}","received_events_url":"https://api.github.com/users/dgately/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-23T22:39:00Z","updated_at":"2016-03-25T15:47:26Z","closed_at":"2016-03-25T15:47:26Z","body":"I keep all/most of my spin library files in a single directory. spin2cpp allows the \"-I\" option to declare directories where those libs can be found. spinconvert should be able to assist in declaring directories for libraries and then passing those declarations on to spin2cpp.\r\n\r\nThe following code gives an error when the file \"I2C_ROMEngine.spin\" is not in the same directory as the current source:\r\n\r\n    OBJ\r\n        ROM:     \"I2C_ROMEngine\"\r\n\r\nthe error:\r\n\r\n    spin2cpp --noheader -g --normalize --code=cog --data=hub -o\r\n    /Users/altergator/PropSpinCode/clearMem.cpp\r\n    /Users/altergator/PropSpinCode/clearMem.spin\r\n    I2C_ROMEngine: No such file or directory\r\n    child process exited abnormally"},"comment":{"url":"https://api.github.com/repos/totalspectrum/spin2cpp/issues/comments/201339662","html_url":"https://github.com/totalspectrum/spin2cpp/issues/8#issuecomment-201339662","issue_url":"https://api.github.com/repos/totalspectrum/spin2cpp/issues/8","id":201339662,"user":{"login":"totalspectrum","id":8365972,"avatar_url":"https://avatars.githubusercontent.com/u/8365972?v=3","gravatar_id":"","url":"https://api.github.com/users/totalspectrum","html_url":"https://github.com/totalspectrum","followers_url":"https://api.github.com/users/totalspectrum/followers","following_url":"https://api.github.com/users/totalspectrum/following{/other_user}","gists_url":"https://api.github.com/users/totalspectrum/gists{/gist_id}","starred_url":"https://api.github.com/users/totalspectrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/totalspectrum/subscriptions","organizations_url":"https://api.github.com/users/totalspectrum/orgs","repos_url":"https://api.github.com/users/totalspectrum/repos","events_url":"https://api.github.com/users/totalspectrum/events{/privacy}","received_events_url":"https://api.github.com/users/totalspectrum/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T15:47:26Z","updated_at":"2016-03-25T15:47:26Z","body":"There's a \"Library directory\" option under Options now. Thanks for suggesting this.\r\n"}}