
I have downloaded the latest release version of the library (0.5). I do not have problems with compiling the library. But when i try to compile the following program: #include"ppl.hh" main(void){}
with the command gcc file.c -lgmp -lgmpxx -lppl
i am getting lots of syntax errors. Compilation of test programs with make test goes well, but there are too many compilation options. Could you please help me with the minimal example to start using the library?
Best regards Elena
Message: 1 Date: Tue, 13 Jan 2004 17:53:43 +0100 From: Elena Fersman fersman@lsv.ens-cachan.fr Subject: [PPL-devel] how to start using ppl? To: ppl-devel@cs.unipr.it Message-ID: 40042297.8090006@lsv.ens-cachan.fr Content-Type: text/plain; charset=us-ascii; format=flowed
Dear PPL Developers, I am a beginner with PPL library and I am having problems with compilation. I am getting error messages like "redeclaration of 'typename', typename previously declared..." Do you have some demo files on usage of ppl? The library file is in ppl.hh?
Regards, Elena
Message: 2 Date: Tue, 13 Jan 2004 19:00:08 +0100 (CET) From: Roberto Bagnara roberto@spartacus.cs.unipr.it Subject: Re: [PPL-devel] how to start using ppl? To: ppl-devel@cs.unipr.it Message-ID: 200401131800.i0DI08K14387@spartacus.cs.unipr.it Content-Type: text/plain; charset=us-ascii
I am a beginner with PPL library and I am having problems with compilation.
Dear Elena,
are you having problems compiling the library itself or compiling programs using the library? Which version of the library did you download?
I am getting error messages like "redeclaration of 'typename', typename previously declared..."
This is strange. Can you provide more details? Which version of which compiler are you using?
Do you have some demo files on usage of ppl?
All the files in the tests subdirectory are, in a sense, demo files. Some are more interesting than others, of course, but all the features of the library are tested in at least one of those.
The library file is in ppl.hh?
Well, the ppl.hh file is the only header file of the library so that including it is all you have to do in order to get your program compiled. If you give us more details about what is going wrong we will be more than happy to help. Response time may be higher than usual these days as most of us are attending the VMCAI and POPL conferences in Venice. All the best,
Roberto
-- Prof. Roberto Bagnara Computer Science Group Department of Mathematics, University of Parma, Italy http://www.cs.unipr.it/~bagnara/ mailto:bagnara@cs.unipr.it
PPL-devel mailing list PPL-devel@cs.unipr.it http://www.cs.unipr.it/mailman/listinfo/ppl-devel
End of PPL-devel Digest, Vol 7, Issue 2