Sysprogs forums › Forums › VisualGDB › Problems with OpenCV
- This topic has 5 replies, 2 voices, and was last updated 4 years, 7 months ago by support.
-
AuthorPosts
-
April 28, 2020 at 20:23 #27982dmitryponvParticipant
Hello, I am following this tutorial for cross compiling OpenCV
https://visualgdb.com/tutorials/raspberry/opencv/build/I am using Windows 10 and Visual Studio 2015
The output of CMake is below:
It fails on a Tar archive extracting
How can I fix this?
If I browse to
E:/Projects/temp/OpenCV/opencv/.cache/ade/
and executetar -xf b624b995ec9c439cbc2e9e6ee940d3a2-v0.1.1f.zip
I get the same errorWhere is this Tar command originating from? How can I change it? Is it possible to change to an updated version of Tar that wont have this problem?
Lastly, the tutorial may need to be updated to reflect this issue
I
Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH - Failed Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Success Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Failed Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success Performing Test HAVE_CXX_WNO_CLASS_MEMACCESS Performing Test HAVE_CXX_WNO_CLASS_MEMACCESS - Success ADE: Download: v0.1.1f.zip CMake Error: Problem with archive_write_finish_entry(): Can't restore time CMake Error: Problem extracting tar: E:/Projects/temp/OpenCV/opencv/.cache/ade/b624b995ec9c439cbc2e9e6ee940d3a2-v0.1.1f.zip CMake Error at cmake/OpenCVDownload.cmake:240 (message): ADE: Unpack failed: 1 Call Stack (most recent call first): modules/gapi/cmake/DownloadADE.cmake:5 (ocv_download) modules/gapi/cmake/init.cmake:19 (include) cmake/OpenCVModule.cmake:312 (include) cmake/OpenCVModule.cmake:375 (_add_modules_1) modules/CMakeLists.txt:7 (ocv_glob_modules) Configuring incomplete, errors occurred! See also "E:/Projects/temp/OpenCV/opencv/VisualGDB/Debug/CMakeFiles/CMakeOutput.log". See also "E:/Projects/temp/OpenCV/opencv/VisualGDB/Debug/CMakeFiles/CMakeError.log". CMake Deprecation Warning: The 'cmake-server(7)' is deprecated. Please port clients to use the 'cmake-file-api(7)' instead. Exception reported by CMake server: Configuration failed. wh1+x: Exception reported by CMake server: Configuration failed. at wh1.c2[_InType,_OutType](_InType a) at g61.x(String[] a) at g61.l_2(Hello a) at wh1.m1()
- This topic was modified 4 years, 7 months ago by support.
April 28, 2020 at 20:29 #27983supportKeymasterHi,
This looks like an OpenCV issue and not something specific to VisualGDB, hence it is not covered by our support. Please consider asking on OpenCV forums for help for OpenCV-specific issues.
We will eventually update our OpenCV tutorial to reflect the latest version, however it has a relatively low priority, so we are not able to give any time estimates for it now.
April 28, 2020 at 21:31 #27986dmitryponvParticipantWEll right now your tutorial is not working because of this issue, I posed the bug on OpenCV github, I would recommend adding a workaround such as disabling the ADE module
April 29, 2020 at 01:26 #27990supportKeymasterOur tutorials demonstrate how to efficiently use various VisualGDB features using various popular frameworks and libraries as examples. They are intended to help our users find productive ways of using VisualGDB in large real-world scenarios. We usually update them when the related VisualGDB features are considerably redesigned or new functionality is introduced on our side.
The tutorials would normally work as long as you are using the same version of the framework as shown in the tutorial. If you decide to try out a newer version of the library shown in the tutorial, you may indeed need to make adjustments to accommodate the differences introduced in the new version.
April 30, 2020 at 22:08 #28008dmitryponvParticipantHello,
I am following tutorial
https://visualgdb.com/tutorials/raspberry/opencv/It compiles and links correctly, but never enters a breakpoint on the first line in main() function
The call stack shows the following which I pause debugger
> do_lookup_x() C++ (gdb)
_dl_lookup_symbol_x() C++ (gdb)
elf_machine_rel() C++ (gdb)
elf_dynamic_do_Rel() C++ (gdb)
_dl_relocate_object() C++ (gdb)
dl_main() C++ (gdb)
_dl_sysdep_start() C++ (gdb)
_dl_start_final() C++ (gdb)
_dl_start() C++ (gdb)
ld-linux-armhf.so.3!_start()I can breakpoint without issues if I don’t use OpenCV
If I try to launch the application through SSH, it doesn’t display anything
Attachments:
You must be logged in to view attached files.April 30, 2020 at 22:46 #28010supportKeymasterPlease note that our technical support covers the issues with VisualGDB only. We are not able to help troubleshooting specific projects, or resolve any issues in external tools.
-
AuthorPosts
- You must be logged in to reply to this topic.