fhooper
5th of July 2003 (Sat), 12:46
Any one else using the cygwin gcc compiler for programs using the new Canon SDK 6.0 library?
I was able to successfully use gcc to compile and link with the CDSDK library, using the "sample" program listed in the CDSDK.pdf document. However, when I run this console-based program, which connects to the first available digital camera device, and downloads images from the camera, I run into a problem when it attempts to "cdOpenSource()".
The program runs throught the startup, and does the Rest/Next commands to identify the canon camera (an S10) correctly. However, I get a error on the next step, doing a cdOpenSource(), where it returns an error code of 0x86. Checking this error code shows a "DeviceInvalidParameter" - which is not a listed error code for this function call!. Additionally, when I print the input to this function call (a variable type "cdSourceInput"), it appears to show the correct name, camera type, etc.
At this point, I am stumped - anyone have any ideas on what to try next?
I was able to successfully use gcc to compile and link with the CDSDK library, using the "sample" program listed in the CDSDK.pdf document. However, when I run this console-based program, which connects to the first available digital camera device, and downloads images from the camera, I run into a problem when it attempts to "cdOpenSource()".
The program runs throught the startup, and does the Rest/Next commands to identify the canon camera (an S10) correctly. However, I get a error on the next step, doing a cdOpenSource(), where it returns an error code of 0x86. Checking this error code shows a "DeviceInvalidParameter" - which is not a listed error code for this function call!. Additionally, when I print the input to this function call (a variable type "cdSourceInput"), it appears to show the correct name, camera type, etc.
At this point, I am stumped - anyone have any ideas on what to try next?