Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8093233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:27:33+00:00 2026-06-05T20:27:33+00:00

I create a new c++ project. Then right click on the project -> properties

  • 0

I create a new c++ project. Then right click on the project -> properties -> Resources -> Linked resources, where I defined a path variable :

MY_PROJ_ROOT   <some_correct_path>

Then I went to compiler options -> Include options, where I tried to add include path combined with the path variable like this :

"${MY_PROJ_ROOT}/include"

but the include directory is not shown in the Include tab under the project menu. Instead of showing full include path (like for other includes), I get only this : /include.

So, am I doing something wrong when using path variable to set include? What is the correct way?

PS I checked paths, and everything I could think of, but nothing worked.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:27:35+00:00Added an answer on June 5, 2026 at 8:27 pm

    Finally I figured out :

    Open project properties -> C/C++ Build -> Build Variables tab, and add new variables :

    MY_PROJ_ROOT   <some_correct_path>
    

    Then the variable is going to work for the includes tab.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I create a new Django app (not project) called Bussinesses, then add following class
I create a new ASP.NET Web API project. I then use nuget to pull
I installed Monodroid, created a new project and hit build (with Sharpdevelop) and then
I can't create New Project on my Visual Web Developer 2008 Express with SP1.
When i create new project with the name MyNewProject with a single view application
I want to create a new project in Xcode (4.2), but I don't need
How can I create a New project & Solution in the same, existing ,
Whenever I create a new project in the Visual Studio 2010 Release Candidate, for
I'm trying to create a new project using tomcat 7.0.27 + JSF 2.1.7 +
When I right-click in my class library, I get some quick options to create

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.