Pelles C forum

C language => Expert questions => Topic started by: Alessio on September 03, 2010, 10:11:04 AM

Title: add new library
Post by: Alessio on September 03, 2010, 10:11:04 AM
Hi,

I add a new library using "folders" under Tools->Option menu.
but compiler warn me that library is not found (missing header error).

Why ?

It works only if I add new libraries under project settings, but I want it to be default for all projects.

Please forgive me but I asked same question some time ago...
http://forum.pellesc.de/index.php?topic=3013.0 (http://forum.pellesc.de/index.php?topic=3013.0)
...but I've not fixed that too!

Alessio.
Title: Re: add new library
Post by: Alessio on September 03, 2010, 10:56:41 AM
ok, fixed.

It seems that POIDE doesn't update INCLUDE ad LIBS path into ppj file.
In fact, I have created a new project and I've noticed that INCLUDE and LIBS path have my new added library.

I think this should be considered a bug.

Alessio.
Title: Re: add new library
Post by: CommonTater on September 04, 2010, 01:25:06 AM
Once you have it in your global settings, you can update it into a project's settings by clicking the "default" button on the folders tab.

Title: Re: add new library
Post by: Stefan Pendl on September 04, 2010, 08:51:08 AM
Once you have it in your global settings, you can update it into a project's settings by clicking the "default" button on the folders tab.

This would remove any additional path added just for the project, I think.

It would be nice to have things merged, since removing unwanted paths is easier, than adding the lost ones.
Title: Re: add new library
Post by: CommonTater on September 04, 2010, 01:22:21 PM
Good point...