abadams / imagestack Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
When zooming in with the mouse wheel, the zoom does focus/center correctly around the mouse pointer. However, zooming out jumps to an unpredictable location that appears unrelated to the mouse pointer position.
Hi guys!
I am compiling the ImageStack project with Windows7 x64 platform and I chose Cygwin tool to build the project.
I noticed that there is a SDL library called "SDL-x86-static-mt.lib" in ImageStack-master_path/msvc/lib, so I copied it into /usr/local/lib folder as the Makefile.cygwin indicated. After renaming this lib file as SDL.lib and entering a soft-link command as "ln -sf /usr/local/lib/SDL.lib /usr/local/lib/libSDL.so", I compiled ImageStack in Cygwin window by the command "make -f makefiles/Makefile.cygwin".
The results told me that -ljpeg, -ltiff, -lpng, and -lfftw3f were not found, so I directly commented them out and continued to compile. To my surprise, numerous errors were appeared, most of which concerned about undefined deference on modules in SDL.lib.
I wonder if I included an incorrect SDL library. If it is true, how should I include the right one? Besides, how could I install SDL and JPEG libraries in my platform?
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!
Code :
struct LT : public ImageStack::Scalar::Lt {
It is "LT" rather than "Lt".
Thanks for fix.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.