GLFW无法在Atom上编译。我已经安装了GCC和clang

时间:2018-11-14 23:38:55

标签: c++ gcc clang glfw

我在文档中安装了GLFW,并且在其中也安装了GL,但是GL可以正常工作,而GLFW不能Shown here
GLFW路径here 新错误here

function sort_by_average_rating incorrect on input [[{'box_office': 35874798, 'ratings': [5, 2, 3, 9, 5, 2, 9], 'budget': 16277234.16}, {'box_office': 36159718, 'ratings': [9, 8, 2, 10, 6], 'budget': 14928243.11}, {'box_office': 45902132, 'ratings': [7, 7, 6], 'budget': 17305426.77}, {'box_office': 9920255, 'ratings': [8, 3, 9, 1, 9, 1], 'budget': 4214447.4}, {'box_office': 28163915, 'ratings': [1, 7, 8, 3, 8], 'budget': 5841329.67}, {'box_office': 5431090, 'ratings': [3, 1, 5, 1, 9, 1, 10], 'budget': 14396357.77}, {'box_office': 29674945, 'ratings': [1, 10, 2, 5], 'budget': 10909102.42}, {'box_office': 30136528, 'ratings': [1, 6, 1, 10], 'budget': 17685214.68}]]

result: [{'box_office': 35874798, 'ratings': [5, 2, 3, 9, 5, 2, 9], 'budget': 16277234.16}, {'box_office': 36159718, 'ratings': [9, 8, 2, 10, 6], 'budget': 14928243.11}, {'box_office': 45902132, 'ratings': [7, 7, 6], 'budget': 17305426.77}, {'box_office': 9920255, 'ratings': [8, 3, 9, 1, 9, 1], 'budget': 4214447.4}, {'box_office': 28163915, 'ratings': [1, 7, 8, 3, 8], 'budget': 5841329.67}, {'box_office': 5431090, 'ratings': [3, 1, 5, 1, 9, 1, 10], 'budget': 14396357.77}, {'box_office': 29674945, 'ratings': [1, 10, 2, 5], 'budget': 10909102.42}, {'box_office': 30136528, 'ratings': [1, 6, 1, 10], 'budget': 17685214.68}]

expected: [{'box_office': 5431090, 'ratings': [3, 1, 5, 1, 9, 1, 10], 'budget': 14396357.77}, {'box_office': 29674945, 'ratings': [1, 10, 2, 5], 'budget': 10909102.42}, {'box_office': 30136528, 'ratings': [1, 6, 1, 10], 'budget': 17685214.68}, {'box_office': 35874798, 'ratings': [5, 2, 3, 9, 5, 2, 9], 'budget': 16277234.16}, {'box_office': 9920255, 'ratings': [8, 3, 9, 1, 9, 1], 'budget': 4214447.4}, {'box_office': 28163915, 'ratings': [1, 7, 8, 3, 8], 'budget': 5841329.67}, {'box_office': 45902132, 'ratings': [7, 7, 6], 'budget': 17305426.77}, {'box_office': 36159718, 'ratings': [9, 8, 2, 10, 6], 'budget': 14928243.11}]

0 个答案:

没有答案