You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/ilikecats/src/CpuVoxelRaycaster/lib/swarm/swarm.hpp: In member function ‘swrm::WorkGroup swrm::Swarm::execute(swrm::WorkerFunction, uint32_t)’:
/home/ilikecats/src/CpuVoxelRaycaster/lib/swarm/swarm.hpp:225:39: error: ‘make_unique’ is not a member of ‘std’
225 | return WorkGroup(std::make_unique<ExecutionGroup>(job, group_size, m_available_workers));
| ^~~~~~~~~~~
/home/ilikecats/src/CpuVoxelRaycaster/lib/swarm/swarm.hpp:225:39: note: ‘std::make_unique’ is only available from C++14 onwards
I tried adding set(CMAKE_CXX_STANDARD 17) to CMakeLists.txt but it didn't work.
How can I fix it?
The text was updated successfully, but these errors were encountered:
I was compiling this, and it said
I tried adding
set(CMAKE_CXX_STANDARD 17)
toCMakeLists.txt
but it didn't work.How can I fix it?
The text was updated successfully, but these errors were encountered: