CanberraUAV / cuav

CanberraUAV OBC code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error installing through pip

fnoop opened this issue · comments

commented
  creating build/temp.linux-x86_64-2.7/cuav/image
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -
fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -Icuav/camera/include -I/usr/include/python2.7 -c cuav/image/scanner.c -o build/temp.linux-x86_64-2.7/cuav/image/scanner.o -std=gnu99 -O3
  In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1777:0,
                   from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
                   from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                   from cuav/image/scanner.c:20:
  /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_AP
I_VERSION" [-Wcpp]
   #warning "Using deprecated NumPy API, disable it by " \
    ^
  cuav/image/scanner.c:22:31: fatal error: include/imageutil.h: No such file or directory
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  Running setup.py bdist_wheel for cuav: finished with status 'error'
  Failed building wheel for cuav

Fixed in 4d4e2be. Just need @tridge to do a new release on Pypi

commented

Confirmed compile fix works, thanks :)

@fnoop should this ticket still be open?

commented

Nope, thanks :)