Hi
I am working on acode that runs on visual studio 2005.but Since I am supposed to work on Linux..I am having compatibilty issues.
I keep getting errors (which I know is normal) but I kdont know how make or get ride of these...
Any help or link to give insight would be helpful.
If needed i could post the errors and files that give them..
Ex :errors:sqrtf not delared,ceilf not declared,
Code:
circle.cpp: In member function `void Circle::Rasterize(Image&)':
circle.cpp:7: error: no match for 'operator+' in '((Circle*)this)->Circle::center + V2D(((Circle*)this)->Circle::r, ((Circle*)this)->Circle::r)'
v2d.h:15: note: candidates are: V2D V2D::operator+(V2D&)
circle.cpp:8: error: no match for 'operator+' in '((Circle*)this)->Circle::center + V2D((-((Circle*)this)->Circle::r), (-((Circle*)this)->Circle::r))'
v2d.h:15: note: candidates are: V2D V2D::operator+(V2D&)
segment.cpp: In member function `void Segment::Rasterize(Image&)':
segment.cpp:17: error: `fabsf' was not declared in this scope
segment.cpp:21: error: `ceilf' was not declared in this scope
segment.cpp:24: error: `ceilf' was not declared in this scope
segment.cpp:33: error: no match for 'operator+' in '((Segment*)this)->Segment::eps[0] + (&dxdy)->V2D::operator*(#`float_expr' not supported by dump_expr#<expression error>)'
v2d.h:15: note: candidates are: V2D V2D::operator+(V2D&)
Thanks
for any help
shweta