Forum Topic - Building using Qnx 6.6 through commandline: (3 Items)
   
Building using Qnx 6.6 through commandline  
Hi ,
I am trying to compile our qnx project on commandline. It is working fine using Momentics IDE but not on command line. 
So, I created a hello world qnx C++ project and built it from the IDE. It created all the .mk files and it succeeded .

After trying to run the same command in a cygwin terminal. I get the error
 C:/qnx660/host/win32/x86/usr/bin/make.exe -j 1 -Cx86 -fMakefile all

make: Entering directory `C:/ide-5.0-workspace/testhello/x86'
Makefile:8: recurse.mk: No such file or directory
make: Leaving directory `C:/ide-5.0-workspace/testhello/x86'
make: *** No rule to make target `recurse.mk'.  Stop.

I am sure I need to set some environment but would appreciate some guidance on that

Thanks
Shobha
Re: Building using Qnx 6.6 through commandline  
Re: Building using Qnx 6.6 through commandline  
Thanks Steve.

I was able to build from command line after executing this batch file. One thing to note is that were few more variables
 inside common.mk that need to be explicitly defined like PROJECT_ROOT and root to any other project that it is 
dependent upon. 

After getting those env variables set as well, it is building just fine.