Hi y'all.
I just imported a project for my JN5168 and i'm getting this error message when compiling:
Description Resource Path Location Type
Invalid project path: Duplicate path entries found (/nd007-firmware [Include path] isSystemInclude:true includePath:C:/NXP/bstudio_nxp/sdk/JN-SW-4170/Components/Common/Include), path: [/nd007-firmware]. nd007-firmware pathentry Path Entry Problem
Does anyone knows how to fix this problem? I tried to find the "isSystemInclude" property but no results.
Best Regards!
Solved! Go to Solution.
Hi,
Please, open the Project properties and go to C/C++ General (left side of Properties window) > Paths and Symbols.
In Includes tab, look for the directory that can be causing the duplicate warning (or any other duplicated directories) and try deleting it.
Regards,
Eduardo.
Hello @ffonck96
Hope you are doing well.
This behavior may be related to Eclipse. Could you please confirm that you have followed the BeyondStudio User Guide to import and build the project?
By any chance, did you rename the project or perhaps delete and reimport the project?
Regards,
Eduardo.
Hi @EduardoZamora Thanks again for your quick reply. You have been very helpful.
This behavior may be related to Eclipse. Could you please confirm that you have followed the BeyondStudio User Guide to import and build the project?
Now i'm following the instructions step by step on the document you provided me, but i still have the issue.
The sequence of things i did is as follows:
Precisely i copy-pasted this code from another computer's coworker. In other words, i copy-pasted the folder.
Regards!
Hi,
Please, try the following procedure:
Delete all possible previous versions of the project you are trying to import
Copy the folder (not a zip) that contains the project and paste it into C:\NXP\bstudio_nxp\workspace
Follow the menu path File > Import
Expand General and select Existing Projects into Workspace
In the dialogue, uncheck Copy projects into workspace option
Select "Select root directory" and browse for the folder you copied into C:\NXP\bstudio_nxp\workspace (step 1)
Click on Finish
After this, try building your project. Please, let me know your findings.
Regards,
Eduardo.
Hi @EduardoZamora .
I did the precedure as you mentioned and i still have the warning.
By the way the tree of the folder is as following:
workspace/
└── nd007-firmware
├── Common
│ └── Source
├── SleepingEndDevice
│ ├── Build
│ └── Source
└── img
I attached a photo with the warning I'm mentioning.
Regards.
Hi,
Please, open the Project properties and go to C/C++ General (left side of Properties window) > Paths and Symbols.
In Includes tab, look for the directory that can be causing the duplicate warning (or any other duplicated directories) and try deleting it.
Regards,
Eduardo.
Hi @EduardoZamora .
You were right about the duplicate paths. I had like 10 duplicate paths and 3 symbols too.
Now it can compile without having the duplicate path problem. However, several errors and new warnings are visible.
I want to know if there's another way to make this work or am i missing something?
Regards!
Hi,
Could you please confirm that you have followed BeyondStudio for NXP Installation and User Guide, Section 2.1 Creating a Workspace, Step 4 for Workspace preferences configuration?
Also, maybe you can try flushing the indexer; in project's context menu, select Index > Rebuild and Index > Freshen All Files.
Regards,
Eduardo.
Hi @EduardoZamora .
I did your suggest and still have the issue. I just figured it out that BeyondStudio managed to create the .elf/.bin file despite having trouble with errors and warnings. It seems that the IDE lost the references of some variables.
Regards.
Hi,
Please, take a look at the following post: Beyond Studio Common Errors - NXP Community.
Regards,
Eduardo.
hi Eduardo.
I checked the document and didnt find any related Error regarding my problem.
As you mentioned, the project I have wasn't properly copied from another enviroment and maybe there're some configurations messing around.
Also, i haven't downloaded the JenOS plugin, since the only one i found so far was the "ZPS Configuration Editor". Idk if this has an impact in the compilation process.
What gives?