First, let's try running the code to confirm that your setup works:
range = cvRange(1,100)# Main> (class cv::Range) {# .start = (int &) 1# .end = (int &) 100#}
If the code runs successfully and the output matches, you are well set and ready to proceed further.