I'm trying to set up my Windows 7 + cygwin + VSPro2008 system to build the aoo trunk, with the hope of making some modest contributions to the project.

The "build -all" stage gets some ways into the task then gives the following error message (quoted with some preceding lines for context):

------------------------------------------------------------------------
Entering /cygdrive/h/aoo-trunk/main/sal/systools/win32/onlineupdate

Making:    all_onlinecheck.dpslo
Compiling: sal/wntmsci12.pro/misc/onlinecheck_version.c
Compiling: sal/systools/win32/onlineupdate/onlinecheck.cxx
Making:    module definition file onlinecheck.def
Making:    onlinecheck.dll
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

/MAP /OPT:NOREF -safeseh -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../../../wntmsci12.pro/bin/onlinecheck.dll -map:../../../wntmsci12.pro/misc/onlinecheck.map -def:../../../wntmsci12.pro/misc/onlinecheck.def -implib:../../../wntmsci12.pro/lib/onlinecheck.lib ../../../wntmsci12.pro/slo/onlinecheck_version.obj ../../../wntmsci12.pro/slo/onlinecheck.obj kernel32.lib msvcrt.lib msvcprt.lib wininet.lib msvcrt.lib msvcprt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib ../../../wntmsci12.pro/misc/onlinecheck.res Creating library ../../../wntmsci12.pro/lib/onlinecheck.lib and object ../../../wntmsci12.pro/lib/onlinecheck.exp
linking ../../../wntmsci12.pro/bin/onlinecheck.dll.manifest ...
Making:    all_onlinecheck.dpslo

Entering /cygdrive/h/aoo-trunk/main/sal/rtl/source

Making:    all_cpprtl.dpslo
Making:    all_cpprtl.dpobj
--- ALWAYSDBGFILES ---
Compiling: sal/rtl/source/debugprint.cxx
--- ALWAYSDBGFILES OVER ---
Compiling: sal/rtl/source/memory.c
Compiling: sal/rtl/source/cipher.c
Compiling: sal/rtl/source/crc.c
Compiling: sal/rtl/source/digest.c
Compiling: sal/rtl/source/random.c
Compiling: sal/rtl/source/locale.c
Compiling: sal/rtl/source/strimp.c
Compiling: sal/rtl/source/hash.cxx
H:/aoo-trunk/main/solver/410/wntmsci12.pro/inc/stl\hash_set(31) : fatal error C1083: Cannot open include file: '../../VC/include/unordered_set': No such file or directory
dmake:  Error code 2, while making '../../wntmsci12.pro/obj/hash.obj'

1 module(s):
        sal
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /cygdrive/h/aoo-trunk/main/sal/rtl/source

When you have fixed the errors in that module you can resume the build by running:

        build --all:sal
------------------------------------------------------------------------

I confirm that the hash_set file indeed has an include line referencing the folder "../../VC/include/", which does not exist on my system:

------------------------------------------------------------------------
/// (line 25):/
#ifdef HAVE_STL_INCLUDE_PATH
    // TODO: use computed include file name
    #include_next <unordered_set>
#elif defined(__cplusplus) && (__cplusplus >= 201103L)
    #include <unordered_set>
#elif defined(_MSC_VER)
    #include <../../VC/include/unordered_set>
    #define STLP4_EMUBASE_NS ::std::tr1
#else // fall back to boost/tr1
    #include <boost/tr1/tr1/unordered_set>
    #define STLP4_EMUBASE_NS ::boost
#endif
------------------------------------------------------------------------

Can someone advise how to work around this? Do I need to somehow specify an STL path in the "configure ..." step? Or do I need to give a path to the boost library? Or did I miss a warning somewhere?

My compiler resides at "/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin", and the folder "/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC/include" has its own hash_set file, but no unordered_set file.

Happy to supply any additional information that may help.

Regards.
Greg

Reply via email to