Software Archive
Read-only legacy content
17061 Discussions

Null Pointer with PIXEL_FORMAT_RGB32

Keith_B_1
Beginner
361 Views

I am using an F200 with 2016 R1 of the SDK and get a null pointer error at this Acquire Access Command .

PXCImage::ImageData dataRGB;

rgbImage->AcquireAccess(PXCImage::ACCESS_READ, PXCImage::PIXEL_FORMAT_RGB32, &dataRGB);

Why is this happening?

0 Kudos
2 Replies
Xusheng_L_Intel
Employee
361 Views

Could you provide the full codes of this part so I can help you to figure out? Or you can look at our sample app @C:\Program Files (x86)\Intel\RSSDK\sample\DF_RawStreams. Thanks!

0 Kudos
Keith_B_1
Beginner
361 Views

I figured it out. My Linker Input Dependencies string in VS had gotten corrupted somehow. 

0 Kudos
Reply