Re: C1060 while compiling large hard-coded char array with VS2005

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I believe that there is, and that you're orders of magnitude past it. If
you want to include a binary image in a build, there are much better ways to
do it than emitting a 100Mb initialized array as C code. For example, embed
the binary file as a resource.


Thanks for your response. I had started the way of embedding it as a
binary resource. However I need a cross-platform solution that works
across Linux, Mac, Windows etc so I was hoping to generate a custom
solution. Proably not.

Lubdha

.