{"action":"created","issue":{"url":"https://api.github.com/repos/Normaliz/Normaliz/issues/160","repository_url":"https://api.github.com/repos/Normaliz/Normaliz","labels_url":"https://api.github.com/repos/Normaliz/Normaliz/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/Normaliz/Normaliz/issues/160/comments","events_url":"https://api.github.com/repos/Normaliz/Normaliz/issues/160/events","html_url":"https://github.com/Normaliz/Normaliz/issues/160","id":273217480,"number":160,"title":"Using cone vector error","user":{"login":"akrsnr","id":17342831,"avatar_url":"https://avatars3.githubusercontent.com/u/17342831?v=4","gravatar_id":"","url":"https://api.github.com/users/akrsnr","html_url":"https://github.com/akrsnr","followers_url":"https://api.github.com/users/akrsnr/followers","following_url":"https://api.github.com/users/akrsnr/following{/other_user}","gists_url":"https://api.github.com/users/akrsnr/gists{/gist_id}","starred_url":"https://api.github.com/users/akrsnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akrsnr/subscriptions","organizations_url":"https://api.github.com/users/akrsnr/orgs","repos_url":"https://api.github.com/users/akrsnr/repos","events_url":"https://api.github.com/users/akrsnr/events{/privacy}","received_events_url":"https://api.github.com/users/akrsnr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-12T10:04:41Z","updated_at":"2017-11-12T10:35:31Z","closed_at":null,"author_association":"NONE","body":"When I want to run the code i get error,\r\n\r\n```\r\n#include <libnormaliz/libnormaliz.h>\r\n#include <libnormaliz/cone.h>\r\n#include <vector>\r\n\r\nint main() {\r\n    std::vector<std::vector <int> > data { {1,1,1}, {2,2,2} };\r\n\r\n    libnormaliz::Type::InputType type = libnormaliz::Type::cone;\r\n    /* runs well up to here */\r\n    libnormaliz::Cone<int> MyCone = libnormaliz::Cone<int>(type, data);\r\n\r\n    return 0;\r\n}\r\n```\r\n\r\nUndefined symbols for architecture x86_64:\r\n  \"libnormaliz::Cone<int>::Cone(libnormaliz::Type::InputType, std::__1::vector<std::__1::vector<int, std::__1::allocator<int> >, std::__1::allocator<std::__1::vector<int, std::__1::allocator<int> > > > const&)\", referenced from:\r\n      _main in normaliz.cpp.o\r\n  \"libnormaliz::Cone<int>::~Cone()\", referenced from:\r\n      _main in normaliz.cpp.o\r\nld: symbol(s) not found for architecture x86_64"},"comment":{"url":"https://api.github.com/repos/Normaliz/Normaliz/issues/comments/343727566","html_url":"https://github.com/Normaliz/Normaliz/issues/160#issuecomment-343727566","issue_url":"https://api.github.com/repos/Normaliz/Normaliz/issues/160","id":343727566,"user":{"login":"akrsnr","id":17342831,"avatar_url":"https://avatars3.githubusercontent.com/u/17342831?v=4","gravatar_id":"","url":"https://api.github.com/users/akrsnr","html_url":"https://github.com/akrsnr","followers_url":"https://api.github.com/users/akrsnr/followers","following_url":"https://api.github.com/users/akrsnr/following{/other_user}","gists_url":"https://api.github.com/users/akrsnr/gists{/gist_id}","starred_url":"https://api.github.com/users/akrsnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akrsnr/subscriptions","organizations_url":"https://api.github.com/users/akrsnr/orgs","repos_url":"https://api.github.com/users/akrsnr/repos","events_url":"https://api.github.com/users/akrsnr/events{/privacy}","received_events_url":"https://api.github.com/users/akrsnr/received_events","type":"User","site_admin":false},"created_at":"2017-11-12T10:35:31Z","updated_at":"2017-11-12T10:35:31Z","author_association":"NONE","body":"Same error appears for\r\n\r\n```\r\nstd::vector<std::vector <long long> > data { {1,1,1}, {2,2,2} };\r\n\r\n    libnormaliz::Type::InputType type = libnormaliz::Type::cone;\r\n    /* runs well up to here */\r\n    libnormaliz::Cone<long long> MyCone = libnormaliz::Cone<long long>(type, data);\r\n```"}}
{"actor":{"display_login":"akrsnr"}}