a nvgstcapture-1.0 which I compiled by myself from the source codes occurs an error.

I want to compile nvgstcapture-1.0 from the source codes.
actually the compilation was success. But the execution result is the following.

** (nvgstcapture-1.0:3631): ERROR **: 20:57:20.048: <create_csi_cap_bin:2628> Element nvcamerasrc creation failed

Trace/breakpoint trap (core dumped)

How can I fix this to make it work?

hello DONGYUN,

may I know more details about your environment setups, which JetPack release you’re working with.
please also refer to L4T Multimedia API Reference for the steps to build the samples.
Or, please access L4T Accelerated GStreamer User Guide, and check the [GSTREAMER BUILD INSTRUCTIONS] session for details.

Please check if you have version matched. nvcamerasrc is deprecated on r32.1. One possibility is that you run old version nvgstcapture-1.0 on new version system image.