Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Problem with PROJECT_ROOT references: (18 Items)
   
Problem with PROJECT_ROOT references  
Hello

I seem to be having a problem with referencing include files in other projects.  I have added them in using the project 
preferences, but it seems to be getting confused on some of them.  Here is a snippet from the common.mk:

#===== EXTRA_INCVPATH - a space-separated list of directories to search for include files.
EXTRA_INCVPATH+=$(PROJECT_ROOT)/public  \
	$(PROJECT_ROOT_zoneManager)/public  \
	$(PROJECT_ROOT_alarmManager)/public  \
	$(PROJECT_ROOT_buttonMgr)/public  \
	$(PROJECT_ROOT_uCcommon)/public  \
	$(PROJECT_ROOT_historyManager)/public  \
	$(PROJECT_ROOT_tricolorLedMgr)/public  \
	$(PROJECT_ROOT_auxPowerMgr)/public  \
	$(PROJECT_ROOT_piezoManager)/public  \
	$(PROJECT_ROOT_hardwiredZones)/public  \
	$(PROJECT_ROOT_diagManager)/public  \
	$(PROJECT_ROOT_gprsManager)/public  \
	$(PROJECT_ROOT_tamperButtonMgr)/public  \
	$(PROJECT_ROOT_audioManager)/public  \
	$(PROJECT_ROOT_upgradeManager)/public  \
	$(PROJECT_ROOT_boschSensors)/public  \
	$(PROJECT_ROOT_boschZones)/public  \
	$(PROJECT_ROOT_tsHandler)/public  \
	$(PROJECT_ROOT_cgiEventListener)/public  \
	$(PROJECT_ROOT_pwrSupplyMgr)/public  \
	$(PROJECT_ROOT_troubleManager)/public  \
	$(PROJECT_ROOT_cameraManager)/public  \
	$(PROJECT_ROOT_boschKeyfob)/public  \
	$(PROJECT_ROOT_commManager)/public  \
	$(INSTALL_ROOT_nto)/include $(PROJECT_ROOT_ucmgr)/public

And here is a snippet of the build output:

C:/QNX/QNX640/host/win32/x86/usr/bin/qcc -V4.2.4,gcc_ntoarm -c  -Wc,-Wall -Wc,-Wno-parentheses -Wc,-fno-builtin         
    -I. -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm/so.le -IC:/Users/rdowdall/Documents/
Workspaces/ide-4.5-workspace/ucalarm/arm/so-le-g -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm 
-IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-
workspace/ucalarm/public -I/../../../zoneManager/public -I/../../../alarmManager/public -I/../../../buttonMgr/public -IC
:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/uCcommon/public -I/../../../historyManager/public -I/../../../
tricolorLedMgr/public -I/../../../auxPowerMgr/public -I/../../../piezoManager/public -I/../../../hardwiredZones/public -
I/../../../diagManager/public -I/../../../gprsManager/public -I/public -I/../../../audioManager/public -I/../../../
upgradeManager/public -I/../../../boschSensors/public -I/../../../boschZones/public -I/../../../tsHandler/public -I/../.
./../cgiEventListener/public -I/../../../pwrSupplyMgr/public -I/../../../troubleManager/public -I/../../../cameraManager
/public -I/../../../boschKeyfob/public -I/../../../commManager/public -IC:/QNX/QNX640/target/qnx6/include -I/../../../
ucmgr/public -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/public -IC:/QNX/QNX640/target/qnx6/usr/
include      -EL  -g  -shared     -DVARIANT_so -DVARIANT_le -DVARIANT_g -DBUILDENV_qss  C:/Users/rdowdall/Documents/
Workspaces/ide-4.5-workspace/ucalarm/cgiSession.c 

It would appear that some of the PROJECT_ROOT stuff is undefined because the -I starts with a /

It picked up one of them though, which I find weird. 

Am I doing something wrong? 

Thanks,
Rodney

