Skip to content

Commit

Permalink
Workaround for OS X 10.6 & fixed errors about M_PI
Browse files Browse the repository at this point in the history
  • Loading branch information
Ville Tirronen committed May 18, 2011
1 parent 8c58c0e commit 25e4b69
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
16 changes: 12 additions & 4 deletions CV.cabal
@@ -1,17 +1,25 @@
Name: CV
Version: 0.3.0.1
Version: 0.3.0.2
Description: OpenCV Bindings
License: GPL
License-file: LICENSE
Category: AI, Graphics, Machine Vision
Synopsis: OpenCV based machine vision library
Description: This is a machine vision package that wraps some functionality
of OpenCV library. This package has been developed for personal use and
is not meant to be a complete wrapper, though it will most likely grow to
cover most of functionaly exposed by OpenCV C interface.

is not meant to be a complete wrapper. It also includes some things not
in OpenCV.
.
Currently this package is quite dirty and requires much work on documentation
and code clean-up, but is somewhat tested.
.
(The scarce) Documentation is available at
<http://users.jyu.fi/~aleator/CV-0.3.0.2/html/index.html>
.
Changelog.
0.3.0.2 - Workaround for compiling with OS X 10.6 & fixed errors about M_PI
.

Author: Ville Tirronen
Maintainer: ville.tirronen@jyu.fi
Build-Type: Simple
Expand Down
4 changes: 4 additions & 0 deletions CV/cvWrapLEO.h
Expand Up @@ -4,6 +4,10 @@
#ifndef __CVWRAP__
#define __CVWRAP__

#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif

#include <opencv/cv.h>
#include <opencv/cxcore.h>
#include <opencv/highgui.h>
Expand Down

0 comments on commit 25e4b69

Please sign in to comment.