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
Developer
HuXu77
Posts: 196
Registered: ‎02-10-2011
My Device: Playbook 16GB and Z10
My Carrier: Verizon
Accepted Solution

Help with Order of Imports

[ Edited ]

As a full-time Java developer switching to C++ I REALLY miss the feature of auto-suggest/add imports and the fact that the order of imports doesn't matter, while with C++ I see no such ease.

 

I have been struggling for days on getting my imports in the correct order but can't get it right.

 

This is my build log:

 

make[2]: Entering directory `C:/ndk-10.0.4-workspace/Fitbit/arm'
qcc -Vgcc_ntoarmv7le -lang-c++ -c -g -Wno-psabi -Wall -W -D_REENTRANT -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-g++ -I../../Fitbit -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtCore -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtNetwork -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtGui -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXml -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXmlPatterns -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSql -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSvg -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtScript -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4 -I../src -Io.le-v7-g/.moc -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include/freetype2 -I. -o o.le-v7-g/.obj/FitbitApi.o ../src/FitbitApi.cpp
qcc -Vgcc_ntoarmv7le -lang-c++ -c -g -Wno-psabi -Wall -W -D_REENTRANT -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-g++ -I../../Fitbit -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtCore -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtNetwork -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtGui -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXml -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXmlPatterns -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSql -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSvg -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtScript -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4 -I../src -Io.le-v7-g/.moc -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include/freetype2 -I. -o o.le-v7-g/.obj/hellocascades.o ../src/hellocascades.cpp
qcc -Vgcc_ntoarmv7le -lang-c++ -c -g -Wno-psabi -Wall -W -D_REENTRANT -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-g++ -I../../Fitbit -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtCore -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtNetwork -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtGui -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXml -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXmlPatterns -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSql -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSvg -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtScript -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4 -I../src -Io.le-v7-g/.moc -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include/freetype2 -I. -o o.le-v7-g/.obj/HelloCascadesApp.o ../src/HelloCascadesApp.cpp
qcc -Vgcc_ntoarmv7le -lang-c++ -c -g -Wno-psabi -Wall -W -D_REENTRANT -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-g++ -I../../Fitbit -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtCore -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtNetwork -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtGui -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXml -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXmlPatterns -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSql -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSvg -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtScript -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4 -I../src -Io.le-v7-g/.moc -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include/freetype2 -I. -o o.le-v7-g/.obj/RequestEnvelope.o ../src/RequestEnvelope.cpp
C:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/moc.exe -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-g++ -I../../Fitbit -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtCore -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtNetwork -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtGui -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXml -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXmlPatterns -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSql -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSvg -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtScript -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4 -I../src -Io.le-v7-g/.moc -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include/freetype2 -I. -D__QNXNTO__ ../src/HelloCascadesApp.hpp -o o.le-v7-g/.moc/moc_HelloCascadesApp.cpp
qcc -Vgcc_ntoarmv7le -lang-c++ -c -g -Wno-psabi -Wall -W -D_REENTRANT -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-g++ -I../../Fitbit -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtCore -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtNetwork -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtGui -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXml -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXmlPatterns -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSql -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSvg -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtScript -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4 -I../src -Io.le-v7-g/.moc -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include/freetype2 -I. -o o.le-v7-g/.obj/moc_HelloCascadesApp.o o.le-v7-g/.moc/moc_HelloCascadesApp.cpp
C:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/moc.exe -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-g++ -I../../Fitbit -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtCore -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtNetwork -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtGui -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXml -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXmlPatterns -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSql -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSvg -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtScript -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4 -I../src -Io.le-v7-g/.moc -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include/freetype2 -I. -D__QNXNTO__ ../src/FitbitApi.h -o o.le-v7-g/.moc/moc_FitbitApi.cpp
qcc -Vgcc_ntoarmv7le -lang-c++ -c -g -Wno-psabi -Wall -W -D_REENTRANT -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-g++ -I../../Fitbit -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtCore -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtNetwork -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtGui -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXml -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXmlPatterns -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSql -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSvg -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtScript -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4 -I../src -Io.le-v7-g/.moc -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include/freetype2 -I. -o o.le-v7-g/.obj/moc_FitbitApi.o o.le-v7-g/.moc/moc_FitbitApi.cpp
C:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/moc.exe -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-g++ -I../../Fitbit -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtCore -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtNetwork -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtGui -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXml -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXmlPatterns -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSql -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSvg -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtScript -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4 -I../src -Io.le-v7-g/.moc -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include/freetype2 -I. -D__QNXNTO__ ../src/RequestEnvelope.h -o o.le-v7-g/.moc/moc_RequestEnvelope.cpp
qcc -Vgcc_ntoarmv7le -lang-c++ -c -g -Wno-psabi -Wall -W -D_REENTRANT -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/unsupported/blackberry-armv7le-g++ -I../../Fitbit -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtCore -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtNetwork -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtGui -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXml -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtXmlPatterns -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSql -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtSvg -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtScript -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4/QtDeclarative -I../../../bbndk-10.0.4-beta/target/qnx6/usr/include/qt4 -I../src -Io.le-v7-g/.moc -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include -IC:/bbndk-10.0.4-beta/target/qnx6/usr/include/freetype2 -I. -o o.le-v7-g/.obj/moc_RequestEnvelope.o o.le-v7-g/.moc/moc_RequestEnvelope.cpp
qcc -Vgcc_ntoarmv7le -lang-c++ -Wl,-rpath-link,C:/bbndk-10.0.4-beta/target/qnx6/armle-v7/lib -Wl,-rpath-link,C:/bbndk-10.0.4-beta/target/qnx6/armle-v7/usr/lib -o o.le-v7-g/Fitbit o.le-v7-g/.obj/AbstractObject.o o.le-v7-g/.obj/ApiObjectFactory.o o.le-v7-g/.obj/ApiResponse.o o.le-v7-g/.obj/FitbitApi.o o.le-v7-g/.obj/hellocascades.o o.le-v7-g/.obj/HelloCascadesApp.o o.le-v7-g/.obj/json.o o.le-v7-g/.obj/RequestEnvelope.o o.le-v7-g/.obj/User.o o.le-v7-g/.obj/kqoauth2request.o o.le-v7-g/.obj/kqoauthauthreplyserver.o o.le-v7-g/.obj/kqoauthmanager.o o.le-v7-g/.obj/kqoauthrequest.o o.le-v7-g/.obj/kqoauthrequest_1.o o.le-v7-g/.obj/kqoauthrequest_xauth.o o.le-v7-g/.obj/kqoauthutils.o o.le-v7-g/.obj/moc_HelloCascadesApp.o o.le-v7-g/.obj/moc_AbstractObject.o o.le-v7-g/.obj/moc_FitbitApi.o o.le-v7-g/.obj/moc_RequestEnvelope.o o.le-v7-g/.obj/moc_User.o o.le-v7-g/.obj/moc_kqoauth2request.o o.le-v7-g/.obj/moc_kqoauthauthreplyserver.o o.le-v7-g/.obj/moc_kqoauthauthreplyserver_p.o o.le-v7-g/.obj/moc_kqoauthmanager.o o.le-v7-g/.obj/moc_kqoauthrequest.o o.le-v7-g/.obj/moc_kqoauthrequest_xauth.o    -LC:/bbndk-10.0.4-beta/target/qnx6/armle-v7/lib -LC:/bbndk-10.0.4-beta/target/qnx6/armle-v7/usr/lib -LC:/bbndk-10.0.4-beta/target/qnx6/armle-v7/usr/lib/qt4/lib -LC:/bbndk-10.0.4-beta/target/qnx6/x86/usr/lib/qt4/lib -lm -lbps -lbb -lQtCascades -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lQtXmlPatterns -lQtXml -lQtGui -lQtNetwork -lQtCore 
Could not find qmake configuration directoryCould not find qmake configuration fileUsing OS scope before setting MAKEFILE_GENERATORo.le-v7-g/.obj/RequestEnvelope.o: In function `RequestEnvelope::makeRequest()':
C:\ndk-10.0.4-workspace\Fitbit\arm/../src/RequestEnvelope.cpp:25: undefined reference to `FitbitApi::getRequestManager()'
C:\ndk-10.0.4-workspace\Fitbit\arm/../src/RequestEnvelope.cpp:29: undefined reference to `FitbitApi::getRequestManager()'
o.le-v7-g/.obj/RequestEnvelope.o: In function `RequestEnvelope::onRequestCallback(QByteArray)':
C:\ndk-10.0.4-workspace\Fitbit\arm/../src/RequestEnvelope.cpp:33: undefined reference to `FitbitApi::getRequestManager()'
cc: C:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/ntoarm-ld caught signal 1

 

