Library & Momentics

Hello,

I am trying to link a project with a static library called dmc.lib. I
cannot figure out where in Momentics I must add this library to the
project. Can anyone help?

Thanks, Matt.

Mathew Asselin <m2asselin@yahoo.com> wrote:

Hello,

I am trying to link a project with a static library called dmc.lib. I
cannot figure out where in Momentics I must add this library to the
project. Can anyone help?

Name it libdmc.a and then link with -ldmc

chris


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

Where in Momentics do I specify “-ldmc” ?
Do I have to place the libdmc.a in a specific folder?

Thanks, Matt.


Chris McKillop wrote:

Mathew Asselin <> m2asselin@yahoo.com> > wrote:
Hello,

I am trying to link a project with a static library called dmc.lib. I
cannot figure out where in Momentics I must add this library to the
project. Can anyone help?


Name it libdmc.a and then link with -ldmc

chris


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

Mathew Asselin <m2asselin@yahoo.com> wrote:

Where in Momentics do I specify “-ldmc” ?
Do I have to place the libdmc.a in a specific folder?

Assuming you are making a QNX C project then if you right-click on your
project folder, select Properties, go to the QNX C/C++ Settings and the linker
tab you can add libraries and library locations.

chris


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