← Back to team overview

yade-users team mailing list archive

Re: [Question #268697]: installation of YADE with suse distribution

 

Question #268697 on Yade changed:
https://answers.launchpad.net/yade/+question/268697

    Status: Open => Answered

Anton Gladky proposed the following answer:
Try to replace the line in lib/base/Math.hpp:8

-using Real = double
+typedef double Real;

if it will work, your compiler does not support C++11 completely.

Cheers

Anton


2015-06-30 14:36 GMT+02:00 feddyadong <question268697@xxxxxxxxxxxxxxxxxxxxx>:
> New question #268697 on Yade:
> https://answers.launchpad.net/yade/+question/268697
>
> Hello,
> I try to intall YADE in the suse server distribution:
> SUSE Linux Enterprise Server 11 SP1  (x86_64) - Kernel \r (\l)
>
> I downloaded and compiled all the library needed for the YADE installation and I modified some files to
> specify the location of the files .h and .so associate at each library.
>
> After some modifications the cmake command work well and i obtain this message:
>
> -- Yade configured with following features: Odeint VTK OpenMP GTS GUI CGAL PFVFLOW GL2PS LBMFLOW
> -- Disabled features: LINSOLV SPH LIQMIGRATION MASK_ARBITRARY PROFILING
> -- Optimized build
> -- ===========================================================
> -- Configuring done
> -- Build files have been written to: /home2/caparmor/fadong/YADE/myYADE/build
>
> but the make command send this error message:
>
> -- Generating doneservice7>66% make
> [  1%] Generating qt4/moc_OpenGLManager.cxx
> [  2%] Generating qt4/moc_GLViewer.cxx
> Scanning dependencies of target _GLViewer
> [  2%] Building CXX object gui/CMakeFiles/_GLViewer.dir/qt4/GLViewer.cpp.o
> In file included from /home2/caparmor/fadong/YADE/myYADE/trunk/core/Omega.hpp:20,
>                  from /home2/caparmor/fadong/YADE/myYADE/trunk/gui/qt4/GLViewer.hpp:6,
>                  from /home2/caparmor/fadong/YADE/myYADE/trunk/gui/qt4/GLViewer.cpp:11:
> /home2/caparmor/fadong/YADE/myYADE/trunk/lib/base/Math.hpp:8: error: expected nested-name-specifier before 'Real'
> /home2/caparmor/fadong/YADE/myYADE/trunk/lib/base/Math.hpp:8: error: 'Real' has not been declared
> /home2/caparmor/fadong/YADE/myYADE/trunk/lib/base/Math.hpp:8: error: expected `;' before '=' token
> /home2/caparmor/fadong/YADE/myYADE/trunk/lib/base/Math.hpp:8: error: expected unqualified-id before '=' token
> ^Cmake[2]: *** [gui/CMakeFiles/_GLViewer.dir/qt4/GLViewer.cpp.o] Interrupt
>
> I tried to change the version of gcc (4.9.2, 4.8.2, 4.2.2) but without succes.
>
>
>
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.