dev c++ undefined reference linker error

I have a problem to compile this code:
http://gfx.cs.princeton.edu/gfx/proj/sugcon/software/rtsc-1.6.zip

I used Dev c++ in windows and solve some errors,and i spent a week to solve problems, but some other errors is still exist.
my refactored code of above code is here:

<a href="https://uploadfiles.io/kcasp"></a>

and i get this errors:

<a href="https://ufile.io/9diq3"></a>

i try all ways to sovle linker error "undefined reference", but i cant success.
Topic archived. No new replies allowed.