Jetson TX1 Compiling Error

I have OpenCV installed on my TX1 and have been able to stream video with basic operations. I have GRIP on my secondary laptop and used FileZilla to transfer a C++ GRIP generated code for video processing. I added the .cpp and .h to a project. I also created a build directory and CMakeLists.txt. However, when I try to make the project I get this error:
https://drive.google.com/open?id=0B6D_u845SPT-Vmx1bGZVY3A3OU0
Thanks!
Lilly
GreengineerZ 3452

It’s kind of hard to fully help you without the code, but it seems like the compiler doesn’t know what you mean when you say BlurType. Make sure you #include the file where that object is declared and try to recompile.

Change BlurType blurtype =BlurType::BOX;
to
BlurType blurtype = BOX;

The second error is something to do with the compiler not supporting the in range for loops and you need a more updated compiler. I got both these errors but decided to use a non auto generated detect contour and threshold. The second one says warning and not sure if it will affect your compilation (it will probably affect something else though)

This helped! Thank you!

No problem. Did you ever manage to fix the 2nd error or did it just go away as a warning?