如何在 Visual Studio 中设置编译标志/bigobj? [英] How to set compile flag /bigobj in visual studio?

查看:13
本文介绍了如何在 Visual Studio 中设置编译标志/bigobj?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含巨大数组的 cpp 文件.

I have a cpp file that contains a huge array.

我收到一个致命错误(超出目标文件格式限制)以及使用标志/bigobj 进行编译的建议

I get a fatal error (exceeded object file format limit) and the suggestion to compile with the flag /bigobj

我在 Visual Studio 的哪里设置这个标志?

Where do I set this flag in visual studio?

推荐答案

在命令行属性页上描述 这里.

On the Command Line property page as described here.

这篇关于如何在 Visual Studio 中设置编译标志/bigobj?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