Skip to content

[rtabmap] update to 0.23.2#46422

Merged
BillyONeal merged 17 commits intomicrosoft:masterfrom
matlabbe:rtabmap_0_22_1
Nov 3, 2025
Merged

[rtabmap] update to 0.23.2#46422
BillyONeal merged 17 commits intomicrosoft:masterfrom
matlabbe:rtabmap_0_22_1

Conversation

@matlabbe
Copy link
Copy Markdown
Contributor

@matlabbe matlabbe commented Jul 13, 2025

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version.
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.
  • Updating to 0.23.2 helped to remove some patches here.

@matlabbe matlabbe marked this pull request as ready for review July 13, 2025 23:38
@matlabbe matlabbe changed the title Rtabmap 0.22.1 [rtabmap] update to 0.22.1 Jul 13, 2025
@dg0yt
Copy link
Copy Markdown
Contributor

dg0yt commented Jul 14, 2025

I suggest to do the update after finishing revising/fixing this port and its dependencies (g2o, realsense) in #46385. I reduce patching, intentionally.

@matlabbe matlabbe marked this pull request as draft July 14, 2025 17:26
@matlabbe
Copy link
Copy Markdown
Contributor Author

Putting back into draft mode till #46385 is merged. I'll re-update this PR afterwards.

@dg0yt
Copy link
Copy Markdown
Contributor

dg0yt commented Jul 16, 2025

#46385 was merged now.

@matlabbe matlabbe marked this pull request as ready for review October 13, 2025 01:29
@matlabbe
Copy link
Copy Markdown
Contributor Author

matlabbe commented Oct 13, 2025

I'll need help for this one, the CI is failing all the time. What is wrong? the new tool rtabmap-lidar_viewer was not handled correctly, trying again

@dg0yt
Copy link
Copy Markdown
Contributor

dg0yt commented Oct 13, 2025

FAILED: corelib/src/CMakeFiles/rtabmap_core.dir/optimizer/OptimizerG2O.cpp.obj 
C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe   /TP -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_THREAD_USE_DLL -DDISABLE_VTK -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DGLOG_USE_GFLAGS -DGLOG_USE_GLOG_EXPORT -DNOMINMAX -D__SSE2__ -D__SSE3__ -D__SSE4_1__ -D__SSE4_2__ -D__SSE__ -D__SSSE3__ -Drtabmap_core_EXPORTS -ID:\b\rtabmap\src\0.22.1-c2c49ba301.clean\corelib\src\..\include -ID:\b\rtabmap\x64-windows-dbg\corelib\src\include -ID:\b\rtabmap\src\0.22.1-c2c49ba301.clean\corelib\src -ID:\b\rtabmap\x64-windows-dbg\corelib\src -ID:\b\rtabmap\src\0.22.1-c2c49ba301.clean\utilite\src\..\include -ID:\b\rtabmap\x64-windows-dbg\utilite\src\include -ID:\installed\x64-windows\include\suitesparse -external:ID:\installed\x64-windows\include\eigen3 -external:ID:\installed\x64-windows\include\opencv4 -external:ID:\installed\x64-windows\include -external:ID:\installed\x64-windows\include\g2o\core -external:ID:\installed\x64-windows\include\g2o\stuff -external:ID:\installed\x64-windows\include\g2o\solvers\eigen -external:ID:\installed\x64-windows\include\g2o\solvers\pcg -external:ID:\installed\x64-windows\include\g2o\types\slam2d -external:ID:\installed\x64-windows\include\g2o\types\slam3d -external:ID:\installed\x64-windows\include\g2o\types\sba -external:ID:\installed\x64-windows\include\g2o\solvers\csparse -external:ID:\installed\x64-windows\include\g2o\solvers\cholmod -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP  /MP32 /MDd /Z7 /Ob0 /Od /RTC1  -std:c++17   -wd4100 -wd4127 -wd4150 -wd4191 -wd4242 -wd4244 -wd4251 -wd4305 -wd4365 -wd4512 -wd4514 -wd4548 -wd4571 -wd4619 -wd4625 -wd4626 -wd4628 -wd4668 -wd4710 -wd4711 -wd4738 -wd4820 -wd4946 -wd4986 /bigobj -openmp /Zc:__cplusplus /showIncludes /Focorelib\src\CMakeFiles\rtabmap_core.dir\optimizer\OptimizerG2O.cpp.obj /Fdcorelib\src\CMakeFiles\rtabmap_core.dir\ /FS -c D:\b\rtabmap\src\0.22.1-c2c49ba301.clean\corelib\src\optimizer\OptimizerG2O.cpp
D:\b\rtabmap\src\0.22.1-c2c49ba301.clean\corelib\src\optimizer\OptimizerG2O.cpp(100): warning C4067: unexpected tokens following preprocessor directive - expected a newline
D:\b\rtabmap\src\0.22.1-c2c49ba301.clean\corelib\src\optimizer\OptimizerG2O.cpp(1808): error C2039: 'VertexSBAPointXYZ': is not a member of 'g2o'
D:\installed\x64-windows\include\g2o/solvers/cholmod/linear_solver_cholmod.h(40): note: see declaration of 'g2o'