I do have FitbitApi.h included in the RequestEnvelope.h yet it won't build because it believes there is an undefined reference to FitbitApi...  I think this might be the key output:

 

Could not find qmake configuration directoryCould not find qmake configuration fileUsing OS scope

 But I have no idea what it means or how to correct it.  From the build log it appears FitbitApi is built before RequestEnvelope and it appears its compiled together but I still get this error.

 

What am I missing?

 

Edit: I have become so frustrated with this I am willing to offer a download link for my entire project if that will help someone who believes that having the project to test would help solve the issue.  Just let me know if the above info is not enough.

_________________________________________________
Apps
Go Music
Flashlight Fast Free/Pro
Fitbit for BlackBerry PlayBook
Please use plain text.
BlackBerry Development Advisor (Retired)
smacmartin
Posts: 499
Registered: ‎05-07-2012
My Device: developer
My Carrier: developer

Re: Help with Order of Imports

This is a link error, not a compile error.  It compiled, expecting that routine, but wasn't there to link with.

 

#include isn't quite the same thing as #import.   The include is like cut&paste the include file contents here.  It's easiest if you put system files first, then 3rd party files, then your files.   It's also easiest if you limit the #include that you have in your own .h files and instead use references and pointers (you only need the #include in your .h for superclasses, enum values, and any class you mention by value).

 

Most documentation tells you what include files to use.  There is usually a clear pattern, so that if you know the class name you know the file to include.

 

Momentics has one feature you might find useful (though it doesn't always work for me): click on the variable, right context menu, source/Add Include.

 

Stuart

Please use plain text.
BlackBerry Development Advisor (Retired)
smacmartin
Posts: 499
Registered: ‎05-07-2012
My Device: developer
My Carrier: developer

Re: Help with Order of Imports

An easy way to see if it's a compile error or a link error (other than getting to recognize them) is to look above the first error.  If it mentions <filename>.o or .a then it's a link error.  If it's processing one of your .cpp files, it's a compile error. In a typical project, all files compile, then if those succeeds it links.

 

Stuart

Please use plain text.
Developer
HuXu77
Posts: 196
Registered: ‎02-10-2011
My Device: Playbook 16GB and Z10
My Carrier: Verizon

Re: Help with Order of Imports

Ahh Thank you! That helps! It didn't help me solve my issue, turned out to be something trivial... adding the actual function to the class was the issue (doh!).
_________________________________________________
Apps
Go Music
Flashlight Fast Free/Pro
Fitbit for BlackBerry PlayBook
Please use plain text.