03-13-2012 05:28 PM
I've been going through the tutorials and samples. For the most part I've been having success.
I'm getting the following error when I try to load and run some of the samples through the IDE.
Error: Unable to resolve path variable "QNX_TARGET"
It's occuring on some but not all of the the ones I've done, even ones that I had success with in the past.
Any ideas on what it means and how to resolve?
03-13-2012 05:47 PM
03-13-2012 05:59 PM
I located the bbndk-env.bat and ran it. I'm still getting the same error.
QNX® Momentics IDE for BlackBerry® Native SDK for Tablet OS
Any other thoughts?
03-13-2012 06:09 PM
03-13-2012 06:20 PM
03-13-2012 06:29 PM
Thanks for the reply Peter.
I'll look into your suggestion when I'm back at th
Funny thing though, is it works on some apps but n
03-13-2012 07:15 PM
Okay, maybe you guys have somehow managed to mess up the IDE settings.
Look in the "bad' project under Properties -> C/C++ Build -> Environment. You should see about 10-12 environment variables listed there, including QNX_TARGET. They all have "BUILD_SYSTEM" in the Origin column (whatever that is).
Probably you'll see a difference between the working and non-working projects here. I have no idea how they could get munged, but it seems likely that mine is working fine even though there's no system-wide environment variables set for this simply because they're defined here internally.
03-13-2012 07:51 PM
I tried running bbndk.bat by itself, which sets variables and then launches the exe. No luck.
I also looked at the properties > C/C++ build > environment. All variables, and values are the same between two samples (one that works, the other that gives me the error) other than the path to the particular programs source files.
Just to be specific GoodCitizen works, OpenGLWindow does not. I haven't modified any code. Simply imported, build and run as.