Boost logo

Boost :

From: Wismar, John (john.wismar_at_[hidden])
Date: 2001-10-04 17:17:30

Hey, all-

I wasn't able to find this problem in the archive, so please excuse me if
it's been discussed before.

I'm having trouble compiling the regex library using VC6. I seem to be
having troubles with the precompiled header settings.

When I run nmake, here's what I get:

C:\Dev\3rdParty\boost_1_25_0\libs\regex\build>nmake -fvc6.mak

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        if not exist "vc6\" mkdir vc6
        if not exist "vc6\vc6-re300\" mkdir vc6\vc6-re300
        cl /c /nologo /ML /W3 /GX /O2 /GB /GF /Gy /I..\..\..\ /DWIN32
/DNDEBUG /D_MBCS /D_LIB /YX /FD -Fpvc6/vc6-re300/vc6-re300.pch
-Fo./vc6/vc6-re300/ -Fdvc6/vc6-re300.pdb ../src/c_regex_traits.cpp
        cl /c /nologo /ML /W3 /GX /O2 /GB /GF /Gy /I..\..\..\ /DWIN32
/DNDEBUG /D_MBCS /D_LIB /YX /FD -Fpvc6/vc6-re300/vc6-re300.pch
-Fo./vc6/vc6-re300/ -Fdvc6/vc6-re300.pdb ../src/c_regex_traits_common.cpp
../src/c_regex_traits_common.cpp(35) : fatal error C1086: Cannot seek
precompiled header file: 'vc6/vc6-re300/vc6-re300.pch': Invalid argument
NMAKE : fatal error U1077: 'cl' : return code '0x2'

What seems odd about this is that the first source file compiles, generates
an .obj, etc., and the .pch file is created in the right place, but then
when the second file is compiling, the .pch can't be located....

Does anyone have any insight on this problem? Thanks!

John Wismar

Boost list run by bdawes at, gregod at, cpdaniel at, john at