{"action":"created","issue":{"url":"https://api.github.com/repos/pcbend/GRSISort/issues/172","labels_url":"https://api.github.com/repos/pcbend/GRSISort/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/pcbend/GRSISort/issues/172/comments","events_url":"https://api.github.com/repos/pcbend/GRSISort/issues/172/events","html_url":"https://github.com/pcbend/GRSISort/issues/172","id":53666071,"number":172,"title":"GCanvas Compilation","user":{"login":"r3dunlop","id":5428160,"avatar_url":"https://avatars.githubusercontent.com/u/5428160?v=3","gravatar_id":"","url":"https://api.github.com/users/r3dunlop","html_url":"https://github.com/r3dunlop","followers_url":"https://api.github.com/users/r3dunlop/followers","following_url":"https://api.github.com/users/r3dunlop/following{/other_user}","gists_url":"https://api.github.com/users/r3dunlop/gists{/gist_id}","starred_url":"https://api.github.com/users/r3dunlop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r3dunlop/subscriptions","organizations_url":"https://api.github.com/users/r3dunlop/orgs","repos_url":"https://api.github.com/users/r3dunlop/repos","events_url":"https://api.github.com/users/r3dunlop/events{/privacy}","received_events_url":"https://api.github.com/users/r3dunlop/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pcbend/GRSISort/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"pcbend","id":433187,"avatar_url":"https://avatars.githubusercontent.com/u/433187?v=3","gravatar_id":"","url":"https://api.github.com/users/pcbend","html_url":"https://github.com/pcbend","followers_url":"https://api.github.com/users/pcbend/followers","following_url":"https://api.github.com/users/pcbend/following{/other_user}","gists_url":"https://api.github.com/users/pcbend/gists{/gist_id}","starred_url":"https://api.github.com/users/pcbend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcbend/subscriptions","organizations_url":"https://api.github.com/users/pcbend/orgs","repos_url":"https://api.github.com/users/pcbend/repos","events_url":"https://api.github.com/users/pcbend/events{/privacy}","received_events_url":"https://api.github.com/users/pcbend/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-01-07T18:43:21Z","updated_at":"2015-01-07T19:58:05Z","closed_at":null,"body":"Just tried pulling and compiling and ran into this. I'm sure it's a simple fix but I'll leave it to you so we don't conflict @pcbend .\r\n\r\n```\r\nNow Compiling GCanvas.o                         [ERROR]\r\nGCanvas.cxx: In member function ‘virtual void GCanvas::HandleInput(EEventType, Int_t, Int_t)’:\r\nGCanvas.cxx:115:12: error: ‘kArrowKeyPress’ was not declared in this scope\r\n       case kArrowKeyPress:\r\n            ^\r\nGCanvas.cxx:116:12: error: ‘kArrowKeyRelease’ was not declared in this scope\r\n       case kArrowKeyRelease:\r\n            ^\r\n```"},"comment":{"url":"https://api.github.com/repos/pcbend/GRSISort/issues/comments/69081742","html_url":"https://github.com/pcbend/GRSISort/issues/172#issuecomment-69081742","issue_url":"https://api.github.com/repos/pcbend/GRSISort/issues/172","id":69081742,"user":{"login":"r3dunlop","id":5428160,"avatar_url":"https://avatars.githubusercontent.com/u/5428160?v=3","gravatar_id":"","url":"https://api.github.com/users/r3dunlop","html_url":"https://github.com/r3dunlop","followers_url":"https://api.github.com/users/r3dunlop/followers","following_url":"https://api.github.com/users/r3dunlop/following{/other_user}","gists_url":"https://api.github.com/users/r3dunlop/gists{/gist_id}","starred_url":"https://api.github.com/users/r3dunlop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r3dunlop/subscriptions","organizations_url":"https://api.github.com/users/r3dunlop/orgs","repos_url":"https://api.github.com/users/r3dunlop/repos","events_url":"https://api.github.com/users/r3dunlop/events{/privacy}","received_events_url":"https://api.github.com/users/r3dunlop/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T19:58:05Z","updated_at":"2015-01-07T19:58:05Z","body":"Ok so I found it. I think Buttons.h is root version dependent. If I look at the root documentation I see:\r\n\r\n```c++\r\nenum EEventType {\r\n   kNoEvent       =  0,\r\n   kButton1Down   =  1, kButton2Down   =  2, kButton3Down   =  3, kKeyDown  =  4,\r\n   kWheelUp       =  5, kWheelDown     =  6, kButton1Shift  =  7, kButton1ShiftMotion  =  8,\r\n   kButton1Up     = 11, kButton2Up     = 12, kButton3Up     = 13, kKeyUp    = 14,\r\n   kButton1Motion = 21, kButton2Motion = 22, kButton3Motion = 23, kKeyPress = 24,\r\n   kArrowKeyPress = 25, kArrowKeyRelease = 26,\r\n   kButton1Locate = 41, kButton2Locate = 42, kButton3Locate = 43, kESC      = 27,\r\n   kMouseMotion   = 51, kMouseEnter    = 52, kMouseLeave    = 53,\r\n   kButton1Double = 61, kButton2Double = 62, kButton3Double = 63\r\n};\r\n```\r\n\r\nHowever, if I go into my root install and look at Buttons.h this is what I see:\r\n```c++\r\nenum EEventType {\r\n   kNoEvent       =  0,\r\n   kButton1Down   =  1, kButton2Down   =  2, kButton3Down   =  3, kKeyDown  =  4,\r\n   kWheelUp       =  5, kWheelDown     =  6, kButton1Shift  =  7, kButton1ShiftMotion  =  8,\r\n   kButton1Up     = 11, kButton2Up     = 12, kButton3Up     = 13, kKeyUp    = 14,\r\n   kButton1Motion = 21, kButton2Motion = 22, kButton3Motion = 23, kKeyPress = 24,\r\n   kButton1Locate = 41, kButton2Locate = 42, kButton3Locate = 43, kESC      = 27,\r\n   kMouseMotion   = 51, kMouseEnter    = 52, kMouseLeave    = 53,\r\n   kButton1Double = 61, kButton2Double = 62, kButton3Double = 63\r\n};\r\n```\r\nSo it appears as though kArrowPress is missing. The ROOT version I am using is 5.34.18\r\n"}}