Maybe it is not activating the right section here:
https://github.com/introlab/rtabmap/blob/df6300e0ba3e90058f90b09c4d646279366d3516/corelib/src/optimizer/OptimizerG2O.cpp#L93-L104

Not sure if this is a good condition at all. They shouldn't care about vcpkg-specific adapations. And I see or where I would expect ||.

@matlabbe matlabbe marked this pull request as draft October 13, 2025 20:10
@matlabbe
Copy link
Copy Markdown
Contributor Author

matlabbe commented Oct 13, 2025

Thanks to point it out. g2o doesn't publish any version, so there are many hacky ways to read specific stuff in their headers to "know" approximately which version it is. In rtabmap, we added WIN32 as a way to detect vcpkg in windows, though it may not work on other platforms. I am not sure why the vcpkg port of g2o is removing that line:

-set(G2O_SRC_DIR "${PROJECT_SOURCE_DIR}")
, I can try to find another way to know which g2o version it is. in the mean time, I'll fix the or, which should be || indeed. Thanks for reviewing!

EDIT: actually, on my computer (Visual Studio 2022) the or is accepted. It may depend on the compiler version. However, the build on osx is also failing there, so fixing it upstream...

@matlabbe matlabbe changed the title [rtabmap] update to 0.22.1 [rtabmap] update to 0.23.2 Oct 14, 2025
@dg0yt
Copy link
Copy Markdown
Contributor

dg0yt commented Oct 14, 2025

In rtabmap, we added WIN32 as a way to detect vcpkg in windows, though it may not work on other platforms.

You could simply add a CMake option, or do a try_compile (which comes with an implicit option).

@dg0yt
Copy link
Copy Markdown
Contributor

dg0yt commented Oct 14, 2025

I am not sure why the vcpkg port of g2o is removing that line:

-set(G2O_SRC_DIR "${PROJECT_SOURCE_DIR}")

We cannot hard-code any absolute paths in installed files, and we cannot rely on any build-time directories to be present after installation. Binary packages are cached, and they might be restored in different locations or even on different machines.

@dg0yt
Copy link
Copy Markdown
Contributor

dg0yt commented Oct 14, 2025

In rtabmap, we added WIN32 as a way to detect vcpkg in windows, though it may not work on other platforms.

Note that the port had a vcpkg-specific patch working for any platform, and removing the patch shouldn't cause regressions.

@matlabbe
Copy link
Copy Markdown
Contributor Author

matlabbe commented Oct 15, 2025

It seems all issues on rtabmap port are fixed, tohugh CI is failing when building opencv:

