noXur/Smurf — Issue #9: loader code not compilable
Author: noXur
Created: 2011-12-02 14:58:56+00:00
State: open

Already fixed
==========
I changed `#include ` to `#include ` to match usal inclusion conventions as described in GLM Manual. To use GLM properly in your project file, make sure you have set the GLM include path to **C:\'Path-to-Libs'\GLM-0.9.2.7** and ***NOT*** together with the glm folder: **C:\'Path-to-Libs'\GLM-0.9.2.7\glm** ***<-- WRONG***.

C++ specific compilation issues
=========================
There are a lot of compilation issues waiting to be fixed by you:

```
1>------ Build started: Project: Smurf, Configuration: Debug Win32 ------
1>Build started 02.12.2011 15:52:03.
1>InitializeBuildStatus:
1> Touching "..\obj\Debug\Smurf.unsuccessfulbuild".
1>ClCompile:
1> main.cpp
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(56): error C2864: 'AmiraMesh::INTEGRATION_FILTER_POINT' : only static const integral data members can be initialized within a class
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(57): error C2864: 'AmiraMesh::INTEGRATION_FILTER_LINEAR' : only static const integral data members can be initialized within a class
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(58): error C2864: 'AmiraMesh::INTEGRATION_EULER' : only static const integral data members can be initialized within a class
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(59): error C2864: 'AmiraMesh::INTEGRATION_MODEULER' : only static const integral data members can be initialized within a class
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(44): error C2758: 'AmiraMesh::INTEGRATION_FILTER_POINT' : must be initialized in constructor base/member initializer list
1> c:\users\martin\documents\dev\smurf\include\amloader.hpp(56) : see declaration of 'AmiraMesh::INTEGRATION_FILTER_POINT'
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(44): error C2758: 'AmiraMesh::INTEGRATION_FILTER_LINEAR' : must be initialized in constructor base/member initializer list
1> c:\users\martin\documents\dev\smurf\include\amloader.hpp(57) : see declaration of 'AmiraMesh::INTEGRATION_FILTER_LINEAR'
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(44): error C2758: 'AmiraMesh::INTEGRATION_EULER' : must be initialized in constructor base/member initializer list
1> c:\users\martin\documents\dev\smurf\include\amloader.hpp(58) : see declaration of 'AmiraMesh::INTEGRATION_EULER'
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(44): error C2758: 'AmiraMesh::INTEGRATION_MODEULER' : must be initialized in constructor base/member initializer list
1> c:\users\martin\documents\dev\smurf\include\amloader.hpp(59) : see declaration of 'AmiraMesh::INTEGRATION_MODEULER'
1> amloader.cpp
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(56): error C2864: 'AmiraMesh::INTEGRATION_FILTER_POINT' : only static const integral data members can be initialized within a class
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(57): error C2864: 'AmiraMesh::INTEGRATION_FILTER_LINEAR' : only static const integral data members can be initialized within a class
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(58): error C2864: 'AmiraMesh::INTEGRATION_EULER' : only static const integral data members can be initialized within a class
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(59): error C2864: 'AmiraMesh::INTEGRATION_MODEULER' : only static const integral data members can be initialized within a class
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(44): error C2758: 'AmiraMesh::INTEGRATION_FILTER_POINT' : must be initialized in constructor base/member initializer list
1> c:\users\martin\documents\dev\smurf\include\amloader.hpp(56) : see declaration of 'AmiraMesh::INTEGRATION_FILTER_POINT'
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(44): error C2758: 'AmiraMesh::INTEGRATION_FILTER_LINEAR' : must be initialized in constructor base/member initializer list
1> c:\users\martin\documents\dev\smurf\include\amloader.hpp(57) : see declaration of 'AmiraMesh::INTEGRATION_FILTER_LINEAR'
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(44): error C2758: 'AmiraMesh::INTEGRATION_EULER' : must be initialized in constructor base/member initializer list
1> c:\users\martin\documents\dev\smurf\include\amloader.hpp(58) : see declaration of 'AmiraMesh::INTEGRATION_EULER'
1>c:\users\martin\documents\dev\smurf\include\amloader.hpp(44): error C2758: 'AmiraMesh::INTEGRATION_MODEULER' : must be initialized in constructor base/member initializer list
1> c:\users\martin\documents\dev\smurf\include\amloader.hpp(59) : see declaration of 'AmiraMesh::INTEGRATION_MODEULER'
1>c:\users\martin\documents\dev\smurf\src\amloader.cpp(12): error C2065: 'm_pfBuffer' : undeclared identifier
1>c:\users\martin\documents\dev\smurf\src\amloader.cpp(12): error C2065: 'm_pfBuffer' : undeclared identifier
1>c:\users\martin\documents\dev\smurf\src\amloader.cpp(12): error C2541: 'delete' : cannot delete objects that are not pointers
1>c:\users\martin\documents\dev\smurf\src\amloader.cpp(90): error C2440: '=' : cannot convert from 'float *' to 'glm::core::type::vec3 *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1> Generating Code...
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.74
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
```