stlsoft compilation error building pantheios

Anonymous
2011-09-15
2013-04-26

  • Anonymous
    2011-09-15

    I am trying to build pantheios on Windoze XP using VC8 (don't laugh). It cannot find the header stddef.h.

    I unpacked stlsoft 1.9.109 and set STLSOFT. I then went into pantheios-1.0.1-beta212/build/vc8 and typed nmake.

    Here's the error I got:

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
    Copyright (C) Microsoft Corporation.  All rights reserved.

            cl    -nologo -c -W4 -WX  -O1 -MTd -D_DEBUG -Zi -Fd.\util.bailout.mt.deb
    ug.pdb   -DWIN32  -DPANTHEIOS_NO_AUTO_INIT    -I..\..\include -I"E:\build\experi
    ments\logging\stlsoft-1.9.109\include"   -Fo.\util.bailout.mt.debug.obj ..\..\src\util\bailout.c
    bailout.c
    E:\build\experiments\logging\stlsoft-1.9.109\include\stlsoft/stlsoft.h(1160) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.EXE"' : return code '0x2'
    Stop.

    The header is definately in the VC8 installation dir (VC/include), I tracked it down.

    Can anyone help/advise..?

    -Andrew Marlow

     
  • Sergey Nikulov
    Sergey Nikulov
    2011-09-15

    try run from cmd <VSINSTALL_DIR>\VC\bin\vcvarsall.bat
    this will set all required environment for nmake.

    HTH,
    Sergey

     

  • Anonymous
    2011-09-15

    Mavellous. That did the trick. Thanks very much!