Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Compiling project under Momentic IDE on WinXp: (2 Items)
   
Compiling project under Momentic IDE on WinXp  
Hello,

I'm very new at QNX.
I have installed Qnx Momentics IDE (6.3.2) under WinXP.
The project I have to work on was developed on a Qnx machine (x86) were it can be compiled using gcc (2.95.3). The 
project is using a recursive makefile hierarchy.
I've check out the project from CVS on the WinXP machine and than I've created the project under Momentics IDE as a “
Qnx C Project” (to be able to use the recursive makefile hierarchy). I tried to use the default compiler (2.95.3) 
settings for an x86 target, however I can not compile the project. I didn't modify any makefile or source file from the 
project.
I've got errors like:
“make: [all] Error 2 (ignored)”
or
“Makefile:2: recurse.mk
: Invalid argument
make[2]: *** No rule to make target `recurse.mk”

I have some questions:
Do I need to remake the project and break it in small sub-projects which in the end are included in the Poject Container
 in the IDE?
Do I need to invoke the make or the compiler with added compiler switches to be able the compile the project and obtain 
the same application as in the case of compiling on a Qnx machine?

Any suggestions are welcome!
Thank you very much!
Re: Compiling project under Momentic IDE on WinXp  
If you used your own makefile it is better to create standard makefile 
project. Qnx project may override you makefile and do some other 
unexpected stuff. Check it out again and create a standard make project 
pointing to root of your project.