Sunday, October 7, 2012

Executing pcd_write Windows issue with VC Express 08

For the newbies of PCL you might face the issues while debugging your PCL applications. 
> cmake working fine
> All compilation & linking completed successfully.

On executing the debug binary Error pops up - no solution or code change seems to be right?


Error message: 
The application failed to initialize properly (0xc0150002). Click OK to terminate the application.
Cause: 
This can occur because of the following reason:
>> Installed only VS Express version - the debug is not supported

Solution:
Try to compile and execute the release version - this is fully supported.

Other ways to ensure the problem is due to VS express edition
- <drive:>/Program Files\PCL 1.5.1\bin\ - try to execute any debug binary - it should also not initialize.
On executing: pcd_viewer_debug.exe : it throws an error:
>> This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

Error message in VC++ Debug mode: 
LDR: LdrpWalkImportDescriptor() failed to probe D:\Program Files\PCL 1.5.1\bin\pcl_common_debug.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[18448] pcd_write_test.exe: Native' has exited with code -1072365566 (0xc0150002).