{"action":"created","issue":{"url":"https://api.github.com/repos/EOSIO/eosio.cdt/issues/278","repository_url":"https://api.github.com/repos/EOSIO/eosio.cdt","labels_url":"https://api.github.com/repos/EOSIO/eosio.cdt/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/EOSIO/eosio.cdt/issues/278/comments","events_url":"https://api.github.com/repos/EOSIO/eosio.cdt/issues/278/events","html_url":"https://github.com/EOSIO/eosio.cdt/issues/278","id":381139344,"node_id":"MDU6SXNzdWUzODExMzkzNDQ=","number":278,"title":"Can't find system contracts","user":{"login":"PhillipHamnett","id":5197377,"node_id":"MDQ6VXNlcjUxOTczNzc=","avatar_url":"https://avatars0.githubusercontent.com/u/5197377?v=4","gravatar_id":"","url":"https://api.github.com/users/PhillipHamnett","html_url":"https://github.com/PhillipHamnett","followers_url":"https://api.github.com/users/PhillipHamnett/followers","following_url":"https://api.github.com/users/PhillipHamnett/following{/other_user}","gists_url":"https://api.github.com/users/PhillipHamnett/gists{/gist_id}","starred_url":"https://api.github.com/users/PhillipHamnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhillipHamnett/subscriptions","organizations_url":"https://api.github.com/users/PhillipHamnett/orgs","repos_url":"https://api.github.com/users/PhillipHamnett/repos","events_url":"https://api.github.com/users/PhillipHamnett/events{/privacy}","received_events_url":"https://api.github.com/users/PhillipHamnett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-15T12:27:17Z","updated_at":"2018-11-29T12:11:55Z","closed_at":null,"author_association":"NONE","body":"I am trying to compile some code with the following command:\r\n\r\n```eosio-cpp mycontract.cpp -I=$(INCLUDE_FOLDER)  -isystem=/path/to/eos/folder --abigen -o mycontract.wasm```\r\n\r\nI get the error:\r\n```\r\nmycontract.cpp:13:10: fatal error: 'eosio.system/eosio.system.hpp' file not found\r\n#include <eosio.system/eosio.system.hpp>\r\n```"},"comment":{"url":"https://api.github.com/repos/EOSIO/eosio.cdt/issues/comments/442811687","html_url":"https://github.com/EOSIO/eosio.cdt/issues/278#issuecomment-442811687","issue_url":"https://api.github.com/repos/EOSIO/eosio.cdt/issues/278","id":442811687,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjgxMTY4Nw==","user":{"login":"lonkly","id":1292110,"node_id":"MDQ6VXNlcjEyOTIxMTA=","avatar_url":"https://avatars1.githubusercontent.com/u/1292110?v=4","gravatar_id":"","url":"https://api.github.com/users/lonkly","html_url":"https://github.com/lonkly","followers_url":"https://api.github.com/users/lonkly/followers","following_url":"https://api.github.com/users/lonkly/following{/other_user}","gists_url":"https://api.github.com/users/lonkly/gists{/gist_id}","starred_url":"https://api.github.com/users/lonkly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lonkly/subscriptions","organizations_url":"https://api.github.com/users/lonkly/orgs","repos_url":"https://api.github.com/users/lonkly/repos","events_url":"https://api.github.com/users/lonkly/events{/privacy}","received_events_url":"https://api.github.com/users/lonkly/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T12:11:55Z","updated_at":"2018-11-29T12:11:55Z","author_association":"NONE","body":"This error is not only about system contracts, I have the same issue, but with \r\n```\r\n#include <eosiolib/eosio.hpp>\r\n#include <eosiolib/transaction.hpp>\r\n#include <eosiolib/crypto.h>\r\n#include <eosiolib/asset.hpp>\r\n```\r\nStill contract compiles and wasm is generated normally, it just kind of ignores includepath specified `\"/usr/opt/eosio.cdt/1.4.1/include\"`\r\nAnd the same problem is on my mac, where the includepath links to brew-installed cdt package and still it \"can not\" find sources, even though I can easily go to definition etc. "}}
{"actor":{"display_login":"lonkly"}}