Project compiles again. Increased the minimum CMake version to 2.8.4. Added Object class so all other object inherits from it. Simplified the camera class.