compiling mwdemoimaq in VC++ 2010 64-bit

1 view (last 30 days)
Hi All I am using the VC++ 2010 Express compiler to try and build an adaptor for a Redlake MotionPro HS-3 CMOS camera in R2011b in a 64-bit machine using the Image Acquisition Toolbox. The IDE changes from VC++2008 to 2010, the complication of a 64-bit system target and my minimal Windows programming experience is enough to keep me from getting even the demo compiled. I have a LNK1181 error cannot find kernel32.lib. I don't why it is even looking for it. Are there any newer step-by-step hints out there to get me over this initial potential barrier? Thanks

Accepted Answer

Walter Roberson
Walter Roberson on 5 Oct 2011
The failure to find kernel32 can (obscurely enough) be due to trying to compile a file out of a different directory where that directory name contains a space. cd'ing to the source directory and compiling there can apparently fix the problem. See CSSM discussion
I do not see the discussion of the other point now, but I believe I recently encountered the statement that kernel32 is the name that is used even for 64 bit routines -- it's just a different kernel32 in a different directory.

More Answers (0)

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!