Unable to Compile open C++ Templates

Solved. Here is the answer.