Menu

#236 latest swak4foam development version can not build with OF+ 1612

fixed
None
normal
major
Always
none
swak4Foam-da0031dd7650952525f
centos linux
centos
other
2017-01-13
2017-01-11
No

I tried to compile swak4foam with the latest Openfoam+ 1612 version today. I took the latest hg development branch as I understood this could compile with the 1606 OpenFOAM version, but apperently it does not work. Just to report this broken install, here my log file. Hopefully it is not too difficult to fix

Regards
Eelco

1 Attachments

Discussion

  • Bernhard Gschaider

    I am aware of this but didn't yet have time to fix this (to be honest: I compiled v1612+ but didn't event attempt to compile swak4Foam on it).

    Mark Olesen already did some work on it: https://github.com/olesenm/openfoam-extend-swak4Foam-dev/tree/port1612

    A haven't gotten around to including it as he used the Windows of DVCS (git) and I must check how to include this cleanly into Mercurial

     
  • Eelco van Vliet

    Eelco van Vliet - 2017-01-12

    Hi Berhard,
    Thanks for that, I will just wait for the official update, sorry for being so impatient, I am just adicted to swak4foam too much:-)

     
  • Alexis Marchand

    Alexis Marchand - 2017-01-12

    Hi !

    I have a similar error (error I found in your log.out file) :

    FieldValueExpressionDriver.C: In member function ‘Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField,="" Foam::volMesh=""> > Foam::FieldValueExpressionDriver::makeDistanceField()’:
    FieldValueExpressionDriver.C:711:17: error: passing ‘const Foam::GeometricField<double, Foam::fvPatchField,="" Foam::volMesh="">’ as ‘this’ argument of ‘void Foam::GeometricField<Type, PatchField,="" GeoMesh="">::operator==(const Foam::tmp<Foam::GeometricField<Type, PatchField,="" GeoMesh=""> >&) [with Type = double; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh]’ discards qualifiers [-fpermissive]
    f()==dist.y();

    But I have this error with an OpenFoam-dev version ... Is there way to solve it :) ? Thanks!

     
  • Bernhard Gschaider

    • status: new --> fixed
    • Severity: minor --> major
    • Reproducibility: HaveNotTried --> Always
     
  • Bernhard Gschaider

    Just pushed a new version of the develop-branch that compiles on v1612+

     
  • Eelco van Vliet

    Eelco van Vliet - 2017-01-13

    Just tried it and it works. Thanks for the quick update!

     
  • Bernhard Gschaider

    You're joking, right? I was sitting on these changes since before christmas (a year has passed since) ;)

     
  • Eelco van Vliet

    Eelco van Vliet - 2017-01-13

    Was not ment to be ironic at all:-) I submitted this 2 days ago, and it is fixed already. Faster than I could have dreamed of:-)

     

Log in to post a comment.