Closed feroldi closed 9 years ago
Did you even look at the errors?
error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
You're not enabling C++11 and thus the C++11 features std::unordered_set
and std::unique_ptr
do not exist. :wink:
I expected it to be in the makefile. Anyway, thanks.
This is in the CMakeListst.txt as
# light uses C++11 features
if(CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
endif()
I suppose this could be modified to better support what you're using if you'd like.
Also I fixed the data directory being copied to the wrong path issue. Thanks for pointing that out!
No problem!
Some C++ errors appears in
LTBL/QuadTreeNode.h
,LTBL/LightSystem.h
, some namespace's errors, syntax errors and so on.I tried to compile the sample (which I needed to place the
data
folder to its directory) and these errors just exploded in my face.Here's the complete output: