I have updated my MCUXpresso version from 11.4.0 to 11.9.0 i got the error has Description Resource

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

I have updated my MCUXpresso version from 11.4.0 to 11.9.0 i got the error has Description Resource

Jump to solution
5,502 Views
Mady
Contributor I

After updating my MCUXpresso version IDE from 11.4.0 to 11.9.0 I got the error  Description Resource Path Location Type expected ')' before 'PRIu64' but my definition added for that in my current project.

The same code was compiled in the 11.4.0 version and I got issues on the 11.9.0 version.

Please check and give an appropriate solution to that. Is there any setting that needs to be changed when upgrading the version from lower to higher?

and i have comment this sprintf(Upldeventpkt->eventData.DMSpayloadCpy, "%"PRIu64"", Get());

my code compiled successfully.

Labels (1)
0 Kudos
Reply
1 Solution
5,379 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Mady,

Then it is likely that the issue is the same as the one reported on the following community post: inttypes.h fails to define PRIi64 and friends with newlib - NXP Community

Please do the described workaround of adding #include <sys/_stdint.h> before inttypes.h.

BR,
Edwin.

View solution in original post

0 Kudos
Reply
5 Replies
5,380 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Mady,

Then it is likely that the issue is the same as the one reported on the following community post: inttypes.h fails to define PRIi64 and friends with newlib - NXP Community

Please do the described workaround of adding #include <sys/_stdint.h> before inttypes.h.

BR,
Edwin.

0 Kudos
Reply
5,417 Views
Mady
Contributor I

Hi @EdwinHz ,

In my project workspace, NewLib settings are already present and I have also changed MCU linker settings to Newlib(semihost); the issue is still present.

I am attaching my current project workspace Newlib settings for your reference.

0 Kudos
Reply
5,483 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Mady,

Could you please updating MCUXpresso to the latest version (v11.10.0) and let me know if the error still persists? Or is there a specific reason why you are using version v11.9.0? From what I have seen on other clients, v11.10.0 is quite more stable than its previous version.

BR,
Edwin.

0 Kudos
Reply
5,468 Views
Mady
Contributor I

Hi EdwinHz,

Thanks for your reply, I also compiled my existing workspace on MCUXpresso to the latest version (v11.10.0) . Still, the same problem occurs as a "Description Resource Path Location Type expected ')' before 'PRIu64' " and I have commented this sprintf(Upldeventpkt->eventData.DMSpayloadCpy, "%"PRIu64"", Get()); after that, I got error of "Description Resource Path Location Type cannot find @D:Projectstcu_eth_gittcu4g_ethernetATCU_WorkspaceATCUDebug_APPATCU_linker.args: No such file or directory ATCU C/C++ Problem ". Due to the latest version intermediate .args response files for linker/archiver are not generated. 

In the latest version (v11.10.0) it fixed the issue When using absolute paths for artifact names, intermediate .args response files for linker/archiver are not generated.

So that why I am using MCUXpresso version (v11.9.0) and it will compile my workspace when comment sprintf(Upldeventpkt->eventData.DMSpayloadCpy, "%"PRIu64"", Get()); 

Any specific reason i got below error when upgrading my existing MCUXpresso (v11.4.0) to  MCUXpresso (v11.9.0).

error: "Description Resource Path Location Type expected ')' before 'PRIu64'"

0 Kudos
Reply
5,448 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Mady,

Are you using Newlib for both the library AND the header, as suggested on the following community post? Re: expected ')' before 'PRId64' when compiling project for FRDM k64F - NXP Community.

This seems to be a library related issue, not necessarily related to the IDE itself.

BR,
Edwin.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1941246%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EI%20have%20updated%20my%20MCUXpresso%20version%20from%2011.4.0%20to%2011.9.0%20i%20got%20the%20error%20has%20Description%09Resource%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1941246%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAfter%20updating%20my%26nbsp%3BMCUXpresso%20version%20IDE%20from%2011.4.0%20to%2011.9.0%20I%20got%20the%20error%26nbsp%3B%20Description%20Resource%20Path%20Location%20Type%20expected%20')'%20before%20'PRIu64'%20but%20my%20definition%20added%20for%20that%20in%20my%20current%20project.%3C%2FP%3E%3CP%3EThe%20same%20code%20was%20compiled%20in%20the%2011.4.0%20version%20and%20I%20got%20issues%20on%20the%2011.9.0%20version.%3C%2FP%3E%3CP%3EPlease%20check%20and%20give%20an%20appropriate%20solution%20to%20that.%20Is%20there%20any%20setting%20that%20needs%20to%20be%20changed%20when%20upgrading%20the%20version%20from%20lower%20to%20higher%3F%3C%2FP%3E%3CP%3Eand%20i%20have%20comment%20this%26nbsp%3Bsprintf(Upldeventpkt-%26gt%3BeventData.DMSpayloadCpy%2C%20%22%25%22PRIu64%22%22%2C%20Get())%3B%3C%2FP%3E%3CP%3Emy%20code%20compiled%20successfully.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1941246%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EBoard%20Design%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1944719%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20I%20have%20updated%20my%20MCUXpresso%20version%20from%2011.4.0%20to%2011.9.0%20i%20got%20the%20error%20has%20Description%09Resou%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1944719%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F239665%22%20target%3D%22_blank%22%3E%40Mady%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThen%20it%20is%20likely%20that%20the%20issue%20is%20the%20same%20as%20the%20one%20reported%20on%20the%20following%20community%20post%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FMCUXpresso-IDE%2Finttypes-h-fails-to-define-PRIi64-and-friends-with-newlib%2Fm-p%2F1861500%3Fprofile.language%3Den%22%20target%3D%22_blank%22%3Einttypes.h%20fails%20to%20define%20PRIi64%20and%20friends%20with%20newlib%20-%20NXP%20Community%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EPlease%20do%20the%20described%20workaround%20of%26nbsp%3B%3CSPAN%3Eadding%20%23include%20%3CSYS%3E%20before%20inttypes.h.%3C%2FSYS%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBR%2C%3CBR%20%2F%3EEdwin.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1943075%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20I%20have%20updated%20my%20MCUXpresso%20version%20from%2011.4.0%20to%2011.9.0%20i%20got%20the%20error%20has%20Description%09Resou%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1943075%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F186731%22%20target%3D%22_blank%22%3E%40EdwinHz%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EIn%20my%20project%20workspace%2C%20NewLib%26nbsp%3Bsettings%20are%20already%20present%20and%20I%20have%20also%20changed%20MCU%20linker%20settings%20to%20Newlib(semihost)%3B%20the%26nbsp%3Bissue%20is%20still%20present.%3C%2FP%3E%3CP%3EI%20am%20attaching%20my%20current%20project%20workspace%20Newlib%20settings%20for%20your%20reference.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1942762%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20I%20have%20updated%20my%20MCUXpresso%20version%20from%2011.4.0%20to%2011.9.0%20i%20got%20the%20error%20has%20Description%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1942762%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F239665%22%20target%3D%22_blank%22%3E%40Mady%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EAre%20you%20using%26nbsp%3B%3CSPAN%3ENewlib%20for%20both%20the%20library%20AND%20the%20header%2C%20as%20suggested%20on%20the%20following%20community%20post%3F%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FMCUXpresso-General%2Fexpected-before-PRId64-when-compiling-project-for-FRDM-k64F%2Fm-p%2F1177155%2Fhighlight%2Ftrue%23M4010%22%20target%3D%22_blank%22%3ERe%3A%20expected%20')'%20before%20'PRId64'%20when%20compiling%20project%20for%20FRDM%20k64F%20-%20NXP%20Community%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThis%20seems%20to%20be%20a%20library%20related%20issue%2C%20not%20necessarily%20related%20to%20the%20IDE%20itself.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBR%2C%3CBR%20%2F%3EEdwin.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1941765%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20I%20have%20updated%20my%20MCUXpresso%20version%20from%2011.4.0%20to%2011.9.0%20i%20got%20the%20error%20has%20Description%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1941765%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CSPAN%3EEdwinHz%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThanks%20for%20your%20reply%2C%20I%20also%20compiled%20my%20existing%20workspace%20on%26nbsp%3B%3CSPAN%3EMCUXpresso%20to%20the%20latest%20version%20(v11.10.0)%26nbsp%3B.%20Still%2C%20the%20same%20problem%20occurs%20as%20a%20%22%3CSTRONG%3EDescription%20Resource%20Path%20Location%20Type%20expected%20')'%20before%20'PRIu64'%20%22%26nbsp%3B%3C%2FSTRONG%3Eand%26nbsp%3BI%20have%20commented%20this%26nbsp%3Bsprintf(Upldeventpkt-%26gt%3BeventData.DMSpayloadCpy%2C%20%22%25%22PRIu64%22%22%2C%20Get())%3B%20after%20that%2C%20I%20got%20error%20of%26nbsp%3B%3C%2FSPAN%3E%22%3CSPAN%3EDescription%E2%80%82Resource%20Path%20Location%E2%80%82Type%20cannot%20find%20%40D%3AProjectstcu_eth_gittcu4g_ethernetATCU_WorkspaceATCUDebug_APPATCU_linker.args%3A%20No%20such%20file%20or%20directory%20ATCU%E2%80%82C%2FC%2B%2B%20Problem%3C%2FSPAN%3E%26nbsp%3B%22.%20Due%20to%20the%20latest%20version%26nbsp%3Bintermediate%20.args%20response%20files%20for%20linker%2Farchiver%20are%20not%20generated.%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20latest%20version%3CSPAN%3E%20(v11.10.0)%3C%2FSPAN%3E%26nbsp%3Bit%20fixed%20the%20issue%20When%20using%20absolute%20paths%20for%20artifact%20names%2C%20intermediate%20.args%20response%20files%20for%20linker%2Farchiver%20are%20not%20generated.%3C%2FP%3E%3CP%3ESo%20that%20why%20I%20am%20using%26nbsp%3B%3CSPAN%3EMCUXpresso%26nbsp%3Bversion%20(v11.9.0)%20and%20it%20will%20compile%20my%20workspace%20when%20comment%26nbsp%3Bsprintf(Upldeventpkt-%26gt%3BeventData.DMSpayloadCpy%2C%20%22%25%22PRIu64%22%22%2C%20Get())%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAny%20specific%20reason%20i%20got%20below%20error%20when%20upgrading%20my%20existing%20MCUXpresso%20(v11.4.0)%20to%26nbsp%3B%20MCUXpresso%20(v11.9.0).%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Eerror%3A%20%22Description%20Resource%20Path%20Location%20Type%20expected%20')'%20before%20'PRIu64'%22%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1941540%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20I%20have%20updated%20my%20MCUXpresso%20version%20from%2011.4.0%20to%2011.9.0%20i%20got%20the%20error%20has%20Description%09Resou%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1941540%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F239665%22%20target%3D%22_blank%22%3E%40Mady%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20updating%20MCUXpresso%20to%20the%20latest%20version%20(v11.10.0)%20and%20let%20me%20know%20if%20the%20error%20still%20persists%3F%20Or%20is%20there%20a%20specific%20reason%20why%20you%20are%20using%20version%20v11.9.0%3F%20From%20what%20I%20have%20seen%20on%20other%20clients%2C%20v11.10.0%20is%20quite%20more%20stable%20than%20its%20previous%20version.%3C%2FP%3E%0A%3CP%3EBR%2C%3CBR%20%2F%3EEdwin.%3C%2FP%3E%3C%2FLINGO-BODY%3E