An unknown error occurs during packaging.

I’ve been experiencing this error since I started developing with C++ classes. How can I resolve it?