Make: *** There is no rule to make the target `Device-Debug '. Stop.

I use QNX pulses to develop a blackberry. The problem is when I download some sample code and run it on Simulator. then an error comes to me.

When I clean the project, it gives me an error

**** Clean-only build of configuration Simulator-Debug for project list **** make -j4 clean make: *** No rule to make target `clean'. Stop. **** Build Finished **** 

And when I create a project, he gives me

 **** Build of configuration Simulator-Debug for project list **** make -j4 Device-Debug make: *** No rule to make target `Device-Debug'. Stop. **** Build Finished **** 

These errors prevent me from running any sample code. please can someone tell me how i can solve this problem. I set the goal as a debug simulator.

+6
source share
2 answers

It looks like your x86 / Makefile is not being generated.

Is it possible to open a regular command window and prepare a shell using the bbndk-env.bat file from the BBNDK installation directory, and then enter the following from the top level of your demo project? (Replace YOURPROJECT.pro with what your .pro file actually has)

 qmake -spec unsupported/blackberry-x86-qcc -o x86/Makefile YOURPROJECT.pro CONFIG+="simulator debug_and_release" 

Is x86 / Makefile being created? Any bugs?

Can you publish the makefile for the demo version you are using?

+4
source

I had the same problem and noticed that the Makefile projects from Blackberry are the same names except for the QMAKE_TARGET tag. So I just copied them from the project directory and (project dir) / translations and changed QMAKE_TARGET to the corresponding project name. It was built without any problems.

I would say that this was due to the configuration of the git directory when it was clicked.

0
source

Source: https://habr.com/ru/post/950475/


All Articles