This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于DM8148上的DSPstderr重定向的问题



因为在DSP核上移植了opencv的算法,但是在opencv中的错误时输出到标准错误stderr中的,没有办法直接查看到错误,现在想通过重定向将stderr重定向到文件系统中,但是直接使用 freopen("/opt/stderr.log", "w", stderr); 来重定向没有作用,所以请问如何在DM8148上实现stderr的重定向?