I’m running "boxm2CppUpdateImageProcess" in Python and it is failing to cast rays, giving the error:

"boxm2_cast_ray_function cannot dynamic cast camera"

 

I believe this is happening because Visual Studio 2010 is not able to dynamic_cast cam.ptr() to gcam (line 176 of boxm2_cast_ray_function.h.) I am running VXL on my Windows 7 laptop and I built VXL with MS Visual Studio 2010. I am inclined to believe that this is a compiler specific error and that this probably works in a Linux environment; however, I have not build VXL/BOXM2 on a Linux machine yet.  Has this problem been encountered before?  What would you recommend as a work around?

 

Greg