How to change System Builder Search Path ?

Hello,
How can I build a binary BSP in Momentics 6.3.0 with the binaries from
6.2.1?
On the Windows Host both Versions of SDK are installed and I can switch the
configuration for C projekts.
For a system builder project I tried to build a image with 6.2.1 binaries
with changing the configuration to 6.2.1. Environment variables point to the
path of the 6.2.1 installation, but Search Path for the System Builder
project still points to the absolut path of the 6.3.0 installation. I
already tried to change the Path, but Momentics does not accept an other
path than to QNX_TARGET, which is 6.2.1 in the environment, but 6.3.0 path
is used.
Removing the default search path and replacing with absolut path in the
project properties to the 6.2.1 environment results in error messages like
“Unable to find cam-disk.so” and so on.
Any idea to solve the problem?
Regards,
Werner

Werner Benz wrote:

How can I build a binary BSP in Momentics 6.3.0 with the binaries from
6.2.1?
[…]
Any idea to solve the problem?

QNX_TARGET controls where the binaries come from, and I would’ve
expected that to get set correctly if you’ve told the IDE that you’re
building a project for 6.2.1:

  • open the Preferences dialog (Window → Preferences)

  • select QNX

  • select the OS version you want in the Select Install drop-down

Another option would be to change the search paths in the project’s
properties:

  • Right-click the System Builder project in the Navigator view and
    choose Properties.

  • Click “Search Paths” in the left-hand list.

  • You can add/remove paths here that will be searched in order.

Hope that helps!


Chris Herborth (cherborth@qnx.com)
Never send a monster to do the work of an evil scientist.

Thank you, that works fine. My expectation, that with using the
configuration tool to switch between OS version all necessary things would
be switched was wrong.
Regards, Werner

“Chris Herborth” <cherborth@qnx.com> schrieb im Newsbeitrag
news:chkvvl$9pm$1@inn.qnx.com

Werner Benz wrote:
How can I build a binary BSP in Momentics 6.3.0 with the binaries from
6.2.1?
[…]
Any idea to solve the problem?

QNX_TARGET controls where the binaries come from, and I would’ve
expected that to get set correctly if you’ve told the IDE that you’re
building a project for 6.2.1:

  • open the Preferences dialog (Window → Preferences)

  • select QNX

  • select the OS version you want in the Select Install drop-down

Another option would be to change the search paths in the project’s
properties:

  • Right-click the System Builder project in the Navigator view and
    choose Properties.

  • Click “Search Paths” in the left-hand list.

  • You can add/remove paths here that will be searched in order.

Hope that helps!


Chris Herborth (> cherborth@qnx.com> )
Never send a monster to do the work of an evil scientist.

Werner Benz wrote:

Thank you, that works fine. My expectation, that with using the
configuration tool to switch between OS version all necessary things would
be switched was wrong.

I believe that changes things for the command-line, but not the IDE.


Chris Herborth (cherborth@qnx.com)
Never send a monster to do the work of an evil scientist.

Chris Herborth <cherborth@qnx.com> wrote:

Werner Benz wrote:

Thank you, that works fine. My expectation, that with using the
configuration tool to switch between OS version all necessary things would
be switched was wrong.

I believe that changes things for the command-line, but not the IDE.

If the user has not set a value before the IDE will honour the environment
variable settings when it starts up. If the user has set a particular
install in the past then the IDE will continue to use that value until
told not to.

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/