issues with qnx 6.3.0 PE - SP2

Hi…

I updated to QNX 6.3.0 PE -SP2 recently, and I wonder if you can help me
understand what I am doing wrong (We have code that compiles and runs
with QNX 6.3.0 PE -SP1, but the new update does not compile).

\

  1. create a simple library. Library compiles.

  2. create a simple main that calls the library, but the project does not
    seem to find the place where I have the library includes (set via ‘extra
    include’). I get:


C:/QNX630/host/win32/x86/usr/bin/qcc -V3.3.5,gcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses -O -DNDEBUG -I.
-ID:/tmp/workspace/main.hello/x86/o -ID:/tmp/workspace/main.hello/x86
-ID:/tmp/workspace/main.hello -I/include
-IC:/QNX630/target/qnx6/usr/include
D:/tmp/workspace/main.hello/main.hello.cc
D:/tmp/workspace/main.hello/main.hello.cc:3:23: say_hello.h: No such
file or directory

the problem is the line:

-ID:/tmp/workspace/main.hello -I/include

in which the [ -I/include ] is not pointing to the right path.

This line corresponds to the following line in common.mk:

EXTRA_INCVPATH+=$(PROJECT_ROOT_utilities.rtw.lib)/include

In other words, [ PROJECT_ROOT_utilities.rtw.lib ] is not set properly.

  1. if I override the entry for the path to the library include *.h file
    in common.mk to:

EXTRA_INCVPATH+=D:/tmp/workspace/utilities.rtw.lib/include/

then all works.



4. question is: how do I set [ PROJECT_ROOT ] properly? This is what I
think I am missing. The SP1 version did this properly, but SP2 seems to
require extra steps? (same behavior in native QNX).


Thanks for your help.

Regards…

Miguel.