abadams / ImageStack

Other
87 stars 34 forks source link

why it shows ImageStack: command not found #6

Open claudehang opened 8 years ago

claudehang commented 8 years ago

After make -f makefiles/Makefile.linux, I enter the command ImageStack -help, but it shows ImageStack: command not found. The exactly same problem arises when I try to run the example code you provide. Here is information I get after making:

g++ -std=gnu++0x -O3 -Winvalid-pch -Wshadow -Wall -Werror -Wno-uninitialized -pipe -march=native -ffast-math -fopenmp -rdynamic -I /usr/include/SDL -DNO_OPENEXR bin/build/Calculus.o bin/build/Color.o bin/build/Complex.o bin/build/Control.o bin/build/Convolve.o bin/build/Deconvolution.o bin/build/DFT.o bin/build/Display.o bin/build/DisplayWindow.o bin/build/Exception.o bin/build/File.o bin/build/FileEXR.o bin/build/FileCSV.o bin/build/FileHDR.o bin/build/FileJPG.o bin/build/FilePNG.o bin/build/FileTMP.o bin/build/FilePPM.o bin/build/FilePBA.o bin/build/FileTGA.o bin/build/FileTIFF.o bin/build/FileFLO.o bin/build/FileWAV.o bin/build/Filter.o bin/build/GaussTransform.o bin/build/Geometry.o bin/build/HDR.o bin/build/KernelEstimation.o bin/build/LAHBPCG.o bin/build/LightField.o bin/build/LocalLaplacian.o bin/build/Arithmetic.o bin/build/Alignment.o bin/build/NetworkOps.o bin/build/Network.o bin/build/Operation.o bin/build/Paint.o bin/build/PatchMatch.o bin/build/Parser.o bin/build/Plugin.o bin/build/Prediction.o bin/build/Stack.o bin/build/Statistics.o bin/build/Wavelet.o bin/build/WLS.o bin/build/main.o sdl-config --libs -ljpeg -ltiff -lpng -lfftw3f -ldl -o bin/ImageStack

Could you please tell me what's going wrong? Many Thanks!

abadams commented 8 years ago

It's probably a path issue. The makefile puts the binary in bin/ImageStack. You'll need to either run "make install" or copy that file into /usr/local/bin or similar, or just run in directly from where it is: ./bin/ImageStack -help

On Mon, Jul 11, 2016 at 12:23 AM, claudehang notifications@github.com wrote:

After make -f makefiles/Makefile.linux, I enter the command ImageStack -help, but it shows ImageStack: command not found. The exactly same problem arises when I try to run the example code you provide. Here is information I get after making:

g++ -std=gnu++0x -O3 -Winvalid-pch -Wshadow -Wall -Werror -Wno-uninitialized -pipe -march=native -ffast-math -fopenmp -rdynamic -I /usr/include/SDL -DNO_OPENEXR bin/build/Calculus.o bin/build/Color.o bin/build/Complex.o bin/build/Control.o bin/build/Convolve.o bin/build/Deconvolution.o bin/build/DFT.o bin/build/Display.o bin/build/DisplayWindow.o bin/build/Exception.o bin/build/File.o bin/build/FileEXR.o bin/build/FileCSV.o bin/build/FileHDR.o bin/build/FileJPG.o bin/build/FilePNG.o bin/build/FileTMP.o bin/build/FilePPM.o bin/build/FilePBA.o bin/build/FileTGA.o bin/build/FileTIFF.o bin/build/FileFLO.o bin/build/FileWAV.o bin/build/Filter.o bin/build/GaussTransform.o bin/build/Geometry.o bin/build/HDR.o bin/build/KernelEstimation.o bin/build/LAHBPCG.o bin/build/LightField.o bin/build/LocalLaplacian.o bin/build/Arithmetic.o bin/build/Alignment.o bin/build/NetworkOps.o bin/build/Network.o bin/build/Operation.o bin/build/Paint.o bin/build/PatchMatch.o bin/build/Parser.o bin/build/Plugin.o bin/build/Prediction.o bin/build/Stack.o bin/build/Statistics.o bin/build/Wavelet.o bin/build/WLS.o bin/build/main.o sdl-config --libs -ljpeg -ltiff -lpng -lfftw3f -ldl -o bin/ImageStack

Could you please tell me what's going wrong? Many Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/abadams/ImageStack/issues/6, or mute the thread https://github.com/notifications/unsubscribe/AAfdRq4I-2QVm_sRyJJHQrqaFpVvI9M9ks5qUe98gaJpZM4JJGGA .