aleator / CV

Haskell wrappers and utilities for OpenCV machine vision library
http://hackage.haskell.org/package/CV
BSD 3-Clause "New" or "Revised" License
51 stars 13 forks source link

incompatible pointer type in cbits/cvFiles.c:1315:13 #26

Closed wizzup closed 11 years ago

wizzup commented 11 years ago

Hi, this is after #25 , How can I solved this?

[wisut@wisut-pc CV]$ git pull
Already up-to-date.
[wisut@wisut-pc CV]$ cabal configure -fOpenCV24
Resolving dependencies...
Configuring CV-0.3.6.2...
[wisut@wisut-pc CV]$ cabal build 
Building CV-0.3.6.2...
Preprocessing library CV-0.3.6.2...
cbits/cvFiles.c: In function ‘read_from_tcr_rectified_old’:

cbits/cvFiles.c:1315:13:
     warning: passing argument 2 of ‘calc_sum’ from incompatible pointer type [enabled by default]

cbits/cvFiles.c:16:7:
     note: expected ‘uint_t *’ but argument is of type ‘float *’
In-place registering CV-0.3.6.2...