Bug#607038: rheolef: missing include files

Pierre Saramito Pierre.Saramito at imag.fr
Tue Dec 14 12:05:46 UTC 2010


Hi Miles,

Thank you for your interest to Rheolef !

The rheolef reference manual is sometimes out-of-date: 
please see the rheolef user's manual located, together with many examples,
in the directory :

   rheolef-config --docdir
   rheolef-config --exampledir

Here, please enter in r0.cc (the reference manual will be fixed in
the next release):

   #include "rheolef.h"
   using namespace rheolef;
   using namespace std;
   int main () {
     geo g;
     cin >> g;
     cout << mayavi << full << g;
   }

and then :

   make r0
   mkgeo_grid -t 10 | ./r0

The corresponding Makefile is in attachement (it is also
distributed in the rheolef examples/ directory).

Pierre
-- 
Pierre.Saramito at imag.fr
Directeur de Recherche CNRS
Laboratoire Jean Kuntzmann, Grenoble, France
http://www-ljk.imag.fr/membres/Pierre.Saramito


On mar 14 d?c 2010 ? 16:17 +0900, Miles Bader wrote :
> Package: rheolef
> Version: 5.91-1
> Severity: normal
> 
> I tried to compile the following example from the rheolef manual:
> 
>    #include "rheolef/rheolef.h"
> 
>    void main ()
>    {
>      geo g;
>      cin >> g;
>      cout << plotmtv << g;
>    }
> 
> <http://ljk.imag.fr/membres/Pierre.Saramito/rheolef/rheolef.html#IDX185>
> 
> Using this command:
> 
>    g++ -O2 -march=native -o r0 -I/usr/include/rheolef r0.cc
> 
> I get the following error output:
> 
>    In file included from /usr/include/rheolef/tiny_matvec.h:30:0,
> 		    from /usr/include/rheolef/georep.h:29,
> 		    from /usr/include/rheolef/geo.h:147,
> 		    from /usr/include/rheolef/rheolef.h:26,
> 		    from r0.cc:1:
>    /usr/include/rheolef/compiler.h:31:62: fatal error: rheolef/config.h: No such file or directory
> 
> ... and indeed, there is no such file (/usr/include/rheolef/config.h).
> 
> [It looks like it may be impossible to compile _any_ programs using
> rheolef, given this situation.]
> 
> Thanks,
> 
> -Miles
-------------- next part --------------
include $(shell rheolef-config --libdir)/rheolef/rheolef.mk
CXXFLAGS  = $(INCLUDES_RHEOLEF)
LDLIBS    = $(LIBS_RHEOLEF)
default: dirichlet



More information about the debian-science-maintainers mailing list