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

How to compile it under Linux ? #42

Open
traycho-zz opened this issue Mar 13, 2017 · 1 comment
Open

How to compile it under Linux ? #42

traycho-zz opened this issue Mar 13, 2017 · 1 comment

Comments

@traycho-zz
Copy link

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

@mcgradycchen
Copy link

HI,

Do you solve this compile error?
I have the same error. could you like to share your experience?

thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants