Hello Errazi,
can you be more elaborate, please? Otherwise we have to guess too much. 
In contrast to the previous problems, I don't have a good guess this time.
What is the compiler you are using and in what version? Do you use the 
Makefiles generated by autotools/dunecontrol or some from Xcode? Which 
Version of DuMuX do you use? From SVN or from the tarball?

Best,
Christoph


Am 03.05.2013 05:50, schrieb Errazi BEN AHMED:
> Hi Christoph,
>
> I almost configure everything but can not run examples inside test
> folder, I always get this errors trying to run test_box2p inside
> implicit/2p:
>
> ../../../dumux/implicit/common/implicitmodel.hh:581: error: ‘dofMapper’
> was not declared in this scope
> ../../../dumux/implicit/common/implicitmodel.hh: In member function
> ‘void Dumux::ImplicitModel<TypeTag>::serializeEntity(std::ostream&,
> const Entity&) [with Entity = Dune::Entity<2, 2, const
> Dune::YaspGrid<2>, Dune::YaspEntity>, TypeTag =
> Dumux::Properties::TTag::LensBoxProblem]’:
> ../../../dumux/io/restart.hh:147:   instantiated from ‘void
> Dumux::Restart::serializeEntities(Serializer&, const GridView&) [with
> int codim = 2, Serializer =
> Dumux::TwoPModel<Dumux::Properties::TTag::LensBoxProblem>, GridView =
> Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>,
> All_Partition> >]’
> ../../../dumux/implicit/common/implicitmodel.hh:516:   instantiated from
> ‘void Dumux::ImplicitModel<TypeTag>::serialize(Restarter&) [with
> Restarter = Dumux::Restart, TypeTag =
> Dumux::Properties::TTag::LensBoxProblem]’
> ../../../dumux/implicit/common/implicitproblem.hh:754:   instantiated
> from ‘void Dumux::ImplicitProblem<TypeTag>::serialize(Restarter&) [with
> Restarter = Dumux::ImplicitProblem<TypeTag>::serialize()::Restarter,
> TypeTag = Dumux::Properties::TTag::LensBoxProblem]’
> ../../../dumux/implicit/common/implicitproblem.hh:732:   instantiated
> from ‘void Dumux::ImplicitProblem<TypeTag>::serialize() [with TypeTag =
> Dumux::Properties::TTag::LensBoxProblem]’
> ../../../dumux/common/timemanager.hh:400:   instantiated from ‘void
> Dumux::TimeManager<TypeTag>::run() [with TypeTag =
> Dumux::Properties::TTag::LensBoxProblem]’
> ../../../dumux/common/start.hh:465:   instantiated from ‘int
> Dumux::start_(int, char**, void (*)(const char*, const std::string&))
> [with TypeTag = Dumux::Properties::TTag::LensBoxProblem]’
> ../../../dumux/common/start.hh:496:   instantiated from ‘int
> Dumux::start(int, char**, void (*)(const char*, const std::string&))
> [with TypeTag = Dumux::Properties::TTag::LensBoxProblem]’
> test_box2p.cc:65:   instantiated from here
> ../../../dumux/implicit/common/implicitmodel.hh:553: error: ‘dofMapper’
> was not declared in this scope
> ../../../dumux/implicit/common/implicitmodel.hh: In member function
> ‘void Dumux::ImplicitModel<TypeTag>::serializeEntity(std::ostream&,
> const Entity&) [with Entity = Dune::Entity<0, 2, const
> Dune::YaspGrid<2>, Dune::YaspEntity>, TypeTag =
> Dumux::Properties::TTag::LensBoxProblem]’:
> ../../../dumux/io/restart.hh:147:   instantiated from ‘void
> Dumux::Restart::serializeEntities(Serializer&, const GridView&) [with
> int codim = 0, Serializer =
> Dumux::TwoPModel<Dumux::Properties::TTag::LensBoxProblem>, GridView =
> Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>,
> All_Partition> >]’
> ../../../dumux/implicit/common/implicitmodel.hh:518:   instantiated from
> ‘void Dumux::ImplicitModel<TypeTag>::serialize(Restarter&) [with
> Restarter = Dumux::Restart, TypeTag =
> Dumux::Properties::TTag::LensBoxProblem]’
> ../../../dumux/implicit/common/implicitproblem.hh:754:   instantiated
> from ‘void Dumux::ImplicitProblem<TypeTag>::serialize(Restarter&) [with
> Restarter = Dumux::ImplicitProblem<TypeTag>::serialize()::Restarter,
> TypeTag = Dumux::Properties::TTag::LensBoxProblem]’
> ../../../dumux/implicit/common/implicitproblem.hh:732:   instantiated
> from ‘void Dumux::ImplicitProblem<TypeTag>::serialize() [with TypeTag =
> Dumux::Properties::TTag::LensBoxProblem]’
> ../../../dumux/common/timemanager.hh:400:   instantiated from ‘void
> Dumux::TimeManager<TypeTag>::run() [with TypeTag =
> Dumux::Properties::TTag::LensBoxProblem]’
> ../../../dumux/common/start.hh:465:   instantiated from ‘int
> Dumux::start_(int, char**, void (*)(const char*, const std::string&))
> [with TypeTag = Dumux::Properties::TTag::LensBoxProblem]’
> ../../../dumux/common/start.hh:496:   instantiated from ‘int
> Dumux::start(int, char**, void (*)(const char*, const std::string&))
> [with TypeTag = Dumux::Properties::TTag::LensBoxProblem]’
> test_box2p.cc:65:   instantiated from here
> ../../../dumux/implicit/common/implicitmodel.hh:553: error: ‘dofMapper’
> was not declared in this scope
> make: *** [test_box2p.o] Error 1
>
> Even trying to start with the gettingstarted file as described in the
> grid how to, I got 2 errors :
>
>    "Dune::dinfo", referenced from:
>
>        Dune::SGrid<2, 2, double>::makeSGrid(Dune::array<int, 2ul>
> const&, Dune::FieldVector<double, 2> const&, Dune::FieldVector<double,
> 2> const&)in main.o
>        Dune::SGrid<2, 2, double>::makeSGrid(Dune::array<int, 2ul>
> const&, Dune::FieldVector<double, 2> const&, Dune::FieldVector<double,
> 2> const&)in main.o
>        Dune::SGrid<2, 2, double>::makeSGrid(Dune::array<int, 2ul>
> const&, Dune::FieldVector<double, 2> const&, Dune::FieldVector<double,
> 2> const&)in main.o
>
>    "Dune::Exception::_hook", referenced from:
>        Dune::Exception::Exception()in main.o
>        Dune::Exception::Exception()in main.o
>        Dune::Exception::Exception()in main.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
>
> Any help please ?
>
> 2013/5/2 Christoph Grüninger <[email protected]
> <mailto:[email protected]>>
>
>     Hi Errazi,
>     I never used Xcode myself, so I am not sure what to do. Have you
>     compiled and linked th gettingstarted.cc with the Makefile from the
>     autotools or is it generated by Xcode?
>
>     Please try using the Makefile from a shell.
>
>     The error indicates, that libdunecommon is not included in the linking.
>
>     Bye
>     Christoph


-- 
The Romans didn't find algebra very challenging,
because X was always 10.
********************************************
CMWR 2014: 9th - 13th June 2014 in Stuttgart
          Please visit www.cmwr14.de
********************************************
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to