Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Regular Contributor
Posts: 96
Registered: ‎05-15-2013
My Device: blackberry z10
My Carrier: blackberry

No rule to make target simulator debug stop

hi,

 

i am trying to build the application on blackberry native sdk 10 and following error is comming..


**** Build of configuration Simulator-Debug for project Fiume ****

make Simulator-Debug
make: *** No rule to make target `Simulator-Debug'. Stop.

**** Build Finished ****

 

 

plz help me..

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: No rule to make target simulator debug stop

What does your Makefile look like?

Regular Contributor
Posts: 96
Registered: ‎05-15-2013
My Device: blackberry z10
My Carrier: blackberry

Re: No rule to make target simulator debug stop

here is my make file

 

 

QMAKE_TARGET = Fiume
PROJECT_DIR := $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
I18N_DIR := $(PROJECT_DIR)/translations

include mk/cs-base.mk

 

Regular Contributor
Posts: 96
Registered: ‎05-15-2013
My Device: blackberry z10
My Carrier: blackberry

Re: No rule to make target simulator debug stop

here is my make file

 

#############################################################################
# Makefile for building: libFiume.so.1.0.0
# Generated by qmake (2.01a) (Qt 4.8.4) on: Sat May 18 14:51:00 2013
# Project: ../Fiume.pro
# Template: lib
# Command: c:/bbndk/host_10_0_9_404/win32/x86/usr/bin/qmake.exe -spec ../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/blackberry-x86-qcc CONFIG+=debug_and_release CONFIG+=simulator -o Makefile ../Fiume.pro
#############################################################################

first: release
install: release-install
uninstall: release-uninstall
MAKEFILE = Makefile
QMAKE = c:/bbndk/host_10_0_9_404/win32/x86/usr/bin/qmake.exe
DEL_FILE = rm -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
COPY = cp -f
COPY_FILE = $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE = $(COPY_FILE)
INSTALL_PROGRAM = $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
DEL_FILE = rm -f
SYMLINK = ln -f -s
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
SUBTARGETS = \
release \
debug

release: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release
release-make_default: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release
release-make_first: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release first
release-all: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release all
release-clean: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release clean
release-distclean: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release distclean
release-install: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release install
release-uninstall: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release uninstall
debug: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug
debug-make_default: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug
debug-make_first: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug first
debug-all: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug all
debug-clean: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug clean
debug-distclean: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug distclean
debug-install: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug install
debug-uninstall: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug uninstall

Makefile: ../Fiume.pro ../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/blackberry-x86-qcc/qmake.conf ../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/common/g++-base.conf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/common/g++-unix.conf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/common/unix.conf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/common/qcc-base.conf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/common/qcc-base-qnx.conf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/qconfig.pri \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/qt_functions.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/qt_config.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/qnx-x86-qcc/qmake.conf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/default_pre.prf \
../config.pri \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/release.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/debug_and_release.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/default_post.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/mobility.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/cascades10.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/warn_on.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/qt.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/unix/thread.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/moc.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/resources.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/uic.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/yacc.prf \
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/lex.prf \
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtSensors.prl \
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtDeclarative.prl \
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtScript.prl \
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtCore.prl \
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtSvg.prl \
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtGui.prl \
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtSql.prl \
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtXmlPatterns.prl \
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtNetwork.prl
$(QMAKE) -spec ../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/blackberry-x86-qcc CONFIG+=debug_and_release CONFIG+=simulator -o Makefile ../Fiume.pro
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/common/g++-base.conf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/common/g++-unix.conf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/common/unix.conf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/common/qcc-base.conf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/common/qcc-base-qnx.conf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/qconfig.pri:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/qt_functions.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/qt_config.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/qnx-x86-qcc/qmake.conf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/default_pre.prf:
../config.pri:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/release.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/debug_and_release.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/default_post.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/mobility.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/cascades10.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/warn_on.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/qt.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/unix/thread.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/moc.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/resources.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/uic.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/yacc.prf:
../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/lex.prf:
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtSensors.prl:
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtDeclarative.prl:
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtScript.prl:
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtCore.prl:
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtSvg.prl:
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtGui.prl:
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtSql.prl:
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtXmlPatterns.prl:
c:\bbndk\target_10_0_9_1673\qnx6\x86\usr\lib\qt4\lib\libQtNetwork.prl:
qmake: qmake_all FORCE
@$(QMAKE) -spec ../../../bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/blackberry-x86-qcc CONFIG+=debug_and_release CONFIG+=simulator -o Makefile ../Fiume.pro

qmake_all: FORCE

make_default: release-make_default debug-make_default FORCE
make_first: release-make_first debug-make_first FORCE
all: release-all debug-all FORCE
clean: release-clean debug-clean FORCE
distclean: release-distclean debug-distclean FORCE
-$(DEL_FILE) Makefile

check: first

release-mocclean: $(MAKEFILE).Release
$(MAKE) -f $(MAKEFILE).Release mocclean
debug-mocclean: $(MAKEFILE).Debug
$(MAKE) -f $(MAKEFILE).Debug mocclean
mocclean: release-mocclean debug-mocclean

release-mocables: $(MAKEFILE).Release
$(MAKE) -f $(MAKEFILE).Release mocables
debug-mocables: $(MAKEFILE).Debug
$(MAKE) -f $(MAKEFILE).Debug mocables
mocables: release-mocables debug-mocables
FORCE:

$(MAKEFILE).Release: Makefile
$(MAKEFILE).Debug: Makefile

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: No rule to make target simulator debug stop

Indeed you don't have this target as you can easily see.

How did you create this project in NDK? Is it something imported/copied from a Qt project?

Regular Contributor
Posts: 96
Registered: ‎05-15-2013
My Device: blackberry z10
My Carrier: blackberry

Re: No rule to make target simulator debug stop

[ Edited ]

yeah it imported project...its an pjsip based application.And its not running..plz tell me what changes i will have to implement in make file for making this project running..

 

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: No rule to make target simulator debug stop

Try to take a look at Makefile of working project and copy missing pieces. Otherwise sorry can't help as it might be very tedious to edit Makefiles created somwhere else (not in NDK).