-
Notifications
You must be signed in to change notification settings - Fork 74
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
No ITK #108
Comments
Why doesn't ITK download, what error do you get? |
I dont get an error, I get :
== Generating build files (DONE) ==
…-- Compiling Matlab function vmu2png.m...
-- ... compilation result: 0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/petic/PreClin/gerardus/build
On 8 November 2017 at 11:00, Ramón Casero ***@***.***> wrote:
Why doesn't ITK download, what error do you get?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#108 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Afnjt-gkxwZ1PCnmZR95L2mqCHECfL8hks5s0YnfgaJpZM4QWMmm>
.
|
So did you run the first
as it says here https://github.com/vigente/gerardus/wiki/Build-instructions#instructions-for-linux-and-mac-users |
yes correct I don't get that message
…On 8 November 2017 at 11:04, Ramón Casero ***@***.***> wrote:
So did you run the first cmake ..? After which you should have got a
message saying
-- ******************************************************************************
-- ITK built successfully. Now you need to install it manually. For that, run
-- pushd "/home/myname/Software/gerardus/cpp/src/third-party/InsightToolkit-4.3.1/bin"
-- sudo make install; popd
-- If ITK installed successfully, you can then run
-- cmake ..
-- again to finish configuring Gerardus.
-- ******************************************************************************
as it says here
https://github.com/vigente/gerardus/wiki/Build-
instructions#instructions-for-linux-and-mac-users
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#108 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Afnjtwsg7ITc_LjBNfN7QXMsPrubvNJzks5s0Yq7gaJpZM4QWMmm>
.
|
Did you do something manually, or did you change anything in the |
Or do do have an ITK already installed in your system? |
No I did nothing, im doing a new clone and running cmake .. yes I have /usr/local/itk do I just delete that? |
The current version of gerardus checks whether ITK is already installed in the system, as you can see here Line 408 in 64bc24f
If it can find an ITK already installed, then it will not try to download and build another one. The reason for this is that downloading and building ITK is slow, so you only want to do it once. To run gerardus programs/functions, you want to let it download and build ITK, so that it's built with a g++ version that is compatible with Matlab. Unfortunately, this means that the gerardus ITK cannot coexist with another ITK in your system. So yes, basically if you want to build gerardus, you need to delete the other ITK. |
Ok, its strange though how it was downloading previously; i've removed /usr/local/itk but still don't get the download. The only other place I have is whereis itk /usr/src/WrapITK/itk.swg Do I need to remove this also? |
Even if you remove ITK physically, your cmake cache may still say that it was found. Try |
so is there nothing I can do? Can gerardus only be used by people who have never installled ITK before? |
Ok I deleted /usr/local/cmake/itk4.3 and it seems to be working |
I run cmake ..
then when trying to isntall ITK, don't get the:
/home/myname/Software/gerardus/cpp/src/third-party/InsightToolkit-4.3.1/bin directory
ITK also doesn't download
The text was updated successfully, but these errors were encountered: