Skip to content
This repository was archived by the owner on Jan 12, 2019. It is now read-only.
This repository was archived by the owner on Jan 12, 2019. It is now read-only.

How to compile it under Linux ? #42

@traycho-zz

Description

@traycho-zz

OS: Debian 3.2.82-1 x86_64 GNU/Linux

Issue description

I am wondering what is the correct setup to compile this project.

I found this one but still no success
https://github.com/devinus/cardio

c++ -DCYTHON_DMZ -DSCAN_EXPIRY -Idmz -I/usr/include/python2.7/ pkg-config --libs --cflags opencv -shared dmz/dmz_all.cpp -o libdmz.so

dmz/./scan/n_hseg.cpp: In function ‘NHorizontalSegmentation best_n_hseg_constrained(float*, NVerticalSegmentation, NHorizontalSegmentation, SliceF32, SliceU16)’:
dmz/./scan/n_hseg.cpp:50:30: error: ‘UINT16_MAX’ was not declared in this scope
dmz/./scan/n_hseg.cpp: In function ‘NHorizontalSegmentation best_n_hseg(IplImage*, NVerticalSegmentation)’:
dmz/./scan/n_hseg.cpp:114:22: error: ‘UINT16_MAX’ was not declared in this scope

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions