[SOLVED] SES include directories

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] SES include directories

    I added an include directory in the
    Edit Options->Code->Preprocessor->User Include Directories

    -I ..\..\..\..\..\nRF5_SDK_14_A\components\libraries\fifo


    try the build again with the same failure.

    Looked in the project.emProject file and noticed that the include file was added the wrong way:
    -I ..\\..\\..\\..\\..\\nRF5_SDK_14_A\\components\\libraries\\fifo;

    remove the extra back slashes and it builds!
    -I ..\..\..\..\..\nRF5_SDK_14_A\components\libraries\fifo

    Then when I use Edit Options again it looks like the attached png file --

    How do I easily fix this?

    won't import windows include directories properly
    Images
    • ses6.png

      314.58 kB, 1,600×900, viewed 3,792 times

    The post was edited 2 times, last by kbb64 ().

  • Hi,

    Thank you for your inquiry.
    The -I option is not required here, only add the path.
    Does that solve the issue with the double backspaces?
    If not try using forward slashes instead "/".

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hello,

    Looking at the screenshot your provided your user include paths look very wrong.
    They should be looking like in the picture I have attached to this post.
    Make sure to insert only one path per line and do not enter anything else than the path. No options, parameters, special symbols, nothing...

    Does it work then?
    If not could you attach your emproject file?

    Best regards,
    Nino
    Images
    • Capture.PNG

      17.32 kB, 486×533, viewed 2,123 times
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.