Re: Problem with PROJECT_ROOT references  
Is this IDE 4.5?

Rodney Dowdall wrote:
> Hello
> 
> I seem to be having a problem with referencing include files in other projects.  I have added them in using the 
project preferences, but it seems to be getting confused on some of them.  Here is a snippet from the common.mk:
> 
> #===== EXTRA_INCVPATH - a space-separated list of directories to search for include files.
> EXTRA_INCVPATH+=$(PROJECT_ROOT)/public  \
> 	$(PROJECT_ROOT_zoneManager)/public  \
> 	$(PROJECT_ROOT_alarmManager)/public  \
> 	$(PROJECT_ROOT_buttonMgr)/public  \
> 	$(PROJECT_ROOT_uCcommon)/public  \
> 	$(PROJECT_ROOT_historyManager)/public  \
> 	$(PROJECT_ROOT_tricolorLedMgr)/public  \
> 	$(PROJECT_ROOT_auxPowerMgr)/public  \
> 	$(PROJECT_ROOT_piezoManager)/public  \
> 	$(PROJECT_ROOT_hardwiredZones)/public  \
> 	$(PROJECT_ROOT_diagManager)/public  \
> 	$(PROJECT_ROOT_gprsManager)/public  \
> 	$(PROJECT_ROOT_tamperButtonMgr)/public  \
> 	$(PROJECT_ROOT_audioManager)/public  \
> 	$(PROJECT_ROOT_upgradeManager)/public  \
> 	$(PROJECT_ROOT_boschSensors)/public  \
> 	$(PROJECT_ROOT_boschZones)/public  \
> 	$(PROJECT_ROOT_tsHandler)/public  \
> 	$(PROJECT_ROOT_cgiEventListener)/public  \
> 	$(PROJECT_ROOT_pwrSupplyMgr)/public  \
> 	$(PROJECT_ROOT_troubleManager)/public  \
> 	$(PROJECT_ROOT_cameraManager)/public  \
> 	$(PROJECT_ROOT_boschKeyfob)/public  \
> 	$(PROJECT_ROOT_commManager)/public  \
> 	$(INSTALL_ROOT_nto)/include $(PROJECT_ROOT_ucmgr)/public
> 
> And here is a snippet of the build output:
> 
> C:/QNX/QNX640/host/win32/x86/usr/bin/qcc -V4.2.4,gcc_ntoarm -c  -Wc,-Wall -Wc,-Wno-parentheses -Wc,-fno-builtin       
      -I. -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm/so.le -IC:/Users/rdowdall/Documents/
Workspaces/ide-4.5-workspace/ucalarm/arm/so-le-g -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm 
-IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-
workspace/ucalarm/public -I/../../../zoneManager/public -I/../../../alarmManager/public -I/../../../buttonMgr/public -IC
:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/uCcommon/public -I/../../../historyManager/public -I/../../../
tricolorLedMgr/public -I/../../../auxPowerMgr/public -I/../../../piezoManager/public -I/../../../hardwiredZones/public -
I/../../../diagManager/public -I/../../../gprsManager/public -I/public -I/../../../audioManager/public -I/../../../
upgradeManager/public -I/../../../boschSenso
rs/public -I/../../../boschZones/public -I/../../../tsHandler/public -I/../../../cgiEventListener/public -I/../../../
pwrSupplyMgr/public -I/../../../troubleManager/public -I/../../../cameraManager/public -I/../../../boschKeyfob/public -I
/../../../commManager/public -IC:/QNX/QNX640/target/qnx6/include -I/../../../ucmgr/public -IC:/Users/rdowdall/Documents/
Workspaces/ide-4.5-workspace/ucalarm/public -IC:/QNX/QNX640/target/qnx6/usr/include      -EL  -g  -shared     -
DVARIANT_so -DVARIANT_le -DVARIANT_g -DBUILDENV_qss  C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/
cgiSession.c 
> 
> It would appear that some of the PROJECT_ROOT stuff is undefined because the -I starts with a /
> 
> It picked up one of them though, which I find weird. 
> 
> Am I doing something wrong? 
> 
> Thanks,
> Rodney
> 
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17866
> 
Re: Problem with PROJECT_ROOT references  
Yep.  It's:

