You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, this is 陳揚哲 and 周子翔.
We are conducting Vision isppipeline_hdr topic in Lab-C.
There's a problem of opencv directory.
In testbench, we need to include the xf_headers.hpp file, while the original code include the incorrect directory of opencv module.
Therefore, we modify the xf_headers.hpp file to the absolute directory.
We change the code from:
However, it turns out the .hpp file above also include the module with the incorrect directory.
The error message is shown below:
/usr/local/include/opencv4/opencv2/opencv.hpp:48:10: fatal error: opencv2/opencv_modules.hpp: No such file or directory #include "opencv2/opencv_modules.hpp"
Furthermore, these .hpp file is under /usr folder which can't be modified since we didn't have the permission.
We wonder that if we can get the permission to modify the file under the /usr folder, or is there any method to deal with this error.
The text was updated successfully, but these errors were encountered:
Hi, this is 陳揚哲 and 周子翔.
We are conducting Vision isppipeline_hdr topic in Lab-C.
There's a problem of opencv directory.
In testbench, we need to include the xf_headers.hpp file, while the original code include the incorrect directory of opencv module.
Therefore, we modify the xf_headers.hpp file to the absolute directory.
We change the code from:
#include "opencv2/opencv.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgcodecs/imgcodecs.hpp"
#include "opencv2/video/video.hpp"
to:
#include "/usr/local/include/opencv4/opencv2/opencv.hpp"
#include "/usr/local/include/opencv4/opencv2/imgproc/imgproc.hpp"
#include "/usr/local/include/opencv4/opencv2/highgui/highgui.hpp"
#include "/usr/local/include/opencv4/opencv2/imgcodecs/imgcodecs.hpp"
#include "/usr/local/include/opencv4/opencv2/video/video.hpp"
However, it turns out the .hpp file above also include the module with the incorrect directory.
The error message is shown below:
/usr/local/include/opencv4/opencv2/opencv.hpp:48:10: fatal error: opencv2/opencv_modules.hpp: No such file or directory #include "opencv2/opencv_modules.hpp"
Furthermore, these .hpp file is under /usr folder which can't be modified since we didn't have the permission.
We wonder that if we can get the permission to modify the file under the /usr folder, or is there any method to deal with this error.
The text was updated successfully, but these errors were encountered: