I have a cpp file that contains a huge array.
I get a fatal error (exceeded object file format limit) and the suggestion to compile with the flag /bigobj
Where do I set this flag in visual studio?
According to MSDN and /bigobj (Increase Number of Sections in .Obj file):
To set this compiler option in the Visual Studio development environment
- Open the project's Property Pages dialog box. For details, see How to: Open Project Property Pages.
- Click the C/C++ folder.
- Click the Command Line property page.
- Type the compiler option in the Additional Options box.
On the Command Line property page as described here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With