Version: 4.5.0
Build id: I20081019
Re: Problem with PROJECT_ROOT references  
Could you also insert the following line at the end of common.mk:

$(warning PROJECT_ROOT_zoneManager = $(PROJECT_ROOT_zoneManager))



On 03/12/2008 3:31 PM, Rodney Dowdall wrote:
> Yep.  It's:
>
> Version: 4.5.0
> Build id: I20081019
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17868
>
>    
Re: Problem with PROJECT_ROOT references  
Rodney,

Unsuccessfully tried to reproduce the problem. Could you please paste 
into your reply environment?

Regards,

Alex


On 03/12/2008 2:40 PM, Rodney Dowdall wrote:
> Hello
>
> I seem to be having a problem with referencing include files in other projects.  I have added them in using the 
project preferences, but it seems to be getting confused on some of them.  Here is a snippet from the common.mk:
>
> #===== EXTRA_INCVPATH - a space-separated list of directories to search for include files.
> EXTRA_INCVPATH+=$(PROJECT_ROOT)/public  \
> 	$(PROJECT_ROOT_zoneManager)/public  \
> 	$(PROJECT_ROOT_alarmManager)/public  \
> 	$(PROJECT_ROOT_buttonMgr)/public  \
> 	$(PROJECT_ROOT_uCcommon)/public  \
> 	$(PROJECT_ROOT_historyManager)/public  \
> 	$(PROJECT_ROOT_tricolorLedMgr)/public  \
> 	$(PROJECT_ROOT_auxPowerMgr)/public  \
> 	$(PROJECT_ROOT_piezoManager)/public  \
> 	$(PROJECT_ROOT_hardwiredZones)/public  \
> 	$(PROJECT_ROOT_diagManager)/public  \
> 	$(PROJECT_ROOT_gprsManager)/public  \
> 	$(PROJECT_ROOT_tamperButtonMgr)/public  \
> 	$(PROJECT_ROOT_audioManager)/public  \
> 	$(PROJECT_ROOT_upgradeManager)/public  \
> 	$(PROJECT_ROOT_boschSensors)/public  \
> 	$(PROJECT_ROOT_boschZones)/public  \
> 	$(PROJECT_ROOT_tsHandler)/public  \
> 	$(PROJECT_ROOT_cgiEventListener)/public  \
> 	$(PROJECT_ROOT_pwrSupplyMgr)/public  \
> 	$(PROJECT_ROOT_troubleManager)/public  \
> 	$(PROJECT_ROOT_cameraManager)/public  \
> 	$(PROJECT_ROOT_boschKeyfob)/public  \
> 	$(PROJECT_ROOT_commManager)/public  \
> 	$(INSTALL_ROOT_nto)/include $(PROJECT_ROOT_ucmgr)/public
>
> And here is a snippet of the build output:
>
> C:/QNX/QNX640/host/win32/x86/usr/bin/qcc -V4.2.4,gcc_ntoarm -c  -Wc,-Wall -Wc,-Wno-parentheses -Wc,-fno-builtin       
      -I. -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm/so.le -IC:/Users/rdowdall/Documents/
Workspaces/ide-4.5-workspace/ucalarm/arm/so-le-g -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm 
-IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-
workspace/ucalarm/public -I/../../../zoneManager/public -I/../../../alarmManager/public -I/../../../buttonMgr/public -IC
:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/uCcommon/public -I/../../../historyManager/public -I/../../../
tricolorLedMgr/public -I/../../../auxPowerMgr/public -I/../../../piezoManager/public -I/../../../hardwiredZones/public -
I/../../../diagManager/public -I/../../../gprsManager/public -I/public -I/../../../audioManager/public -I/../../../
upgradeManager/public -I/../../../boschSensors/public -I/../../../boschZones/public -I/../../../tsHandler/public -I/../.
./../cgiEventListener/public -I/../../../pwrSupplyMgr/public -I/../../../troubleManager/public -I/../../../cameraManager
/public -I/../../../boschKeyfob/public -I/../../../commManager/public -IC:/QNX/QNX640/target/qnx6/include -I/../../../
ucmgr/public -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/public -IC:/QNX/QNX640/target/qnx6/usr/
include      -EL  -g  -shared     -DVARIANT_so -DVARIANT_le -DVARIANT_g -DBUILDENV_qss  C:/Users/rdowdall/Documents/
Workspaces/ide-4.5-workspace/ucalarm/cgiSession.c
>
> It would appear that some of the PROJECT_ROOT stuff is undefined because the -I starts with a /
>
> It picked up one of them though, which I find weird.
>
> Am I doing something wrong?
>
> Thanks,
> Rodney
>
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17866
>
>    

Re: Problem with PROJECT_ROOT references  
QNX 6.4 on Windows Vista. 
Re: Problem with PROJECT_ROOT references  
Sorry, I asked you about output of set command :-). But the fact that it 
is Vista is also very interesting.

On 03/12/2008 3:45 PM, Rodney Dowdall wrote:
> QNX 6.4 on Windows Vista.
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17870
>
>    
Re: Problem with PROJECT_ROOT references  
Gotcha!

Add NEED_VPATH_MUNGING= to the beginning of your common.mk. It seems to 
me that it helps.

Alex

On 03/12/2008 3:45 PM, Rodney Dowdall wrote:
> QNX 6.4 on Windows Vista.
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17870
>
>    
Re: Problem with PROJECT_ROOT references  
I added the NEED_VPATH_MUNGING= to the beginning of the common.mk and this happened:

