Re: [Anjuta-list] installing libraries



Konstantin Kozlov wrote:
> Hi,
>
> in short, you need to create the file in your project for library - 
> <library name>.pc and install it to $prefix/lib/pkgconfig. Look for 
> examples in /usr/lib/pkgconfig. It is possible to create a target in 
> Anjuta for that, or manualy edit Makefile.am.  
>   
OK does that mean I can get anjuta to generate the pc file ?? I don't
find such a target ??


Also on the subject of targets I cannot get anjuta to generate a man
file I just get the error

<b>Can not add target</b>

Unable to update project

Unimplemented target type writer

what does that mean ??
I'm using Anjuta 2.24.1

> Grizzly(Francis Smit) wrote:
>   
>> Johannes Schmid wrote:
>>     
>>> Hi!
>>>
>>> You can only add libraries with "Add package" which are using
>>> pkg-config. Normal libraries don't do that automaticly (have a look at
>>> the pkg-config documentation how to archive this...). You can still add
>>> the library to your project by adding "-I/path/to/header/files" to
>>> CFLAGS and -lmylibrary to LDFLAGS in the target configuration
>>> (right-click on target in project-window and choose properties).
>>>
>>> See also the build tutorial on anjuta.org!
>>>   
>>>       
>> Thanks, um one more thing can you link me to the pkg-config
>> documentation, google is being unhelpful :(  or is the man page enough ??
>>     
>>> Regards,
>>> Johannes
>>>
>>> Am Mittwoch, den 11.03.2009, 09:27 +1100 schrieb Grizzly(Francis Smit):
>>>   
>>>       
>>>> Hi I made a library using anjuta then I installed it
>>>> sudo make install
>>>>
>>>> but when I go to put it in my project anjuta->project->properties ...
>>>> Packages->Add Package  I cannot find  my package what am I doing wrong??
>>>>     
>>>>         
>
>
>   


-- 
  In my life God comes first.... but Linux is pretty high after that :-D
Grizzly(Francis Smit)
http://www.geekcode.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GM/CS/P/PA d- s+:+> a+>? C++++ UL++++@ P+ L+++ E--- W+++ N+(++) K w--- M-- V-- PS(+) PE(-) Y+(++) PGP++ t+(++) 5 X- R- tv b+++(++++) DI(--) D G e++(+++) h-- r- y-
------END GEEK CODE BLOCK------





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