{"action":"opened","issue":{"url":"https://api.github.com/repos/NCCA/ParticleFactory/issues/1","labels_url":"https://api.github.com/repos/NCCA/ParticleFactory/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/NCCA/ParticleFactory/issues/1/comments","events_url":"https://api.github.com/repos/NCCA/ParticleFactory/issues/1/events","html_url":"https://github.com/NCCA/ParticleFactory/issues/1","id":114801097,"number":1,"title":"Compilation error","user":{"login":"erice4","id":6303614,"avatar_url":"https://avatars.githubusercontent.com/u/6303614?v=3","gravatar_id":"","url":"https://api.github.com/users/erice4","html_url":"https://github.com/erice4","followers_url":"https://api.github.com/users/erice4/followers","following_url":"https://api.github.com/users/erice4/following{/other_user}","gists_url":"https://api.github.com/users/erice4/gists{/gist_id}","starred_url":"https://api.github.com/users/erice4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erice4/subscriptions","organizations_url":"https://api.github.com/users/erice4/orgs","repos_url":"https://api.github.com/users/erice4/repos","events_url":"https://api.github.com/users/erice4/events{/privacy}","received_events_url":"https://api.github.com/users/erice4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-03T12:02:34Z","updated_at":"2015-11-03T12:02:34Z","closed_at":null,"body":"In file included from src/Emitter.cpp:1:0:\r\ninclude/Emitter.h:67:19: error: 'unique_ptr' is not a member of 'std'\r\n     std::vector < std::unique_ptr<Particle>> m_particles;\r\n                   ^\r\ninclude/Emitter.h:67:19: error: 'unique_ptr' is not a member of 'std'\r\ninclude/Emitter.h:67:35: error: template argument 1 is invalid\r\n     std::vector < std::unique_ptr<Particle>> m_particles;\r\n                                   ^\r\ninclude/Emitter.h:67:35: error: template argument 2 is invalid\r\ninclude/Emitter.h:67:43: error: expected unqualified-id before '>' token\r\n     std::vector < std::unique_ptr<Particle>> m_particles;\r\n                                           ^\r\nsrc/Emitter.cpp: In constructor 'Emitter::Emitter(ngl::Vec3, unsigned int, const ngl::Camera*)':\r\nsrc/Emitter.cpp:21:3: error: 'm_particles' was not declared in this scope\r\n   m_particles.resize(m_numParticles);\r\n   ^\r\nsrc/Emitter.cpp:23:24: error: unable to deduce 'auto&&' from 'm_particles'\r\n   for(auto &particle : m_particles)\r\n                        ^\r\nsrc/Emitter.cpp: In constructor 'Emitter::Emitter(ngl::Vec3, unsigned int, const ngl::Camera*, ParticleType)':\r\nsrc/Emitter.cpp:57:24: error: 'm_particles' was not declared in this scope\r\n   for(auto &particle : m_particles)\r\n                        ^\r\nsrc/Emitter.cpp: In member function 'void Emitter::addParticle(ParticleType)':\r\nsrc/Emitter.cpp:82:3: error: 'm_particles' was not declared in this scope\r\n   m_particles.push_back(std::unique_ptr<Particle> (p->CreateParticle(_type,m_pos,dir,c,\"Phong\",this)));\r\n   ^\r\nsrc/Emitter.cpp: In member function 'void Emitter::removeParticle()':\r\nsrc/Emitter.cpp:94:5: error: 'm_particles' was not declared in this scope\r\n     m_particles.pop_back();\r\n     ^\r\nsrc/Emitter.cpp: In destructor 'Emitter::~Emitter()':\r\nsrc/Emitter.cpp:101:3: error: 'm_particles' was not declared in this scope\r\n   m_particles.clear();\r\n   ^\r\nsrc/Emitter.cpp: In member function 'void Emitter::draw() const':\r\nsrc/Emitter.cpp:108:17: error: 'm_particles' was not declared in this scope\r\n   for(auto &p : m_particles)\r\n                 ^\r\nsrc/Emitter.cpp: In member function 'void Emitter::update()':\r\nsrc/Emitter.cpp:117:17: error: 'm_particles' was not declared in this scope\r\n   for(auto &p : m_particles)\r\n                 ^\r\nsrc/Emitter.cpp: In member function 'void Emitter::updateEmitAngle(GLfloat)':\r\nsrc/Emitter.cpp:138:17: error: 'm_particles' was not declared in this scope\r\n   for(auto &p : m_particles)\r\n                 ^\r\nsrc/Emitter.cpp: In member function 'void Emitter::clearParticles()':\r\nsrc/Emitter.cpp:152:3: error: 'm_particles' was not declared in this scope\r\n   m_particles.clear();\r\n   ^\r\nmake: *** [obj/Emitter.o] Error 1\r\n11:59:48: The process \"/usr/bin/make\" exited with code 2.\r\nError while building/deploying project ParticleFactory (kit: Desktop Qt 5.5.0 GCC 64bit)\r\nWhen executing step \"Make\"\r\n11:59:48: Elapsed time: 00:02."}}