CW 3.1 / UIQ 2.1 - Too Many Include Paths
| Mon, 2006-02-06 22:47 | |
|
I just installed the UIQ 2.1 SDK for CodeWarrior, and when i try to compile, i get a bunch of error messages saying:
Code: Error: Too many include paths! Please reduce the number of include paths or use non-recursive paths Error: Adapter initialization failed Error: Too many include paths! Please reduce the number of include paths or use non-recursive paths Error: Unable to load include paths Error: Compile failed I had read over on forum nokia that it could have to do with recursion settings in the access paths, so I checked those and they looked OK. I also tried editing the cw_project_template_v2.xml as mentioned there, to no avail. I am using codewarrior 3.1, and a coworker suggested trying an old 2.5 cd we had, which is working fine, but i prefer the 3.1 environment, and would much rather have it working (not to mention the 2.5 is only a 15 day demo). anyone have any other suggestion or know how i can get this SDK working under CodeWarrior 3.1? |
|






Forum posts: 1886
I had this issue and I solved it with the access path. Double check your access path. In your project settings:
- select "Access Path"
- click the "System Paths" radio button
- click on the small folder icon in the middle column on the {Compiler}Symbian_Support line so that it disappears.
Your application should compile now. Note that you have to do this again each time you reimport the MMP file. So the solution based on template edition is probably better but I am not aware of it.
Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant
Forum posts: 7
- select "Access Path"
- click the "System Paths" radio button
- click on the small folder icon in the middle column on the {Compiler}Symbian_Support line so that it disappears.
excellent! I had only checked the User paths, didn't try clicking the system path radio button to see what was there. Thanks for the help.
-chuck
Forum posts: 7
C:\Symbian\UIQ_21\epoc32\tools\ide_cw.pm (or whatever your SDK path is)
find the following section:
sub addSystemSearchPaths($)
find this line in the sub:
&textSetting($accesspath, "Recursive", "true");
and change it to false. now you won't have to change it every time you import a project.
Forum posts: 4
edit it
in function addSystemSearchPaths($)
change &textSetting($accesspath, "Recursive", "true");
to &textSetting($accesspath, "Recursive", "false");
make a copy before changes
enjoy