Re: [Anjuta-list] PThreads and Anjuta



Which version are you using ? If you are using 0.1.9 or CVS (and I'd
strongly suggest CVS - it is very stable now), you can simply import the
project from File->Import Project. This way, you preserve the project
exactly as is and don't have to bother about libraries, etc.

Another thing, use 'Compile using Make' instead of 'Compile'.

Hope this helps.

Rgds,
Biswa.

> 
> 
> 
> Hello All,
> 
> I am attempting to compile a source file C++ in  Anjuta which uses
> PThreads. This file is taken from the LMME project on  SourceForge
> (lmme.sourceforge.net) and compiles with no hassles when I use  configure
> and make to compile the project as is.
> 
> I am attempting to import all the files to my own  project so that I can
> make further changes to it and write a GUI front end to  the engine
> developed by Danny. Now the problem that I am facing is that one of  the
> file that I am attempting to add to my project uses PThreads and when I
> attempt to build the project with this file included in the project, it
> fails,  giving me heaps in errors much of them are related to PThread.h
> itself, not the  source code that was written by Danny for the LMME
> project.
> 
> I have included the PThread and PThread_p libraries  in my project in
> Anjuta and I still get these errors. I am tending to think it  is something
> to do with a setting in the IDE that is not enabling it to compile  the
> project files. Can anyone please direct me towards any resources or give me
> any suggestions.
> 
> Any help is greatly appretiated.
> 
> Thank you for your time.
> 
> Devraj
> 






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