Hi
I refer this thread to add include header files.
https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Adding-Include-paths-to-a-project/m-p/467852
But when i add usb path, not all header file are searched.
Please help to solve this question.
Allen
Solved! Go to Solution.
The problem is that Windows has a limit of the length of any command of 2047 characters (when executed with ShellExecute, which is what Make will do - see https://devblogs.microsoft.com/oldnewthing/20031210-00/?p=41553). The command lines being generated by your project are over 5000 characters long.
Looking at your project, you seem to have added every possible directory to the include list. This is not necessary - you should only add those that actually have include files that are required. Reducing the number of include directories so that you only use what is necessary should solve your problem.
Also, you should consider placing your project into a directory with a much shorter path.
I know this is not ideal, but this is caused by a limitation in Windows.
The problem is that Windows has a limit of the length of any command of 2047 characters (when executed with ShellExecute, which is what Make will do - see https://devblogs.microsoft.com/oldnewthing/20031210-00/?p=41553). The command lines being generated by your project are over 5000 characters long.
Looking at your project, you seem to have added every possible directory to the include list. This is not necessary - you should only add those that actually have include files that are required. Reducing the number of include directories so that you only use what is necessary should solve your problem.
Also, you should consider placing your project into a directory with a much shorter path.
I know this is not ideal, but this is caused by a limitation in Windows.
Hi
Thanks for your reply.
I'm already to modify and solved.
Allen