Re: [anjuta-list] Adding and including libraries



On Thu, 11 Dec 2014 23:47:55 +0100
Fearsome <fearsome green gmail com> wrote:

This has been (and still is at times), a cause for confusion for me too.

Add Library, New Library, and then selected gnet

Note that 'selected gnet' means you have to be careful to actually

- activate the checkbutton (the checkmark), 
- click 'Add'
- then click 'Add' again.

After that, when recompiling, Anjuta should automatically (re)configure.

I've had a series of problems with Anjuta lately, which I haven't really
had time to debug. It seems that in some cases, the added library
is not added correctly in the src/Makefile.am file. The new library
is inserted in the wrong place, and I had correct that file manually. 
This happened in my Anjuta, and in several machines of my students
(different versions)...


To be sure the paths are included correctly, do a

make V=1 

in the root directory of your project. That way, the CC ... will be
replaced by the full gcc command and print
the complete compilation command and you'll be able to see if the path
from the .pc is included or not.

Please paste that output in a message (and maybe the src/Makefile.am)

John


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]