Converting C++ object file from linux .o to Windows .obj

后端 未结 3 1835
陌清茗
陌清茗 2020-12-09 21:07

I\'m sorry if this sounds crazy. Is there anyway I can convert .o file that I get from g++ compiler to *obj that is compatible with Visual Studio.

This is the reason

3条回答
  •  庸人自扰
    2020-12-09 21:15

    No, there is no way, especially as the .o file was not compiled with a cross-compiler on Linux. In any case, this sounds like a very strange approach to solve a single linking error.

提交回复
热议问题