Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*

Compile Error

douglas1212
Beginner
613 Views

Hi, I am trying to compile a source code, but after updating Visual Studio to version 17.14, it is showing the following error message.

 

A construção começou em 16:51...
1>------ Compilação iniciada: Projeto: IA_Surgical_OCR_TESS_Server, Configuração: Debug x64 ------
1>In file included from D:\OneDrive\Programas\VStudio\IA_Surgical_OCR\IA_Surgical_OCR_TESS_Server\IA_Surgical_OCR_TESS_Server.cpp:4:
1>In file included from D:\OneDrive\Programas\VStudio\IA_Surgical_OCR\vcpkg_installed\x64-windows\x64-windows\include\tesseract\baseapi.h:27:
1>In file included from D:\OneDrive\Programas\VStudio\IA_Surgical_OCR\vcpkg_installed\x64-windows\x64-windows\include\tesseract\resultiterator.h:23:
1>In file included from D:\OneDrive\Programas\VStudio\IA_Surgical_OCR\vcpkg_installed\x64-windows\x64-windows\include\tesseract\ltrresultiterator.h:24:
1>In file included from D:\OneDrive\Programas\VStudio\IA_Surgical_OCR\vcpkg_installed\x64-windows\x64-windows\include\tesseract\unichar.h:24:
1>In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\string:10:
1>In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\xstring:11:
1>In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\__msvc_string_view.hpp:12:
1>In file included from C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\iosfwd:8:
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\yvals.h(161,1): : error : static assertion failed: error STL1006: _CONTAINER_DEBUG_LEVEL has been removed. It was superseded by _MSVC_STL_HARDENING.
1> 161 | _EMIT_STL_ERROR(STL1006, "_CONTAINER_DEBUG_LEVEL has been removed. It was superseded by _MSVC_STL_HARDENING.");
1> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\yvals_core.h(534,58): note: expanded from macro '_EMIT_STL_ERROR'
1> 534 | #define _EMIT_STL_ERROR(NUMBER, MESSAGE) static_assert(false, "error " #NUMBER ": " MESSAGE)
1> | ^~~~~
1>1 error generated.
1>Projeto de compilação pronto "IA_Surgical_OCR_TESS_Server.vcxproj" -- FALHA.
========== Compilação: 0 bem-sucedida, 1 com falha, 0 atualizada, 0 ignorada ==========
========== Compilação concluído às 16:52 e levou 01,468 segundos ==========

0 Kudos
3 Replies
Sravani_K_Intel
Moderator
544 Views

Hi, 

 

According to Intel® Compilers Compatibility with Microsoft Visual Studio*, the latest version of Intel Compilers 2025.1 is compatible with Visual Studio 17.12. Any issues with more recent VS versions will be addressed in upcoming Compiler releases. 

0 Kudos
douglas1212
Beginner
412 Views

The latest update still won't compile, do you have a roadmap to when it will be fixed?

0 Kudos
Sravani_K_Intel
Moderator
363 Views

The upcoming 2025.2 Compiler will be compatible with Visual Studio version 17.14 so please test again when that version becomes available in June-July timeframe. 

0 Kudos
Reply