Kumar chaya Posted September 9, 2020 Report Share Posted September 9, 2020 Hello, I am new atollic truestudio. I am facing the above mentioned error despite the file being in that directory. I have attached the image for your reference. The strange thing is after I again rebuild the project, the error will occur in some other file. I have attached another image after rebuilding the project. Every time build it the error changes. I never faced this kind of issue. I'm stuck with this issue it would be great help for me if anyone is able resolve it. Thank you Link to comment Share on other sites More sharing options...
inmarket Posted September 9, 2020 Report Share Posted September 9, 2020 Most likely cause for this is that the include directories path is not correct. I am not sure how to specify these in your ide, probably in the compiler options. These end up as -I directives in the compiler arguments. The -I directives must include the directory containing those stm header files. Link to comment Share on other sites More sharing options...
inmarket Posted September 9, 2020 Report Share Posted September 9, 2020 with regard to your 2nd screen, that looks like you are using the wrong assembly language variant to compile that start up file. Use the start up file that matches your ide compiler, or alternatively, some ide's allow you to specify the assembler you use. Link to comment Share on other sites More sharing options...
Kumar chaya Posted September 9, 2020 Author Report Share Posted September 9, 2020 This is how my include directory looks like. Just like eclipse. I have included the path, can you tell where exactly -l directives can be found here? Link to comment Share on other sites More sharing options...
Kumar chaya Posted September 9, 2020 Author Report Share Posted September 9, 2020 (edited) No the start up file is one using is generated by itself when we create the project, I'm not using the wrong one Edited September 9, 2020 by Kumar chaya Link to comment Share on other sites More sharing options...
inmarket Posted September 10, 2020 Report Share Posted September 10, 2020 That screen needs to include the directory that has that stm header file. Your start up file, your compiler is complaining that it doesn't understand the assembly language. These are both problems relating to your ide and compiler. While we try to help here, we are not experts on those tools, we are ugfx experts. If the clues above don't help you, you will need to get help on a forum that understands your ide and compiler rather than here. Link to comment Share on other sites More sharing options...
Kumar chaya Posted September 11, 2020 Author Report Share Posted September 11, 2020 Yeah your right. Anyway thank you for your help. I know there is something wrong in the path but I'm getting exactly I'm going wrong. Moreover I have pulled these code from repository. These weren't coded by me. I believe as importing so many codes from repository into the single project I'm facing this issue. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now