FAILED: [code=2] modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/cpu_kernels/conv_winograd_f63.dispatch.cpp.obj 
C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\arm64\cl.exe   /TP -DABSL_CONSUME_DLL -DCVAPI_EXPORTS -DENABLE_PLUGINS -DHAVE_FLATBUFFERS=1 -DHAVE_PROTOBUF=1 -DOPENCV_DNN_EXTERNAL_PROTOBUF=1 -DPROTOBUF_USE_DLLS -D_CRT_SECURE_NO_WARNINGS=1 -D_USE_MATH_DEFINES -D_VARIADIC_MAX=10 -D_WIN32_WINNT=0x0601 -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ID:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src -ID:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\include -ID:\b\opencv4\arm64-windows-dbg\modules\dnn -ID:\b\opencv4\src\4.11.0-0357908e41.clean\modules\core\include -ID:\b\opencv4\src\4.11.0-0357908e41.clean\modules\imgproc\include -ID:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\misc\tflite -external:ID:\b\opencv4\arm64-windows-dbg -external:ID:\installed\arm64-windows\include -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /MP   /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /D _ARM64_DISTINCT_NEON_TYPES /Oi  /fp:precise /FS  /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /wd4244 /wd4267 /wd4018 /wd4355 /wd4800 /wd4251 /wd4996 /wd4146 /wd4305 /wd4127 /wd4100 /wd4512 /wd4125 /wd4389 /wd4510 /wd4610 /wd4702 /wd4456 /wd4457 /wd4065 /wd4310 /wd4661 /wd4506 /wd4125 /wd4267 /wd4127 /wd4244 /wd4512 /wd4702 /wd4456 /wd4510 /wd4610 /wd4800 /wd4701 /wd4703 /wd4505 /wd4458  /MDd /Z7 /Ob0 /Od /RTC1   -std:c++17 -MDd /showIncludes /Fomodules\dnn\CMakeFiles\opencv_dnn.dir\src\layers\cpu_kernels\conv_winograd_f63.dispatch.cpp.obj /Fdlib\opencv_dnn4d.pdb /FS -c D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.dispatch.cpp
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1371): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1371): error C2143: syntax error: missing ';' before '*'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1371): error C2065: 'inwptr': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1371): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1371): error C2146: syntax error: missing ')' before identifier '__fp16'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1371): error C2059: syntax error: ')'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1371): error C2297: '*': not valid as right operand has type 'const uchar *'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1372): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1372): error C2143: syntax error: missing ';' before '*'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1372): error C2086: 'const int __fp16': redefinition
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1371): note: see declaration of '__fp16'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1372): error C2065: 'wptr': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1372): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1372): error C2146: syntax error: missing ')' before identifier '__fp16'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1372): error C2059: syntax error: ')'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1372): error C2297: '*': not valid as right operand has type 'const uchar *'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1373): error C2065: 'outbuf': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1373): error C2059: syntax error: ')'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1379): error C2065: 'outbuf': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1381): error C2065: 'float16x8_t': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1381): error C2146: syntax error: missing ';' before identifier 's00'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1381): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1381): error C3861: 'vdupq_n_f16': identifier not found
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1381): error C2065: 's01': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1381): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1381): error C2065: 's02': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1381): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1381): error C2065: 's03': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1381): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1381): error C2065: 's04': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1381): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1381): error C2065: 's05': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1381): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1382): error C2065: 'float16x8_t': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1382): error C2146: syntax error: missing ';' before identifier 's10'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1382): error C2065: 's10': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1382): error C3861: 'vdupq_n_f16': identifier not found
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1382): error C2065: 's11': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1382): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1382): error C2065: 's12': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1382): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1382): error C2065: 's13': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1382): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1382): error C2065: 's14': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1382): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1382): error C2065: 's15': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1382): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1383): error C2065: 'float16x8_t': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1383): error C2146: syntax error: missing ';' before identifier 's20'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1383): error C2065: 's20': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1383): error C3861: 'vdupq_n_f16': identifier not found
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1383): error C2065: 's21': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1383): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1383): error C2065: 's22': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1383): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1383): error C2065: 's23': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1383): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1383): error C2065: 's24': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1383): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1383): error C2065: 's25': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1383): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1384): error C2065: 'float16x8_t': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1384): error C2146: syntax error: missing ';' before identifier 's30'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1384): error C2065: 's30': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1384): error C3861: 'vdupq_n_f16': identifier not found
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1384): error C2065: 's31': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1384): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1384): error C2065: 's32': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1384): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1384): error C2065: 's33': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1384): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1384): error C2065: 's34': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1384): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1384): error C2065: 's35': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1384): error C2065: 's00': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1386): error C2065: 'inwptr': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1387): error C2065: 'wptr': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1389): error C2065: 'float16x8_t': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1389): error C2146: syntax error: missing ';' before identifier 'w0'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1389): error C2065: 'w0': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1389): error C2065: 'wptr': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1389): error C3861: 'vld1q_f16': identifier not found
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1389): error C2065: 'w1': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1389): error C2065: 'wptr': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1389): error C3861: 'vld1q_f16': identifier not found
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1390): error C2065: 'float16x8_t': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1390): error C2146: syntax error: missing ';' before identifier 'w2'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1390): error C2065: 'w2': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1390): error C2065: 'wptr': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1390): error C3861: 'vld1q_f16': identifier not found
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1390): error C2065: 'w3': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1390): error C2065: 'wptr': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1390): error C3861: 'vld1q_f16': identifier not found
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1392): error C2065: 'float16x8_t': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1392): error C2146: syntax error: missing ';' before identifier 'x0'
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1392): error C2065: 'x0': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1392): error C2065: 'x1': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1392): error C2065: 'x2': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1393): error C2065: 'x0': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1393): error C2065: 'inwptr': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1393): error C3861: 'vld1q_f16': identifier not found
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1394): error C2065: 'x1': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1394): error C2065: 'inwptr': undeclared identifier
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1394): error C3861: 'vld1q_f16': identifier not found
D:\b\opencv4\src\4.11.0-0357908e41.clean\modules\dnn\src\layers\cpu_kernels\conv_winograd_f63.simd.hpp(1395): error C2065: 'x2': undeclared identifier

