Compilation fails in VS2010 for C++ programs building fine in Linux

后端 未结 3 612
独厮守ぢ
独厮守ぢ 2021-01-29 04:32

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.

Err         


        
3条回答
  •  囚心锁ツ
    2021-01-29 05:19

    You can't port linux programs on windows without changing the sources a bit because they use different headers

提交回复
热议问题