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 7705951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:59:34+00:00 2026-05-31T23:59:34+00:00

I am trying to compile a project but I’m getting an error right away

  • 0

I am trying to compile a project but I’m getting an error right away that it’s not seeing the header files that are in some packages inside the project. Here is a picture, notice that it is not finding the AwarenessMoment.h file, however it is in there.

error

Here is the output:

    **** Build of configuration Debug for project RoyOS ****
    
    make all
    Building file: ../src/royos/vision/ImageRecognizer.cpp
    Invoking: GCC C++ Compiler
    g++ -I/home/igvc/Documents/teamigvc/trunk/RoyOS -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/royos/vision/ImageRecognizer.d" -MT"src/royos/vision/ImageRecognizer.d" -o"src/royos/vision/ImageRecognizer.o" "../src/royos/vision/ImageRecognizer.cpp"
    In file included from ../src/royos/vision/ImageRecognizer.cpp:8:0:
    ../src/royos/vision/ImageRecognizer.h:11:29: fatal error: AwarenessMoment.h: No such file or directory
    compilation terminated.
    make: *** [src/royos/vision/ImageRecognizer.o] Error 1

Anyone know why it’s not seeing these header files?

Thanks

  • 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-05-31T23:59:35+00:00Added an answer on May 31, 2026 at 11:59 pm

    There’s definitely something wrong with the include path given to the compiler. The preprocessor can’t find the header from the source file you are attempting to compile.

    I think you could fix this by replacing

    #include "AwarenessMoment.h"

    with

    #include "../sensor/AwarenessMoment.h"

    Either that or alter the compiler include path to include the sensor directory and use:

    #include <AwarenessMoment>

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

Sidebar

Related Questions

I'm trying to compile my project with ant build, but I'm getting this error:
I'm trying to compile existing Flex 4 project but having an error: Call to
While trying to compile my project, that uses some third party headers, with mingw
I'm trying to compile a Delphi 7 project that I've inherited, and I'm getting
Trying to compile a Web Project here but I keep on getting package does
I am trying to compile my project in Xcode. But i am getting the
Trying to compile a unity3d project in xcode but i'm getting the following compile
I am trying to compile some code from a project that is no longer.
I'm trying to compile a project that uses both libjpeg and libpng. I know
I'm trying to compile a project that uses the GData objective-c framework. I've successfully

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.