Open mscipio opened 2 years ago
Which version of Gadgetron are you using? The default one set by SIRF-SuperBuild/version_config.cmake
?
I've had a look there and see the following occurences of Eigen in the CMake files:
gadgets/mri_core/CMakeLists.txt: GenericReconEigenChannelGadget.h
gadgets/mri_core/CMakeLists.txt: GenericReconEigenChannelGadget.cpp
toolboxes/denoise/CMakeLists.txt: ${EIGEN_INCLUDE_DIR}
toolboxes/solvers/CMakeLists.txt: eigenTester.h
toolboxes/solvers/cpu/CMakeLists.txt: ../eigenTester.h
test/performance/CMakeLists.txt:find_package(Eigen3)
test/performance/CMakeLists.txt:include_directories(${EIGEN_INCLUDE_DIR})
It doesn't make too much sense to me that find_package(Eigen3)
occurs only in the test/performance
but is used in toolboxes/denoise
, but aside from that, I guess we'll need find_package(Eigen3)
in our own CMakeLists.txt, if the Gadgetron toolboxes are used.
Possibly this is an optional dependency and none of our test systems has it, but you do.
can you try this, and generate a PR?
Which version of Gadgetron are you using? The default one set by SIRF-SuperBuild/version_config.cmake?
This might be the issue, here, as I think I pulled the latest version of Gadgetron available on master
Before I try to recompile Gadgetron to the commit used in the SuperBuild (which I probably will have to do anyway at some point) do you have any suggestion about which (SIRF) CMakeLists.txt file should include
find_package(Eigen3)
include_directories(${EIGEN_INCLUDE_DIR})
I think you'll only need the find_package
statement and put it here
I'm not sure if Gadgetron master will work. @evgueni-ovtchinnikov might be able to tell you (but not now). We know it needs a lot of adaptations to the SuperBuild for the dependencies, https://github.com/SyneRBI/SIRF-SuperBuild/pull/438, but SIRF is probably alright.
Let us know
Hi, I managed to build locally (I believe) all the dependencies for SIRF, but when I try to generate the build with cmake I get the following warning:
I call it a warning as the generation of the build supposedly succeeds, but then when I try to run
make install
The process stops at some point and I believe it's because of this error in linking libraries.I have tried to install Eigen3 with
conda
, and I have also compiled it manually (v3.4)Do you have any suggestions about how to work around this issue?
I will attach the complete log or "missed links" I get from ccmake when I try to generate the build.