Re: [Anjuta-list] PThreads and Anjuta



On Tue, 2002-05-07 at 05:46, Mukherjee, Devraj wrote:
> 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.

Anjuta build system is basically the mirror of standard gnu auto*
projects. Along with the imports, you will also need to setup your
configure.in and Makefile.am files, either via anjuta's project
configuration or directly editing the files. In the later case, you will
need to disable the overwrite option in project configuration for the
files.

These errors are generally because of mis-configuration (missing
definitions, missing headers etc. and if it comes during the linking,
missing libraries).

You will need to investigate the original project to see any such custom
configurations done for the pthread supports and add them to your
imported project.

Good luck.

-- 
Regards,
-naba

It doesn't matter what you do, it only matters what you say you've
done and what you're going to do.





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