c++ - 你能使 Visual Studio 12 输出 .o 文件而不是 .obj 吗?

标签 c++ visual-studio-2013 linker assimp

我正在尝试使用 Assimp 加载文件格式为 .obj 的 3d 对象文件。现在这对 VC++ 编译器和链接器来说不是很好,它使用 .obj 格式作为链接器对象。我可以让 Visual Studio 使用文件扩展名 .o 吗?

最佳答案

/Fo 标志

If you do not use this option, the object file uses the base name of the source file and the .obj extension. You can use any name and extension you want, but the recommended convention is to use .obj.

https://msdn.microsoft.com/en-us/library/yb8e9b8y.aspx

关于c++ - 你能使 Visual Studio 12 输出 .o 文件而不是 .obj 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28082572/

相关文章:

c - 许多无效的符号索引和对 main 的 undefined reference

gcc - gcc 链接器选项可以更改已编译二进制文件中的汇编器指令吗?

c++ - 是否可以根据分配对象的类型特征覆盖全局 new 运算符?

c++ - 返回设备 GUID 和 Bios ID、C++、Linux

c++ - 用 1 个循环解释二维数组迭代

c++ - VS 2013 无法根据模板参数专门化具有通用引用和返回类型的函数模板

c++ - String Game,创建一个特定的循环? C++

visual-studio-2013 - 为 VS2013 安装 SystemC

visual-studio-2013 - 如何为 WebJob 项目设置连接字符串?

c++ - Visual Studio 2015 中 Unresolved external symbol 链接器错误