Image processing

Hi. What I need to do if my error like this :

12 C:\Users\myza\Documents\MATLAB\trace4all\tt.cpp In file included from C:\Users\myza\Documents\MATLAB\trace4all\tt.cpp
C:\Users\myza\Documents\MATLAB\trace4all\unit2.h In function `int round(double)':
150 C:\Users\myza\Documents\MATLAB\trace4all\unit2.h new declaration `int round(double)'
672 C:\Dev-Cpp\include\math.h ambiguates old declaration `double round(double)'
150 C:\Users\myza\Documents\MATLAB\trace4all\unit2.h `int round(double)' was declared `extern' and later `static'
672 C:\Dev-Cpp\include\math.h previous declaration of `double round(double)'
C:\Users\myza\Documents\MATLAB\trace4all\unit2.h In function `void myprintCirc(char*, double*, int, int)':
360 C:\Users\myza\Documents\MATLAB\trace4all\unit2.h [Warning] passing `double' for converting 1 of `int abs(int)'
------------------------------------------------------------------------------
This is my coding that have error:

#include "unit2.h"
------------------------------------------------------------------------------
This coding is about image processing. Did you ever heard of Trace Transform? This coding is about that. This is one of the coding file. There are a few more coding files to run. But must run this coding first. Can you help me on this?
Can you post the top few lines of tt.cpp, up to the last #include line.
Actually that is the top line of tt.cpp. Can this forum attached file? If can I want to attach the exact file.
You can use http://pastebin.com/ or something
It seems like you have a function 'round' with two definitions. If you somewhere define it, change it's name (or maybe don't define it at all).
Oh really. Thank hamsterman. Actually I've got this codig through internet. It's a example of the image prcessing technique. Can I attach a whole document here? I've already post the coding at the given link. The title is trace transform. You can check there.
Topic archived. No new replies allowed.