Skip to content

Commit

Permalink
finish
Browse files Browse the repository at this point in the history
  • Loading branch information
lqhl committed May 11, 2012
1 parent 3bde172 commit d6f4d83
Show file tree
Hide file tree
Showing 4 changed files with 1,826 additions and 1,036 deletions.
3 changes: 2 additions & 1 deletion src/Makefile
Expand Up @@ -3,4 +3,5 @@ all: cpfutils.so
cpfutils.c: cpfutils.pyx
cython cpfutils.pyx
cpfutils.so: cpfutils.c
gcc -shared -pthread -fPIC -fwrapv -O2 -Wall -fno-strict-aliasing -I/usr/include/python2.7 -o cpfutils.so cpfutils.c
#gcc -shared -pthread -fPIC -fwrapv -O2 -Wall -fno-strict-aliasing -I/usr/include/python2.7 -o cpfutils.so cpfutils.c
gcc -shared -pthread -fPIC -fwrapv -O2 -Wall -fno-strict-aliasing -I/usr/include/python2.7 -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -o cpfutils.so cpfutils.c
2 changes: 1 addition & 1 deletion src/build_index.py
Expand Up @@ -4,7 +4,7 @@

data_dir = '../data/'

mData = MetaData('image_db')
mData = MetaData()
for each in os.walk(data_dir):
dirname, dirs, files = each
if not files:
Expand Down

0 comments on commit d6f4d83

Please sign in to comment.