Re: [anjuta-list] Adding and including libraries



Doing

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

chrashes Anjuta. So does pressing "Add" without first doing "New Library..." in the "Add Library" dialog.

Checked src/Makefile.am and there's no sight of gnet. I've attached it.

Running

make V=1

also does not show any sign of gnet. I've attached the output (comp_out.txt).

I've also tried regenerating the project. This produced some output which I've also attached (regen.txt). Here gnet seems to be found, however.

/Fred

On Fri, Dec 12, 2014 at 3:54 PM, John Coppens <john jcoppens com> wrote:
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
_______________________________________________
anjuta-list mailing list
anjuta-list gnome org
https://mail.gnome.org/mailman/listinfo/anjuta-list

Attachment: comp_out.txt
Description: Text document

Attachment: regen.txt
Description: Text document

Attachment: Makefile.am
Description: Binary data



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