Ask Your Question

Rick's profile - activity

2013-09-22 16:35:04 -0600 asked a question iOS6 Installation Build Failed.

Took me a week to get a working framework in an app. Now I'm trying the same setup in a new app and it fails, over & over & over again.

Lexical or Preprocessor Issue 'list' file not found


So 3 days ago I began to try to make a new framework...

I downloaded 2.4.6.tar.gz
CMake 2.8.11.2
Mac OS 10.7.5
Xcode 4.6

and followed the directions on your site.

This is what I got.

-- Setting up iPhoneOS toolchain
-- iPhoneOS toolchain loaded
-- Looking for linux/videodev.h
-- Looking for linux/videodev.h - not found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - not found
-- Looking for sys/videoio.h
-- Looking for sys/videoio.h - not found

Why can't I just download a framework with suggestions to correct target build settings and .Prefix.pch information, etc ?

FFrruussttrraatteedd,
Any Guidance Greatly appreciated !
Thanks.
Rick
2012-11-09 06:53:15 -0600 asked a question Why will IplImage not work on ios6

Here is an example: using opencv2.4.3rc & iOS6 running in Xcode 4.5

IplImage *img = [self    CreateIplImageFromUIImage:keyImage];

IplImage* out = cvCreateImage( cvGetSize(img), IPL_DEPTH_8U, 3 ); 

cvSmooth( img, out, CV_BLUR, 7, 7 );

////OpenCV Error: Assertion failed (dst.size() == src.size() && (smooth_type == CV_BLUR_NO_SCALE || dst.type() == src.type())) in cvSmooth file /Users/alexandershishkov/opencv2.4.3rc/opencv/modules/imgproc/src/smooth.cpp, line 2223

-(UIImage *)UIImageFromIplImage:(IplImage *)image {

    CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();

    NSData *data = [NSData dataWithBytes:image->imageData length:image->imageSize];

    CGDataProviderRef provider = CGDataProviderCreateWithCFData((CFDataRef)CFBridgingRetain(data));

    CGImageRef imageRef = CGImageCreate(image->width,

                                    image->height,

                                    image->depth,

                                    image->depth * image->nChannels,

                                    image->widthStep,

                                    colorSpace,

                                    kCGImageAlphaPremultipliedLast|kCGBitmapByteOrderDefault,

                                    provider,

                                    NULL,

                                    false,

                                    kCGRenderingIntentDefault

                                    );

    UIImage *ret = [UIImage imageWithCGImage:imageRef scale:1.0 orientation:UIImageOrientationUp];

    CGImageRelease(imageRef);

    CGDataProviderRelease(provider);

    CGColorSpaceRelease(colorSpace);

    return ret;

}


Rick Tschudin [email protected]