[-- Configuring incomplete, errors occurred!] - VS Code IDE Extension Issue Report (de2ecf45f0c3770b9250c7666ed8c1cb)

OS: linux :: x64 :: WSL 2
Distro: Ubuntu 22.04.2 LTS
Extension activation logs:

 Activating Torizon IDE ...
 Telemetry is enabled
 Extension collects completely anonymous telemetry data about templates usage. Participation in this anonymous program is optional, and you may opt-out if you'd not like to share any information. Check: https://github.com/toradex/torizon-experimental-torizon-ide-v2-docs/blob/main/USAGE-DATA.md#opt-out
 Telemetry allows us to accurately gauge templates usage. This data will help us to focus better on the most used templates, adding new features and putting effort in the right place.
 Resolving host IP address ...
 Host IP address OK
 Docker installed OK
 Docker running OK
 Docker compose OK
 PowerShell OK
 git OK
 dig OK
 avahi-resolve OK
 nmap OK
 iputils-ping OK
 file OK
 sshpass OK
 net-tools OK
 Cloning project templates
 Project templates clone OK
 Checkout templates repo to v2.3.1 OK
 Checking connected devices ...
 Scanning Torizon devices ...
 Configuring debug id_rsa ...
 Debug id_rsa OK
 Torizon IDE extension activated
 Debian bookworm packages list load OK
 ERROR :: build-configure-amd64-local failed with exit code 1

Tasks logs:

 *  Executing task: cmake -DCMAKE_BUILD_TYPE=Debug -B/home/osi/desarrollo/4dic2023/qt/build-local 

-- The CXX compiler identification is GNU 11.4.0
-- The C compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE  
-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR) 
-- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND) 
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package):
  Found package configuration file:

    /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake

  but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
  NOT FOUND.  Reason given by package:

  Qt6Gui could not be found because dependency WrapOpenGL could not be found.

Call Stack (most recent call first):
  CMakeLists.txt:6 (find_package)


-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR) 
-- Could NOT find WrapOpenGL (missing: WrapOpenGL_FOUND) 
CMake Warning at /usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
  Found package configuration file:

    /usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake

  but it set Qt6Gui_FOUND to FALSE so package "Qt6Gui" is considered to be
  NOT FOUND.  Reason given by package:

  Qt6Gui could not be found because dependency WrapOpenGL could not be found.

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicDependencyHelpers.cmake:14 (find_dependency)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6Quick/Qt6QuickDependencies.cmake:96 (_qt_internal_find_dependencies)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6Quick/Qt6QuickConfig.cmake:50 (include)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package)
  CMakeLists.txt:6 (find_package)


CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package):
  Found package configuration file:

    /usr/lib/x86_64-linux-gnu/cmake/Qt6Quick/Qt6QuickConfig.cmake

  but it set Qt6Quick_FOUND to FALSE so package "Qt6Quick" is considered to
  be NOT FOUND.  Reason given by package:

  Qt6Quick could not be found because dependency Qt6Gui could not be found.

Call Stack (most recent call first):
  CMakeLists.txt:6 (find_package)


CMake Error at CMakeLists.txt:6 (find_package):
  Found package configuration file:

    /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find Qt component "Gui".

  Expected Config file at
  "/usr/lib/x86_64-linux-gnu/cmake/Qt6Gui/Qt6GuiConfig.cmake" exists

  Failed to find Qt component "Quick".

  Expected Config file at
  "/usr/lib/x86_64-linux-gnu/cmake/Qt6Quick/Qt6QuickConfig.cmake" exists

  



-- Configuring incomplete, errors occurred!
See also "/home/osi/desarrollo/4dic2023/qt/build-local/CMakeFiles/CMakeOutput.log".

 *  The terminal process "/usr/bin/bash '-c', 'cmake -DCMAKE_BUILD_TYPE=Debug -B/home/osi/desarrollo/4dic2023/qt/build-local'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

Reported by: @undefined

If you have more data that you think that is interesting from the context of the issue please reply below.

Thanks :robot:

Seems like something went wrong when cmake tries to configure your project here. In general I would recommend going through and fixing these issues/conflicts in cmake. Though specifically its hard to say what is wrong without seeing the related files.

Best Regards,
Jeremias