Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Problem building project: error in make command: (13 Items)
   
Problem building project: error in make command  
I recently donwload the 30days trial version of QNX Momentics 6.5.0 for Windows host. I get started trying to compile my
 first "Hello world" app but I get some errors in building project

%INSTALL_PATH%\host\win32\x86\usr\bin\make.exe -k CPULIST=x86 all --file=%MY_USER_APP%/Local/Temp/
QMakefile129733018063912583.tmp 

%INSTALL_PATH%/host/win32/x86/usr/bin/make.exe -j 1 -Cx86 -fMakefile all

make.exe[1]: Entering directory `%MY_WORKSPACE%/My_Project/x86'
Makefile:8: recurse.mk: No such file or directory
make.exe[1]: *** No rule to make target `recurse.mk'.
make.exe[1]: Failed to remake makefile `recurse.mk'.
make.exe[1]: *** No rule to make target `all'.
make.exe[1]: Leaving directory `%MY_WORKSPACE%/My_Project/x86'
make: [all] Error 2 (ignored)

Note: to be short I modified some subpath with %VAR%
Re: Problem building project: error in make command  
Make does know anything about %VAR%, momentics build system does not use "cmd" shell, it using unix still shell and make


On 02/10/2011 05:25 AM, Giuseppe Salvatore wrote:
> I recently donwload the 30days trial version of QNX Momentics 6.5.0 for Windows host. I get started trying to compile 
my first "Hello world" app but I get some errors in building project
> 
> %INSTALL_PATH%\host\win32\x86\usr\bin\make.exe -k CPULIST=x86 all --file=%MY_USER_APP%/Local/Temp/
QMakefile129733018063912583.tmp 
> 
> %INSTALL_PATH%/host/win32/x86/usr/bin/make.exe -j 1 -Cx86 -fMakefile all
> 
> make.exe[1]: Entering directory `%MY_WORKSPACE%/My_Project/x86'
> Makefile:8: recurse.mk: No such file or directory
> make.exe[1]: *** No rule to make target `recurse.mk'.
> make.exe[1]: Failed to remake makefile `recurse.mk'.
> make.exe[1]: *** No rule to make target `all'.
> make.exe[1]: Leaving directory `%MY_WORKSPACE%/My_Project/x86'
> make: [all] Error 2 (ignored)
> 
> Note: to be short I modified some subpath with %VAR%
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post83067
> 
Re: Problem building project: error in make command  
I just replace some piece of path with %VAR% when I past the error message just to be short.

For example: instead of C:\Program Files\QNX Momentics 6.0.5\... I write in %INSTALL_PATH%, but just to be short. In the
 error message given by make all paths are full, not with %VAR%
Re: Problem building project: error in make command  
How you building? From command line? From IDE?
Do you have MAKEFLAGS var set?

On 02/10/2011 09:02 AM, Giuseppe Salvatore wrote:
> I just replace some piece of path with %VAR% when I past the error message just to be short.
> 
> For example: instead of C:\Program Files\QNX Momentics 6.0.5\... I write in %INSTALL_PATH%, but just to be short. In 
the error message given by make all paths are full, not with %VAR%
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post83075
> 
Re: Problem building project: error in make command  
I build from IDE and the MAKEFLAGS is set to -ID:/Program Files/x86/QNX Momentics 6.0.5/target/qnx6/usr/include/

The IDE builder can't find recurse.mk that is in D:/Program Files/x86/QNX Momentics 6.0.5/target/qnx6/usr/include/mk/

Now I'm trying to install Momentics Tools Suite under linux and see if I get the same problems.

Thanks for help
Re: Problem building project: error in make command  
You mean 6.5.0? Because there is no 6.0.5

On 02/10/2011 09:59 AM, Giuseppe Salvatore wrote:
> I build from IDE and the MAKEFLAGS is set to -ID:/Program Files/x86/QNX Momentics 6.0.5/target/qnx6/usr/include/
> 
> The IDE builder can't find recurse.mk that is in D:/Program Files/x86/QNX Momentics 6.0.5/target/qnx6/usr/include/mk/
> 
> Now I'm trying to install Momentics Tools Suite under linux and see if I get the same problems.
> 
> Thanks for help
> 
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post83080
> 
Re: Problem building project: error in make command  
Ok..the actual version is 6.5.0 but I made a mistake writing the installation folder when I setup the IDE. May this 
cause any problem?? I hope not...
Re: Problem building project: error in make command  
I can imagine that the space in the target directory path would cause trouble for make.  Makefiles typically tokenize 
lists and such on whitespace.

Cheers,

Christian

On 2011-02-10, at 9:59 AM, Giuseppe Salvatore wrote:

> I build from IDE and the MAKEFLAGS is set to -ID:/Program Files/x86/QNX Momentics 6.0.5/target/qnx6/usr/include/
> 
> The IDE builder can't find recurse.mk that is in D:/Program Files/x86/QNX Momentics 6.0.5/target/qnx6/usr/include/mk/
> 
> Now I'm trying to install Momentics Tools Suite under linux and see if I get the same problems.
> 
> Thanks for help
> 
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post83080
> 


Re: Problem building project: error in make command  
Bingo!! You were right. The problem was that. I have uninstalled the suite and reinstalled again, following the 
suggestion ( c:\QNX650 ) when the installation procedure asks me the installation folder...and everything went fine! 
Thanks so much Christian, and also Elena, for your support.
Re: Problem building project: error in make command  
I have the same issue under Ubuntu 12.04. I installed 6.5.0 with SP1 in "/opt/qnx650".
What might be the issue in my case then?
Re: Problem building project: error in make command  
i used sudo -E for installing SP1 and the problem is fixed now.
Re: Problem building project: error in make command  
Hello,

I still have this problem after reinstalling with sudo -E Qnx650 SP1 on Ubuntu 14.04.
Do you have any idea?

Thank you
Re: Problem building project: error in make command  
The most common problem I see is:
Install 6.5.0 (with -E) and then immediately installing 6.5.0 SP1 (also with -E). You MUST log out and in before 
installing 6.5.0SP1.

I don't know if this applies to your case of not, but I've seen it often enough that it's a good first check.

- Shawn