Skip to content

header files path not recognized or unable to read header file #21338

Open
@kedar49

Description

@kedar49

Describe the issue

am getting error and although I've included the correct path of header file in Cmake and task.json its giving me error like

cannot open source file "onnxruntime/core/session/onnxruntime_cxx_api.h"

#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (C:....\main.cpp).
Screenshot 2024-07-12 214753

To reproduce

...

Urgency

yes this issue is very urgent to get resolve

Platform

Windows

OS Version

11

ONNX Runtime Installation

Released Package

ONNX Runtime API

C++

Architecture

X64

Execution Provider

Default CPU

Execution Provider Library Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiissues related to all other APIs: C, C++, Python, etc.platform:windowsissues related to the Windows platformstaleissues that have not been addressed in a while; categorized by a bot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions