That worked, but next one appeared: src/numerics/petsc_matrix.C:388: error: there are no arguments to 'mkstemp' that depend on a template parameter, so a declaration of 'mkstemp' must be available
src/numerics/petsc_matrix.C:388: error: (if you use '-fpermissive', G++ will acc ept your code, but allowing the use of an undeclared name is deprecated) src/numerics/petsc_matrix.C: In member function 'void libMesh::PetscMatrix<T>::p rint_personal(std::ostream&) const [with T = double]': src/numerics/petsc_matrix.C:599: instantiated from here src/numerics/petsc_matrix.C:388: error: 'mkstemp' was not declared in this scope make: *** [src/numerics/petsc_matrix.i686-pc-cygwin.opt.o] Error 1 -----Ursprüngliche Nachricht----- Von: "John Peterson" <[email protected]> Gesendet: 30.03.2011 17:19:25 An: [email protected] Betreff: Re: [Libmesh-devel] libmesh, configure make error, cygwin >On Wed, Mar 30, 2011 at 9:09 AM, <[email protected]> wrote: >> Ok. Configure worked. Make on the new svn version ran about two minutes till >> I got the following error: >> >> src/mesh/mesh_smoother_vsmoother.C: In member function 'double >> libMesh::Variatio >> nalMeshSmoother::smooth(unsigned int)': >> src/mesh/mesh_smoother_vsmoother.C:117: error: 'clock' was not declared in >> this >> scope >> src/mesh/mesh_smoother_vsmoother.C:121: error: 'CLOCKS_PER_SEC' was not >> declared > >Try #include <time.h> at the top of that C file. > >-- >John > >------------------------------------------------------------------------------ >Create and publish websites with WebMatrix >Use the most popular FREE web apps or write code yourself; >WebMatrix provides all the features you need to develop and >publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >_______________________________________________ >Libmesh-devel mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/libmesh-devel ___________________________________________________________ Empfehlen Sie WEB.DE DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 100,- Euro! https://freundschaftswerbung.web.de ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
