I have a project structure:
v:\root\component\s60\group\
v:\root\component\s60\gfx\
v:\root\component\s60\group\data\
v:\root\component\s60\group\src\
etc..
I have a workspace set to :
v:\workspace
If I have a simple MMP (that only contains references within the component) then everything builds fine. HOWEVER, if the MMP has an include path to somewhere else in the source tree then "epocmifdef.pl" fails. For example if I have
USERINCLUDE ../../../another_component/inc
Then when I import the project the IDE properly sets up a 'linked folder' for 'another_component' (this is very good). However, if I attempt to compile this then epocmifdef.pl fails. The command line looks something like:
perl -S epocmifdef.pl -p"V:\root\" ....
I think this is failing because by adding USERINCLUDE paths to the MMP, Carbide has decided that the 'root' of the project is 'v:\root\' rather than 'v:\root\component\S60\group'. Since the MIFDEF contains only '..\gfx\somegraphic.svg' it is looking for the SVG file in v:\root\gfx\somegraphic.svg as opposed to v:\root\component\s60\gfx\somegraphic.svg.
How can I fix this problem?



