External builder doesn't work in S32DS 3.6.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

External builder doesn't work in S32DS 3.6.0

Jump to solution
3,861 Views
Andrei_G
Contributor II

Hello NXP,

after installation of S32DS 3.6.0, seems that the external builder (for a makefile project) doesn't work, my *.bat files are not called by the IDE. Same setting works correctly in 3.5.0.

I have tried absolute/relative paths but no reaction from IDE.

I use the OS Window 10 Enterprise 22H2 x64.

Could you please tell what should be done to use the external builder ?

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
3,816 Views
IsaulO
NXP Employee
NXP Employee

Hi @Andrei_G ,

I have tested these settings and noticed that the .bat file is called correctly in S32DS 3.5, but in S32DS 3.6 the file is not called, and no output is displayed in the console. Nevertheless, as a workaround, if it is not inconvenient, you can also specify the path in Build Command option, to ensure it runs every time.

Untitled picture.png

Untitled picture1.png

BR,
IsaulO.

View solution in original post

0 Kudos
Reply
4 Replies
3,840 Views
IsaulO
NXP Employee
NXP Employee

Hi @Andrei_G ,

When you try to compile, do you get an error message in the console?
Could you please share your configuration?

Also, you can refer the following blog, which contains information that might be useful to you: Building Eclipse Projects with custom external Shell Scripts | MCU on Eclipse

BR,
IsaulO.

0 Kudos
Reply
3,823 Views
Andrei_G
Contributor II

Hello @IsaulO,

there is no error in console (and nothing is done): Build Finished. 0 errors, 0 warnings. (took 8ms)

Also, I cannot use the hints described on "MCU on Eclipse" portal, because in a "makefile project" the compiler settings are not available.

0 Kudos
Reply
3,817 Views
IsaulO
NXP Employee
NXP Employee

Hi @Andrei_G ,

I have tested these settings and noticed that the .bat file is called correctly in S32DS 3.5, but in S32DS 3.6 the file is not called, and no output is displayed in the console. Nevertheless, as a workaround, if it is not inconvenient, you can also specify the path in Build Command option, to ensure it runs every time.

Untitled picture.png

Untitled picture1.png

BR,
IsaulO.

0 Kudos
Reply
3,741 Views
Andrei_G
Contributor II

Hello @IsaulO,

thank you for the analysis. By adding another batch to the "Build command" field with the "call %*" content also works as in 3.5.0.

Thank you!

Tags (1)
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2049914%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExternal%20builder%20doesn't%20work%20in%20S32DS%203.6.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2049914%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20NXP%2C%3C%2FP%3E%3CP%3Eafter%20installation%20of%20S32DS%203.6.0%2C%20seems%20that%20the%20external%20builder%20(for%20a%20makefile%20project)%20doesn't%20work%2C%20my%20*.bat%20files%20are%20not%20called%20by%20the%20IDE.%20Same%20setting%20works%20correctly%20in%203.5.0.%3C%2FP%3E%3CP%3EI%20have%20tried%20absolute%2Frelative%20paths%20but%20no%20reaction%20from%20IDE.%3C%2FP%3E%3CP%3EI%20use%20the%20OS%20Window%2010%20Enterprise%2022H2%20x64.%3C%2FP%3E%3CP%3ECould%20you%20please%20tell%20what%20should%20be%20done%20to%20use%20the%20external%20builder%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2049914%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EEclipse%20IDE%20Usage%20and%20Settings%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2054832%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20External%20builder%20doesn't%20work%20in%20S32DS%203.6.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2054832%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F243600%22%20target%3D%22_blank%22%3E%40IsaulO%3C%2FA%3E%2C%3C%2FP%3E%3CP%3Ethank%20you%20for%20the%20analysis.%20By%20adding%20another%20batch%20to%20the%20%22Build%20command%22%20field%20with%20the%20%22call%20%25*%22%20content%20also%20works%20as%20in%203.5.0.%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2053277%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20External%20builder%20doesn't%20work%20in%20S32DS%203.6.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2053277%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241798%22%20target%3D%22_blank%22%3E%40Andrei_G%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EI%20have%20tested%20these%20settings%20and%20noticed%20that%20the%20.bat%20file%20is%20called%20correctly%20in%20S32DS%203.5%2C%20but%20in%20S32DS%203.6%20the%20file%20is%20not%20called%2C%20and%20no%20output%20is%20displayed%20in%20the%20console.%20Nevertheless%2C%20as%20a%20workaround%2C%20if%20it%20is%20not%20inconvenient%2C%20you%20can%20also%20specify%20the%20path%20in%20Build%20Command%20option%2C%20to%20ensure%20it%20runs%20every%20time.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Untitled%20picture.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Untitled%20picture.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F326126i8F153EB4AAE34B86%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Untitled%20picture.png%22%20alt%3D%22Untitled%20picture.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Untitled%20picture1.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Untitled%20picture1.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F326127iBDD6E2A570142E16%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Untitled%20picture1.png%22%20alt%3D%22Untitled%20picture1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBR%2C%3CBR%20%2F%3EIsaulO.%3C%2FP%3E%0A%3CP%3E%E2%80%83%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2051002%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20External%20builder%20doesn't%20work%20in%20S32DS%203.6.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2051002%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F243600%22%20target%3D%22_blank%22%3E%40IsaulO%3C%2FA%3E%2C%3C%2FP%3E%3CP%3Ethere%20is%20no%20error%20in%20console%20(and%20nothing%20is%20done)%3A%20%3CEM%3EBuild%20Finished.%200%20errors%2C%200%20warnings.%20(took%20%3CSTRONG%3E8ms%3C%2FSTRONG%3E)%3C%2FEM%3E%3C%2FP%3E%3CP%3EAlso%2C%20I%20cannot%20use%20the%20hints%20described%20on%20%22MCU%20on%20Eclipse%22%20portal%2C%20because%20in%20a%20%22makefile%20project%22%20the%20compiler%20settings%20are%20not%20available.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2050960%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20External%20builder%20doesn't%20work%20in%20S32DS%203.6.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2050960%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241798%22%20target%3D%22_blank%22%3E%40Andrei_G%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EWhen%20you%20try%20to%20compile%2C%20do%20you%20get%20an%20error%20message%20in%20the%20console%3F%3CBR%20%2F%3ECould%20you%20please%20share%20your%20configuration%3F%3C%2FP%3E%0A%3CP%3EAlso%2C%20you%20can%20refer%20the%20following%20blog%2C%20which%20contains%20information%20that%20might%20be%20useful%20to%20you%3A%20%3CA%20href%3D%22https%3A%2F%2Fmcuoneclipse.com%2F2024%2F05%2F21%2Fbuilding-eclipse-projects-with-custom-external-shell-scripts%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EBuilding%20Eclipse%20Projects%20with%20custom%20external%20Shell%20Scripts%20%7C%20MCU%20on%20Eclipse%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EBR%2C%3CBR%20%2F%3EIsaulO.%3C%2FP%3E%3C%2FLINGO-BODY%3E