rtabmap doesn't need DNN module from opencv, I'll check to remove that dependency.

Then another config error when searching for OpenMP on osx:

CMake Error at /opt/homebrew/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
  Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
Call Stack (most recent call first):
  /opt/homebrew/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
  /opt/homebrew/share/cmake/Modules/FindOpenMP.cmake:652 (find_package_handle_standard_args)
  /Users/vcpkg/Data/work/1/s/scripts/buildsystems/vcpkg.cmake:904 (_find_package)
  CMakeLists.txt:273 (find_package)

I'll doublecheck if it is new stuff from latest version that could explain why there were no patches for that before.

@matlabbe matlabbe marked this pull request as ready for review November 1, 2025 23:22
@matlabbe
Copy link
Copy Markdown
Contributor Author

matlabbe commented Nov 1, 2025

Updating with latest master seem to have fix all build issues. Ready for another round of review.

Copy link
Copy Markdown
Contributor

@dg0yt dg0yt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but someone else must approve.

Copy link
Copy Markdown
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update and evaporating all those patches!

I want to give @cenit a couple days to respond on the one removed patch.

@BillyONeal BillyONeal added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Nov 3, 2025
@BillyONeal BillyONeal merged commit 36e8657 into microsoft:master Nov 3, 2025
18 checks passed
@matlabbe matlabbe deleted the rtabmap_0_22_1 branch November 4, 2025 00:54
@cenit
Copy link
Copy Markdown
Contributor

cenit commented Nov 5, 2025

Thanks for the update and evaporating all those patches!

I want to give @cenit a couple days to respond on the one removed patch.

sorry I just had some time now. OK for me, unfortunately with such a small contribution on my side I cannot say anything different. I don't know how much of the catalogue is still buildable overriding "opencv" generic port to point to opencv3 and not 4, it was 100% last time i had some time and I was on it (a long time ago)

@BillyONeal
Copy link
Copy Markdown
Member

OK for me, unfortunately with such a small contribution on my side I cannot say anything different.

That's fine! I just wanted to make sure you wouldn't be angry due to removing a patch you added and the PR that added it wasn't super clear about why. Thanks for following up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants