4 Replies Latest reply on Nov 27, 2015 2:53 AM by abdullah.cinar_1528391

    How  to find "project.h"

    abdullah.cinar_1528391

      Hi, i added the AlertNotification project to my workspace from example codes tab. I didn't change anything at the source code or TopDesign, but when i click to compile button, i'm getting compile error like these:

         

      1: "Build error: project.h: No such file or directory"

         

      2: "Build error: The command 'arm-none-eabi-gcc.exe' failed with exit code '1'"

         

      Do i need to add them manually?

        • 1. Re: How  to find "project.h"
          user_1377889

          Usually the file is generated, you may fing project.h under the Generated Source folder in the workspace explorer.

             

          Probably you haven't built the right project, check which project is active or build all projects.

             

          When still not compiling post your complete project, so that we all can have a look at all of your settings. To do so, use
          Creator->File->Create Workspace Bundle (minimal)
          and attach the resulting file.

             

           

             

          Bob

          • 2. Re: How  to find "project.h"
            abdullah.cinar_1528391

            I realized that the button which i pressed was the "compile file" button. There is also a "Build" section for the project at the top of the screen. I clicked it and build has been succeeded. So i don't need to use "compile file" right? I just build project and program it.

            • 3. Re: How  to find "project.h"
              user_1377889

              You may use the "compile file" for checking a single file for correctness. Usually you need to build the project. When changes have been made to one of the related files it will get compiled.

                 

               

                 

              Do not apply changes to the generated files, they will be overwritten at the next build.

                 

               

                 

              Bob

              1 of 1 people found this helpful
              • 4. Re: How  to find "project.h"
                abdullah.cinar_1528391

                Hi Bob, 

                   

                Thanks for the reply. I  build the project succesfully. I couldn't manage why the compiling file occured that error but there is no problem now right? I also confirmed that "project.h" file has already been included to my project, so there should not be any problems.