Oh thanks !
I was on the wrong road obviousely
.
I thought the C::B project made by CMake was a "pre-configurated" project for THE application we want to create. After reading your message, I went to build/library/PolyVoxCore and PolyVoxUtil and found .a files !
So I guess I have to link these files to my project.
I didn't try, but, what about the headers ? What should I do with them ? I'll certainly get an error if I try to include them.
(Unfortunately I can't try the examples because I don't have Qt, and I don't want to use it for my project).
EDIT: Well, I tried something that I should have tried first
:
I added the include dir of both PolyVox libs in the Search Directories menu, and then when I build the compiler finds the header but I get these errors:
Quote:
Error: #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. (Located in c++0x_warning.h)
error: 'shared_ptr' in namespace 'std' does not name a type (Located in PolyVoxCore/SurfaceMesh.h)
error: 'shared_ptr' in namespace 'std' does not name a type (Located in PolyVoxCore/SurfaceMesh.inl)
I have really no idea on how to fix this.
REEDIT: After doing some research, I've been able to build, but I don't know if what I did is bad or not, only you can tell me :
I followed what the headers from PolyVox do, and landed on TypeDef.h, in this file there is a condition : #if defined(_MSC_VER) && (_MSC_VER < 1600) to determine what tools to use. I just commented this condition and the else section, and then I've been able to build successfully.