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

error message at compilation #6

Closed
gpalandry opened this issue Jun 2, 2016 · 1 comment
Closed

error message at compilation #6

gpalandry opened this issue Jun 2, 2016 · 1 comment

Comments

@gpalandry
Copy link
Collaborator

29%] Building CXX object proton/CMakeFiles/DROPProtonReconstruct.dir/DROPProtonReconstruct.cpp.o
In file included from /project/med/PROSTATE/CBCT_PROJECTIONS_TEST/4D/gt-tomography/gt-tomography_20160604/proton/DROPProtonReconstruct.cpp:16:0:
/project/med/PROSTATE/CBCT_PROJECTIONS_TEST/4D/gt-tomography/gt-tomography_20160604/proton/protonSubsetOperator.h:2:28: fatal error: subsetOperator.h: No such file or directory
#include "subsetOperator.h"
^
compilation terminated.
make[2]: *** [proton/CMakeFiles/DROPProtonReconstruct.dir/DROPProtonReconstruct.cpp.o] Error 1
make[1]: *** [proton/CMakeFiles/DROPProtonReconstruct.dir/all] Error 2
make: *** [all] Error 2

@gpalandry
Copy link
Collaborator Author

The following worked for partially compiling:

fresh gadgetron installation (matlab option did not work and was skipped)

modified CMakeLists.txt:
#add_subdirectory(registration)
#add_subdirectory(denoise)

cmake -D GADGETRON_HOME=/gadgetron/gadgetron_20160602_install -D CUDA_SDK_ROOT_DIR=/usr/local/cuda-7.5/ -D HDF5_DIR=/usr -D CUDA_LIBRARY=/usr/local/cuda-7.5 -D CUDA_NVCC_FLAGS="-gencode arch=compute_35,code=sm_35;-std=c++11" -D BUILDCT=FALSE -D GDCM_DIR=/software/opt/trusty/x86_64/gdcm/2.6.3 /gt-tomography/gt-tomography_20160602

I also had to comment out

//solver.set_output_mode(osSPSSolver<cuNDArray>::OUTPUT_VERBOSE);

in the code for recons I needed.

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

1 participant