Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail to build c3d with the master branch #17

Open
hubutui opened this issue Mar 7, 2022 · 1 comment
Open

fail to build c3d with the master branch #17

hubutui opened this issue Mar 7, 2022 · 1 comment

Comments

@hubutui
Copy link

hubutui commented Mar 7, 2022

step to build:

git clone https://github.com/pyushkevich/c3d.git
cd c3d
cmake -B build -DBUILD_GUI=ON -DBUILD_TESTING=OFF -DCMAKE_CXX_FLAGS="-I/usr/include/eigen3" .
cd build
make

the commit I used is f7e9d5c
gcc: 11.2.0
itk: 5.2.1
eigen: 3.4.0
check the complete build log here

@carandraug
Copy link

There are two errors here:

  1. redeclaration of it in ``itk::LabelImageGaussianInterpolateImageFunction.EvaluateAtContinuousIndex()(ignore it by building with-DCMAKE_CXX_FLAGS="-Wshadow")
  2. some more cryptic issues about pure virtual functions which boils down to ITK5 not currently being supported (you need to build against ITK4)

I've made pull request #33 which fixes both of those issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants