← Back to team overview

yade-users team mailing list archive

Re: [Question #693698]: Trouble when compiling with g++-9 or g++-7

 

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

Janek Kozicki posted a new comment:
Hi,

it's not a problem with yade. It is built everyday with following
compiler versions:

suse15          gcc 7.5.0
stretch         gcc 6.3.0
clang           clang 9.0.1
buster          gcc 8.3.0
bullseye        gcc 10.2.0
bullseye 32bit  gcc 9.2.1
20_04           gcc 9.3.0 
18_04           gcc 7.5.0
16_04           gcc 5.4.0

see e.g. [1]. The problem is with your local setup. Part of which is
what Bruno said. But also you have to make sure to install all necessary
packages in versions requested by your g++ compiler. For start you could
check what is recommended by the packages you have already installed.
Then find what other packages you might need. These will not be packages
required by yade to build (such as Eigen or boost: they are OK), these
will be packages which form the build toolchain for your g++. I suppose
that you might find out what are those packages by trying to compile
yade with clang and seeing what it recommends. But remember to always
build in a fresh build tree dir.

[1] https://gitlab.com/yade-dev/trunk/-/pipelines/208516884

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.