Hello,

I applied both patches to paje and re-uploaded, but it is not
sufficient. I now get "PajeThreadReader.h: No such file or directory"
when compiling viva. I tried the latest upstream release, but it does
not help, so I filled https://github.com/schnorr/viva/issues/10

If you have an idea, please speak up because I don't :(

Mt

On Tue, Aug 02, 2016 at 09:25:13AM +0000, Radovan Birdic wrote:
> Bug #794704 was fixed with no-boost-moc-ftbfs patch in the older version, 
> which wrapping
> boost includes in #ifndef Q_MOC_RUN ... #endif
> 
> Applying no-boost-moc-ftbfs patch solves  "BOOST_JOIN" error but new issue 
> appear:
> 
> > error: no matching function for call to 
> > 'PajeSimulator::PajeSimulator(double&, int&)'
> 
> This issue occurs because constructor "PajeSimulator(double&, int&)" was 
> removed in the new version of pajeng package.
> On upstream, this constructor was returned:
> https://github.com/schnorr/pajeng/commit/827c3826eb12cebc7b4f7569be8aebff7a7a8796
> 
> Patch put-back-PajeSimulator-constructor.patch includes these changes.
> 
> Using pajeng that includes mentioned patches I was able to build viva package 
> successfully on  mips* and amd64.
> 
> Regards,
> Radovan


> commit 827c3826eb12cebc7b4f7569be8aebff7a7a8796
> Author: Lucas Mello Schnorr <schn...@inf.ufrgs.br>
> Date:   Thu Jul 7 05:32:26 2016 -0300
> 
>     put back this constructor since viva relies on it
> 
> diff --git a/src/libpaje/PajeSimulator.cc b/src/libpaje/PajeSimulator.cc
> index 7f0182d..100ca70 100644
> --- a/src/libpaje/PajeSimulator.cc
> +++ b/src/libpaje/PajeSimulator.cc
> @@ -33,6 +33,13 @@ PajeSimulator::PajeSimulator (double stopat)
>    init ();
>  }
>  
> +PajeSimulator::PajeSimulator (double stopat, int ignore)
> +{
> +  stopSimulationAtTime = stopat;
> +  ignoreIncompleteLinks = ignore;
> +  init ();
> +}
> +
>  PajeSimulator::PajeSimulator (double stopat, int ignore, bool noImbrication)
>  {
>    stopSimulationAtTime = stopat;
> diff --git a/src/libpaje/PajeSimulator.h b/src/libpaje/PajeSimulator.h
> index b806d8b..bb13c8c 100644
> --- a/src/libpaje/PajeSimulator.h
> +++ b/src/libpaje/PajeSimulator.h
> @@ -62,6 +62,7 @@ protected:
>  public:
>    PajeSimulator();
>    PajeSimulator(double stopat);
> +  PajeSimulator(double stopat, int ignoreIncompleteLinks);
>    PajeSimulator(double stopat, int ignoreIncompleteLinks, bool 
> noImbrication);
>    ~PajeSimulator();
>    void report (void);


-- 
Le sens commun n'est pas si commun (Common sense is not so common).
  -- Voltaire

Attachment: signature.asc
Description: PGP signature

Reply via email to