Permalink
Browse files

siftgpu 64 bit libs

  • Loading branch information...
1 parent 2dc8f3a commit b3be6abb931742581b4147ad9ba5153303b534c8 @albertoruiz committed Mar 26, 2012
View
@@ -53,7 +53,7 @@ installation instructions
export IPP_LIBS="ippcore ippi ipps ippcc ippvc ippcv iomp5"
export IPP_LINK=-pthread
export EASYVISION=/your/path/to/easyVision/
- export LD_LIBRARY_PATH=$IPP_SHARED:$EASYVISION/lib
+ export LD_LIBRARY_PATH=$IPP_SHARED:$EASYVISION/lib/lib32
Make sure that the IPP .h headers are in IPP_INC and the corresponding .so
libs are in IPP_SHARED (modify as required in 64bit machines). Directory
@@ -84,7 +84,7 @@ installation instructions
$ sudo apt-get install libcv-dev libcvaux-dev libhighgui-dev
- SIFTGPU (currently only for i386):
+ SIFTGPU:
$ sudo apt-get install nvidia-current nvidia-cg-toolkit libdevil-dev g++
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
View
Binary file not shown.
View
Binary file not shown.
@@ -2,9 +2,13 @@
import System.Environment(getEnv)
+import Distribution.System(buildArch,Arch(..))
+
+arch = if buildArch == X86_64 then "/lib/lib64" else "/lib/lib32"
+
main = do
- nppath <- getEnv "EASYVISION"
- putStrLn $ "EASYVISION path: " ++ nppath
+ lib <- getEnv "EASYVISION"
+ putStrLn $ "EASYVISION path: " ++ lib
writeFile "imagproc-gpu.buildinfo" $
- "extra-lib-dirs: "++nppath++"/lib\n"
+ "extra-lib-dirs: " ++ lib ++ arch ++"\n"
@@ -16,7 +16,7 @@ tested-with: GHC ==7.4
cabal-version: >=1.2
build-type: Custom
-extra-source-files: lib/ImagProc/GPU/SIFT/SiftGPU.h
+extra-source-files: src/ImagProc/GPU/SIFT/SiftGPU.h
extra-tmp-files: imagproc-gpu.buildinfo
@@ -25,19 +25,22 @@ library
hmatrix >= 0.8.3, imagproc >= 0.1,
ev-gui, GLUT, camera
- hs-source-dirs: lib
+ hs-source-dirs: src
Exposed-modules: ImagProc.GPU.SIFT
other-modules:
- c-sources: lib/ImagProc/GPU/SIFT/SiftGPU.cpp
+ c-sources: src/ImagProc/GPU/SIFT/SiftGPU.cpp
cc-options: -O4
ghc-prof-options: -auto-all
ghc-options: -Wall -fno-warn-missing-signatures
- extra-libraries: siftgpu cudart Cg CgGL GLEW IL glut
+ if arch(x86_64)
+ extra-libraries: siftgpu64 cudart64 Cg CgGL GLEW IL glut
+ else
+ extra-libraries: siftgpu cudart Cg CgGL GLEW IL glut
View
File renamed without changes.
File renamed without changes.

0 comments on commit b3be6ab

Please sign in to comment.