{"action":"created","issue":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/5143","repository_url":"https://api.github.com/repos/Project-OSRM/osrm-backend","labels_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/5143/labels{/name}","comments_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/5143/comments","events_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/5143/events","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/5143","id":341420124,"node_id":"MDU6SXNzdWUzNDE0MjAxMjQ=","number":5143,"title":"Can't compile on Linux Mint 19","user":{"login":"lbedogni","id":417701,"node_id":"MDQ6VXNlcjQxNzcwMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/417701?v=4","gravatar_id":"","url":"https://api.github.com/users/lbedogni","html_url":"https://github.com/lbedogni","followers_url":"https://api.github.com/users/lbedogni/followers","following_url":"https://api.github.com/users/lbedogni/following{/other_user}","gists_url":"https://api.github.com/users/lbedogni/gists{/gist_id}","starred_url":"https://api.github.com/users/lbedogni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbedogni/subscriptions","organizations_url":"https://api.github.com/users/lbedogni/orgs","repos_url":"https://api.github.com/users/lbedogni/repos","events_url":"https://api.github.com/users/lbedogni/events{/privacy}","received_events_url":"https://api.github.com/users/lbedogni/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-16T07:51:15Z","updated_at":"2018-07-27T11:08:03Z","closed_at":"2018-07-17T08:33:16Z","author_association":"NONE","body":"Hi, as the title says, I am not able to compile osrm running Linux Mint 19.\r\n`cmake ..`\r\nfrom the build directory went fine.\r\nHowever, when running\r\n\r\n> [ 28%] Building CXX object CMakeFiles/EXTRACTOR.dir/src/extractor/extraction_containers.cpp.o\r\nIn file included from /usr/include/linux/aio_abi.h:31:0,\r\n                 from /usr/include/stxxl/bits/io/linuxaio_queue.h:21,\r\n                 from /usr/include/stxxl/bits/io/disk_queues.h:26,\r\n                 from /usr/include/stxxl/bits/mng/buf_writer.h:20,\r\n                 from /usr/include/stxxl/bits/mng/buf_ostream.h:17,\r\n                 from /usr/include/stxxl/bits/containers/vector.h:32,\r\n                 from /usr/include/stxxl/vector:14,\r\n                 from /home/lbedogni/repo/osrm-backend/include/extractor/extraction_containers.hpp:10,\r\n                 from /home/lbedogni/repo/osrm-backend/src/extractor/extraction_containers.cpp:1:\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:20:20: error: expected ‘)’ before numeric constant\r\n template <unsigned BLOCK_SIZE = 16, bool USE_SHARED_MEMORY = false> class RangeTable;\r\n                    ^\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:20:20: error: expected ‘>’ before numeric constant\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:20:20: error: expected unqualified-id before ‘)’ token\r\n template <unsigned BLOCK_SIZE = 16, bool USE_SHARED_MEMORY = false> class RangeTable;\r\n                    ^\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:22:20: error: expected ‘)’ before numeric constant\r\n template <unsigned BLOCK_SIZE, bool USE_SHARED_MEMORY>\r\n                    ^\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:22:20: error: expected ‘>’ before numeric constant\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:22:20: error: expected unqualified-id before ‘)’ token\r\n template <unsigned BLOCK_SIZE, bool USE_SHARED_MEMORY>\r\n                    ^\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:25:20: error: expected ‘)’ before numeric constant\r\n template <unsigned BLOCK_SIZE, bool USE_SHARED_MEMORY>\r\n                    ^\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:25:20: error: expected ‘>’ before numeric constant\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:25:20: error: expected unqualified-id before ‘)’ token\r\n template <unsigned BLOCK_SIZE, bool USE_SHARED_MEMORY>\r\n                    ^\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:37:20: error: expected ‘)’ before numeric constant\r\n template <unsigned BLOCK_SIZE, bool USE_SHARED_MEMORY> class RangeTable\r\n                    ^\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:37:20: error: expected ‘>’ before numeric constant\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:37:20: error: expected unqualified-id before ‘)’ token\r\n template <unsigned BLOCK_SIZE, bool USE_SHARED_MEMORY> class RangeTable\r\n                    ^\r\nIn file included from /home/lbedogni/repo/osrm-backend/src/extractor/extraction_containers.cpp:5:0:\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:185:2: warning: extra ‘;’ [-Wpedantic]\r\n };\r\n  ^\r\nIn file included from /usr/include/linux/aio_abi.h:31:0,\r\n                 from /usr/include/stxxl/bits/io/linuxaio_queue.h:21,\r\n                 from /usr/include/stxxl/bits/io/disk_queues.h:26,\r\n                 from /usr/include/stxxl/bits/mng/buf_writer.h:20,\r\n                 from /usr/include/stxxl/bits/mng/buf_ostream.h:17,\r\n                 from /usr/include/stxxl/bits/containers/vector.h:32,\r\n                 from /usr/include/stxxl/vector:14,\r\n                 from /home/lbedogni/repo/osrm-backend/include/extractor/extraction_containers.hpp:10,\r\n                 from /home/lbedogni/repo/osrm-backend/src/extractor/extraction_containers.cpp:1:\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:187:20: error: expected ‘)’ before numeric constant\r\n template <unsigned BLOCK_SIZE, bool USE_SHARED_MEMORY>\r\n                    ^\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:187:20: error: expected ‘>’ before numeric constant\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:187:20: error: expected unqualified-id before ‘)’ token\r\n template <unsigned BLOCK_SIZE, bool USE_SHARED_MEMORY>\r\n                    ^\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:202:20: error: expected ‘)’ before numeric constant\r\n template <unsigned BLOCK_SIZE, bool USE_SHARED_MEMORY>\r\n                    ^\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:202:20: error: expected ‘>’ before numeric constant\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:202:20: error: expected unqualified-id before ‘)’ token\r\n template <unsigned BLOCK_SIZE, bool USE_SHARED_MEMORY>\r\n                    ^\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:218:20: error: expected ‘)’ before numeric constant\r\n template <unsigned BLOCK_SIZE, bool USE_SHARED_MEMORY>\r\n                    ^\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:218:20: error: expected ‘>’ before numeric constant\r\n/home/lbedogni/repo/osrm-backend/include/util/range_table.hpp:218:20: error: expected unqualified-id before ‘)’ token\r\n template <unsigned BLOCK_SIZE, bool USE_SHARED_MEMORY>\r\n                    ^\r\n/home/lbedogni/repo/osrm-backend/src/extractor/extraction_containers.cpp: In member function ‘void osrm::extractor::ExtractionContainers::WriteNames(const string&) const’:\r\n/home/lbedogni/repo/osrm-backend/src/extractor/extraction_containers.cpp:118:11: error: ‘RangeTable’ is not a member of ‘osrm::util’\r\n     util::RangeTable<> name_index_range(name_lengths);\r\n           ^~~~~~~~~~\r\n/home/lbedogni/repo/osrm-backend/src/extractor/extraction_containers.cpp:118:22: error: expected primary-expression before ‘>’ token\r\n     util::RangeTable<> name_index_range(name_lengths);\r\n                      ^\r\n/home/lbedogni/repo/osrm-backend/src/extractor/extraction_containers.cpp:118:24: error: ‘name_index_range’ was not declared in this scope\r\n     util::RangeTable<> name_index_range(name_lengths);\r\n                        ^~~~~~~~~~~~~~~~\r\n/home/lbedogni/repo/osrm-backend/src/extractor/extraction_containers.cpp:118:24: note: suggested alternative: ‘file_dedupe_range’\r\n     util::RangeTable<> name_index_range(name_lengths);\r\n                        ^~~~~~~~~~~~~~~~\r\n                        file_dedupe_range\r\nCMakeFiles/EXTRACTOR.dir/build.make:110: recipe for target 'CMakeFiles/EXTRACTOR.dir/src/extractor/extraction_containers.cpp.o' failed\r\nmake[2]: *** [CMakeFiles/EXTRACTOR.dir/src/extractor/extraction_containers.cpp.o] Error 1\r\nCMakeFiles/Makefile2:136: recipe for target 'CMakeFiles/EXTRACTOR.dir/all' failed\r\nmake[1]: *** [CMakeFiles/EXTRACTOR.dir/all] Error 2\r\nMakefile:129: recipe for target 'all' failed\r\nmake: *** [all] Error 2"},"comment":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/comments/408387571","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/5143#issuecomment-408387571","issue_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/5143","id":408387571,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODM4NzU3MQ==","user":{"login":"yaofu1986","id":18565524,"node_id":"MDQ6VXNlcjE4NTY1NTI0","avatar_url":"https://avatars0.githubusercontent.com/u/18565524?v=4","gravatar_id":"","url":"https://api.github.com/users/yaofu1986","html_url":"https://github.com/yaofu1986","followers_url":"https://api.github.com/users/yaofu1986/followers","following_url":"https://api.github.com/users/yaofu1986/following{/other_user}","gists_url":"https://api.github.com/users/yaofu1986/gists{/gist_id}","starred_url":"https://api.github.com/users/yaofu1986/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaofu1986/subscriptions","organizations_url":"https://api.github.com/users/yaofu1986/orgs","repos_url":"https://api.github.com/users/yaofu1986/repos","events_url":"https://api.github.com/users/yaofu1986/events{/privacy}","received_events_url":"https://api.github.com/users/yaofu1986/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T11:08:03Z","updated_at":"2018-07-27T11:08:03Z","author_association":"NONE","body":"I encountered the same error when compiling osrm v5.4.3 on Ubuntu 18.04. Did you resolve it?"}}
{"actor":{"display_login":"yaofu1986"}}