Sign in to follow this  
mike74

compiling large files

Recommended Posts

I was trying to compile some OpenGL stuff with the Microsoft command line compiler, and I got the following error: legotest.h(65536) : warning C4049: compiler limit : terminating line number emission Compiler limit for line number is 65535 I had a file with more than 65535 lines involved. Anyone know what the implications of this are? It didn't seem like a fatal error as the compiler kept working, but it started using up all my RAM and going berserk, so I had to abort. Mike C. http://www.coolgroups.com/zoomer/

Share this post


Link to post
Share on other sites
OpenGL drawing code generated by my program at http://www.coolgroups.com/3ds2gl/

Mike C.
http://www.coolgroups.com/zoomer/

Share this post


Link to post
Share on other sites
I think its much simpler to make a file loader that loads the .3ds file as an object such as 3DSLoader. What benefits are there to writing the code out manually? Seems like this would only make things more complicated now your compiled file is now as big as the media files.

Share this post


Link to post
Share on other sites
Quote:
Original post by mike74
Where can I find 3DSLoader?

Mike C.
http://www.coolgroups.com/zoomer/


You obviously know the 3ds file format to make a 3ds 2 OpenGL code program. What I ment was you could make your own class object to load data at runtime. Since you asked though there is one I know of click here scroll down and you'll see a 3ds file loader.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this