I made some changes to the win32 build environment. The build scripts now use msdev to build all the projects (kind of like Jack originally had it.) If building with nmake and makefiles is desired, such as if it is expected that the sdk will be copied to an environment which has a version of MSVC older then version 6 -- simply set the environment variable USENMAKE to any value and the makefiles will be generated and the build performed using nmake instead of msdev. Of course, to generate the makefiles, MSCV v6 is required. -Chris --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Matthijs Laan
2001-Oct-21 05:43 UTC
[vorbis-dev] More changes to the win32 build environment
On Sat 20 Oct 2001 23:43:07, "Chris Wolf" <cwolf@starclass.com> wrote:> I made some changes to the win32 build environment.Working great! Just found a bug in my code: for(i=1;i<argc;i++) { if(strlen(argv[i])>(size_t)(BUF_SIZE-c)) { (void)fprintf(stderr, "Command line too long\n"); exit(1); } strcat(cmdline, argv[i]); strcat(cmdline, " "); c+=strlen(argv[i]); } Should of course be for(i=1;i<argc;i++) { if((strlen(argv[i])+strlen(" "))>(size_t)(BUF_SIZE-c)) { (void)fprintf(stderr, "Command line too long\n"); exit(1); } strcat(cmdline, argv[i]); strcat(cmdline, " "); c+=strlen(argv[i])+strlen(" "); } That's what you get when you're spoiled with automatic strings... Matthijs --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.