C:\QNX\QNX640\host\win32\x86\usr\bin\make -k all --file=C:/Users/rdowdall/AppData/Local/Temp/QMakefile122833789655417764
.tmp 
C:/QNX/QNX640/host/win32/x86/usr/bin/make -j 1 -Carm -fMakefile all
make[1]: Entering directory `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm'
C:/QNX/QNX640/host/win32/x86/usr/bin/make -j 1 -Cso-le -fMakefile all 
process_begin: CreateProcess((null), /bin/pwd, ...) failed.
make[2]: *** No rule to make target `activation.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `alarm.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: Entering directory `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm/so-le'
make[2]: Leaving directory `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm/so-le'
make[2]: *** No rule to make target `arm.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm
/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `audio.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `boschKeyfobs.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-
workspace/ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `boschSensors.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-
workspace/ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `boschZones.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `buttons.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `cameras.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `cgiEvents.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `cgiSession.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `commManager.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace
/ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `diag.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `disarm.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `events.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `formatting.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `gprs.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `history.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `hwZones.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `messages.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `piezo.o', needed by `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/
ucalarm/arm/so-le/libucalarm.so'.
make[2]: *** No rule to make target `power.o', needed by...
View Full Message
Re: Problem with PROJECT_ROOT references  
Does it have to be Vista? Just checking....

So it is reproducible on small project with project directory not in workspace?

Re: Problem with PROJECT_ROOT references  
> Does it have to be Vista? Just checking....

Don't know for sure, but I assume that Vista is the trigger.  Others are working with the same projects and haven't 
noticed a problem, and I think they are using XP. 
> 
> So it is reproducible on small project with project directory not in workspace
> ?
> 

I can try a small project.  Let me set something up and let you know. 

Rodney
Re: Problem with PROJECT_ROOT references  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Rodney,<br>
<br>
Why all the paths are munged? I've never seen it before.<br>
<br>
Is there something specific installed on this machine? Cygwin? <br>
<br>
On 03/12/2008 4:13 PM, Rodney Dowdall wrote:
<blockquote
 cite="mid:28796917.1228338818511.JavaMail.sf-admin@community.qnx.com"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">Does it have to be Vista? Just checking....
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Don't know for sure, but I assume that Vista is the trigger.  Others are working with the same projects and haven't 
noticed a problem, and I think they are using XP. 
  </pre>
  <blockquote type="cite">
    <pre wrap="">So it is reproducible on small project with project directory not in workspace
?

    </pre>
  </blockquote>
  <pre wrap=""><!---->
I can try a small project.  Let me set something up and let you know. 

Rodney

_______________________________________________
General
<a class="moz-txt-link-freetext" href="http://community.qnx.com/sf/go/post17879">http://community.qnx.com/sf/go/
post17879</a>;

  </pre>
</blockquote>
<br>
</body>
</html>
Re: Problem with PROJECT_ROOT references  
I don't think so....I'll check.  I have some things like Python and Gimp installed, so maybe one of those screwed things
 up . 

Rodney

Re: Problem with PROJECT_ROOT references  
Something is weird on my system.  If I open up bash, and do a cd / I end up in a weird directory.  If I then change dir 
in to bin and do a pwd I get a ../../bin as an answer.  I'll uninstall some stuff to see if it could be affecting it. 
Re: Problem with PROJECT_ROOT references  
And once again, looking to the path, I see that before qnx there is some 
other suspicious stuff, like PyGTK. Could you please just start IDE with 
another environment (QNX  at the beginning of the list)?

Alex

On 03/12/2008 4:31 PM, Rodney Dowdall wrote:
> I don't think so....I'll check.  I have some things like Python and Gimp installed, so maybe one of those screwed 
things up .
>
> Rodney
>
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17882
>
>    
Re: Problem with PROJECT_ROOT references  
So I uninstalled a bunch of things and I changed my path so that QNX comes after the windows stuff and I still get the 
problem.  I think the issue is that the IDE can't do a pwd.  Here is the output from the top of my build:

C:\QNX\QNX640\host\win32\x86\usr\bin\make -k all --file=C:/Users/rdowdall/AppData/Local/Temp/QMakefile122836295859842935
.tmp 
C:/QNX/QNX640/host/win32/x86/usr/bin/make -j 1 -Carm -fMakefile all
make[1]: Entering directory `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm'
C:/QNX/QNX640/host/win32/x86/usr/bin/make -j 1 -Cso-le -fMakefile all 
make[2]: Entering directory `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm/so-le'
C:/QNX/QNX640/host/win32/x86/usr/bin/qcc -V4.2.4,gcc_ntoarm -c -O -Wc,-Wall -Wc,-Wno-parentheses -Wc,-fno-builtin       
   -DNDEBUG   -I. -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm/so-le -IC:/Users/rdowdall/
Documents/Workspaces/ide-4.5-workspace/ucalarm/arm -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm -
IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/public -IC:/Users/rdowdall/Documents/Workspaces/ide-4.
5-workspace/zoneManager/public -I/../../../zoneManager/public -I/../../../alarmManager/public -I/../../../buttonMgr/
public -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/uCcommon/public -I/../../../historyManager/public -I/.
./../../tricolorLedMgr/public -I/../../../auxPowerMgr/public -I/../../../piezoManager/public -I/../../../hardwiredZones/
public -I/../../../diagManager/public -I/../../../gprsManager/public -I/public -I/../../../audioManager/public -I/../../
../upgradeManager/public -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucmgr/public -I/../../../ucmgr/
public -I/../../../boschSensors/public -I/../../../boschZones/public -I/../../../tsHandler/public -I/../../../
cgiEventListener/public -I/../../../pwrSupplyMgr/public -I/../../../troubleManager/public -I/../../../cameraManager/
public -I/../../../boschKeyfob/public -I/../../../commManager/public -IC:/QNX/QNX640/target/qnx6/include -IC:/Users/
rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/public -IC:/QNX/QNX640/target/qnx6/usr/include      -EL  -shared
   -DVARIANT_so -DVARIANT_le -DBUILDENV_qss  C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/alarm.c 
process_begin: CreateProcess((null), /bin/pwd, ...) failed.

If I open up a bash shell and do /bin/pwd then it works.  If I do it from a command prompt, it doesn't. 

Hope this helps. 
Rodney
Re: Problem with PROJECT_ROOT references  
It seems to me as a correct behavior.Windows cannot interpret /bin/pwd 
in the way you expect. The question is where does it come from? As long 
as we don't have a test case, could you please  do small tests?
1) Let's try to separate IDE and recursive make files. Try to run it 
from command line. Even if you not define any macro, it should launch 
qcc (which it doesn't now).
2) If it works, try to add at least one macro definition (on command 
line for example)
3) If it still works, try to insert $(warning statement as I asked you 
before).

Regards,

Alex

On 03/12/2008 11:02 PM, Rodney Dowdall wrote:
> So I uninstalled a bunch of things and I changed my path so that QNX comes after the windows stuff and I still get the
 problem.  I think the issue is that the IDE can't do a pwd.  Here is the output from the top of my build:
>
> C:\QNX\QNX640\host\win32\x86\usr\bin\make -k all --file=C:/Users/rdowdall/AppData/Local/Temp/
QMakefile122836295859842935.tmp
> C:/QNX/QNX640/host/win32/x86/usr/bin/make -j 1 -Carm -fMakefile all
> make[1]: Entering directory `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm'
> C:/QNX/QNX640/host/win32/x86/usr/bin/make -j 1 -Cso-le -fMakefile all
> make[2]: Entering directory `C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm/so-le'
> C:/QNX/QNX640/host/win32/x86/usr/bin/qcc -V4.2.4,gcc_ntoarm -c -O -Wc,-Wall -Wc,-Wno-parentheses -Wc,-fno-builtin     
     -DNDEBUG   -I. -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/arm/so-le -IC:/Users/rdowdall/
Documents/Workspaces/ide-4.5-workspace/ucalarm/arm -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm -
IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/public -IC:/Users/rdowdall/Documents/Workspaces/ide-4.
5-workspace/zoneManager/public -I/../../../zoneManager/public -I/../../../alarmManager/public -I/../../../buttonMgr/
public -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/uCcommon/public -I/../../../historyManager/public -I/.
./../../tricolorLedMgr/public -I/../../../auxPowerMgr/public -I/../../../piezoManager/public -I/../../../hardwiredZones/
public -I/../../../diagManager/public -I/../../../gprsManager/public -I/public -I/../../../audioManager/public -I/../../
../upgradeManager/public -IC:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucmgr/public -I/../../../ucmgr/
public -I/../../../boschSensors/public -I/../../../boschZones/public -I/../../../tsHandler/public -I/../../../
cgiEventListener/public -I/../../../pwrSupplyMgr/public -I/../../../troubleManager/public -I/../../../cameraManager/
public -I/../../../boschKeyfob/public -I/../../../commManager/public -IC:/QNX/QNX640/target/qnx6/include -IC:/Users/
rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/public -IC:/QNX/QNX640/target/qnx6/usr/include      -EL  -shared
   -DVARIANT_so -DVARIANT_le -DBUILDENV_qss  C:/Users/rdowdall/Documents/Workspaces/ide-4.5-workspace/ucalarm/alarm.c
> process_begin: CreateProcess((null), /bin/pwd, ...) failed.
>
> If I open up a bash shell and do /bin/pwd then it works.  If I do it from a command prompt, it doesn't.
>
> Hope this helps.
> Rodney
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post17893
>
>    

Re: Problem with PROJECT_ROOT references  
Sorry, I should have posted sooner.  This problem was caused by someone placing some commands in a Makefile further on 
down the chain ( in the Arm directory ).  I didn't realize the stuff was in there.  When I took it out, things worked 
fine.