I’m trying to build tesseract repo on Windows 10 22H2.
I was told to use
colcon to build the repo. I’m new to
cmake. I cloned the repo to
C:\Temp\colcon_ws\src and ran
colcon build from
x64 Native Tools Command Prompt for VS 2022 terminal. But, I get the cmake error below.
Even if I use Cmake-Gui I still get that error message.
What could be wrong?
C:\Temp\colcon_ws>call install\local_setup.bat C:\Temp\colcon_ws>colcon build Starting >>> ros_industrial_cmake_boilerplate Finished <<< ros_industrial_cmake_boilerplate [0.81s] Starting >>> tesseract_common --- stderr: tesseract_common CMake Error at CMakeLists.txt:4 (find_package): Could not find a configuration file for package "ros_industrial_cmake_boilerplate" that is compatible with requested version "". The following configuration files were considered but not accepted: C:/Temp/colcon_ws/install/ros_industrial_cmake_boilerplate/lib/cmake/ros_industrial_cmake_boilerplate/ros_industrial_cmake_boilerplate-config.cmake, version: 0.4.6 (64bit) --- Failed <<< tesseract_common [0.20s, exited with code 1] Summary: 1 package finished [1.50s] 1 package failed: tesseract_common 1 package had stderr output: tesseract_common 10 packages not processed WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType) C:\Temp\colcon_ws>
FYI, I was, however, able to build that repo on Linux. So, the problem has to be with how I use the cmake on Windows.