My C++ project builds and runs fine on Linux. Now I am trying to compile it in VS2010. I get many errors seemingly from cmath library like the following one.
Error 1 error C2061: syntax error : identifier 'acosf' c:\program files\microsoft visual studio 10.0\vc\include\cmath 19 1 MyPROJ
Also I get many file operations related compilation errors like:
Error 1 error C3861: 'lseek': identifier not found g:\project\file.cc 274 1 MyPROJ
Error 2 error C3861: 'write': identifier not found g:\project\file.cc 275 1 MyPROJ
How to eliminate these errors.