DevelopmentalImagingMCRI / MCRIBS

Surface version of the M-CRIB atlases.
12 stars 6 forks source link

Hello, When I try to run build.sh script, I will get this error: #5

Open chrisadamsonmcri opened 3 years ago

chrisadamsonmcri commented 3 years ago

Hello, When I try to run build.sh script, I will get this error:

======================================================== Cloning into 'ITK'... remote: Enumerating objects: 487673, done. remote: Counting objects: 100% (446/446), done. remote: Compressing objects: 100% (230/230), done. remote: Total 487673 (delta 243), reused 371 (delta 212), pack-reused 487227 Receiving objects: 100% (487673/487673), 163.27 MiB | 28.97 MiB/s, done. Resolving deltas: 100% (386120/386120), done. Note: checking out 'tags/v5.1.0'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at d3286c9... ENH: Update testing data content links for 5.1.0 /usr/local/MCRIBS/ITK/ITK-build ./build.sh: line 60: cmake3: command not found make: No targets specified and no makefile found. Stop. make: No rule to make target `install'. Stop. Cloning into 'VTK'... remote: Enumerating objects: 606536, done. remote: Counting objects: 100% (204/204), done. remote: Compressing objects: 100% (149/149), done. remote: Total 606536 (delta 77), reused 118 (delta 51), pack-reused 606332 Receiving objects: 100% (606536/606536), 230.92 MiB | 36.59 MiB/s, done. Resolving deltas: 100% (464770/464770), done. Checking out files: 100% (18423/18423), done. Note: checking out 'tags/v8.1.2'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at c3b3b59... Merge topic 'release-8.1.2' into release patching file VTK/VTK/Filters/General/vtkIntersectionPolyDataFilter.cxx 3.6.8 3 6 ./build.sh: line 105: cmake3: command not found make: No targets specified and no makefile found. Stop. make: No rule to make target install'. Stop. which: no ccache in (/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin) ./build.sh: line 124: cmake3: command not found make: *** No targets specified and no makefile found. Stop. make: *** No rule to make targetinstall'. Stop.

Do you have any suggestions? Thanks!

Originally posted by @Alirezamnk in https://github.com/DevelopmentalImagingMCRI/MCRIBS/issues/1#issuecomment-823313941

chrisadamsonmcri commented 3 years ago

I use cmake3 when I detect a centos installation. If your plain cmake is version 3 then you can change the build.sh script to use just cmake. Try that.