I found the problem, my header was :
Code:
#include "PolyVoxCore/MaterialDensityPair.h"
#include "PolyVoxCore/SimpleVolume.h"
class toto
{
public:
toto();
void to_volData(PolyVox::SimpleVolume<PolyVox::MaterialDensityPair44> *);
//...
private:
PolyVox::SimpleVolume<PolyVox::MaterialDensityPair44> *to_volData;
//...
};
problem comes from the same name of the variable -
to_volData - and the name of the method -
to_volData - . After having changed the name, everything goes fine...
edit:: maybe you want to know, problem appeared when I compiled