-
Notifications
You must be signed in to change notification settings - Fork 29
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
building SIRF picks-up old installed files #659
Comments
For your last point, we've already made the change such that we don't use
|
The problem is that the SB installs everything into the same location. We could modify the SB installation method for better compartmentalisation? The
|
Lastly, could this be the problematic bit of code? Put in by me 17 months ago apparently. Not sure why it uses the install interface as we don't currently install our headers. SIRF/src/xSTIR/cSTIR/CMakeLists.txt Lines 39 to 42 in dcf7a4d
|
yep, but we still have the target_include_directories in L47 above. Not needed? (if we can remove it, it'd have to be moved inside the |
we could do, and probably should be versioning as well, although I feel that that kind of thing should be handled by the packages. In any case I think this is a SIRF problem. SIRF itself has no control where things are going to be installed. |
No, I don't think so. The Another reason why I don't think this is the case is that I was originally building SIRF with |
SIRF/src/common/CMakeLists.txt Lines 42 to 44 in dcf7a4d
I think this is #622, so possibly the current issue will disapper once we fix that. |
Sorry, for your last code snippet, why does this mean that |
Order of include directories is currently problematic. Checking with
make VERBOSE=ON
shows thatcstir
is compiled with an order likevarious-sirf-dirs .../install/include .../hdf5/... sirf-reg-dirs STIR-install-dir/include ...
This means that if there's an old STIR version in
.../install/include
, it gets picked up before the actualSTIR-install-dir/include
that I pointed to.I guess (but am not sure) this is because
cgadgetron
usesISMRMRD_INCLUDE_DIR
,SIRF/src/xGadgetron/cGadgetron/CMakeLists.txt
Line 47 in dcf7a4d
Possible ways to resolve this:
cstir
depend oncgadgetron
?ismrmrd
headers directly in cgadgetron include files, but this seems a lot of workcstir
uses STIR include paths firsttarget_include_directories
but just depend onISMRMRD:ISMRMRD
although that will likely give the same dependencies.The text was updated successfully, but these errors were encountered: