zoukankan      html  css  js  c++  java
  • compile error about diasableatl


    hi folks:

    i am building OOO320 on windows xp --cygwin. I am having one problem in
    "extensions" module:

    Making: http://www.cnblogs.com/../wntmsci12.pro/slo/so_activex.obj
    c:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t- -GR
    -c -nologo -Gs -Gy -Ob1 -Oxs -Oy- -DENABLE_LAYOUT=0
    -DENABLE_LAYOUT_EXPERIMENTAL=0 -Gd -I.
    -Ihttp://www.cnblogs.com/../wntmsci12.pro/inc/so_activex
    -Ic:/PROGRA~1/MICROS~1.0/VC/atlmfc/include
    -Ihttp://www.cnblogs.com/../wntmsci12.pro/misc -I../inc -Ihttp://www.cnblogs.com/../inc/pch
    -Ihttp://www.cnblogs.com/../inc -Ihttp://www.cnblogs.com/../WIN/inc -Ihttp://www.cnblogs.com/../wntmsci12.pro/inc -I.
    -Ie:/ooo320/solver/320/wntmsci12.pro/inc/stl
    -Ie:/ooo320/solver/320/wntmsci12.pro/inc/external
    -Ie:/ooo320/solver/320/wntmsci12.pro/inc
    -Ie:/ooo320/solenv/wntmsci12/inc -Ie:/ooo320/solenv/inc
    -Ie:/ooo320/res -Ie:/ooo320/solver/320/wntmsci12.pro/inc/stl
    -Id:/OOEnv/JDK15~1.0_1/include/win32 -Id:/OOEnv/JDK15~1.0_1/include
    -Id:/OOEnv/PSDK/include -Ic:/PROGRA~1/MICROS~1.0/VC/include
    -Id:/OOEnv/directx/include -Id:/OOEnv/directx/include
    -Ie:/ooo320/solver/320/wntmsci12.pro/inc/offuh -I. -Ihttp://www.cnblogs.com/../res -I.
    -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4250 -wd4251 -wd4275
    -wd4290 -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625
    -wd4626 -wd4640 -wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820
    -wd4503 -wd4619 -wd4365 -wd4668 -wd4738 -wd4826 -wd4350 -wd4505
    -wd4692 -wd4189 -wd4005 -wd4180 -DWNT -DWNT -DNT351 -DMSC
    -DM1500 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE
    -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS
    -DFULL_DESK -DBOOST_MEM_FN_ENABLE_CDECL -DSTLPORT_VERSION=400 -D_MT
    -DWINVER=0x0500 -D_WIN32_IE=0x0500 -DCPPU_ENV=msci -DSUPD=320
    -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI
    -DSOLAR_JAVA -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT
    -D_DLL -DEXCEPTIONS_OFF
    -Fohttp://www.cnblogs.com/../wntmsci12.pro/slo/so_activex.obj
    e:/ooo320/extensions/source/activex/main/so_activex.cpp
    so_activex.cpp
    e:ooo320extensionssourceactivexmainstdafx2.h(29) : fatal error
    C1083: Cannot open include file: 'atlbase.h': No such file or
    directory
    dmake: Error code 2, while making 'http://www.cnblogs.com/../wntmsci12.pro/slo/so_activex.obj'


    many thanks


    micheal
    Hi Micheal,

    I guess you build with the Micosoft VisualStudio Express Edition which
    lacks some advanced features. One of them is the Advanced Template
    Library (atl). The Active X part makes heavy use of ATL but is not
    needed to build OpenOffice.org. Just call configure with
    --disable_activex and you will be able to build further on.
    For more information please read the building guide for Windows.
    http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows

    Regards,
    Carsten

    Are you sure that --disable-activex is enough? There's also --disable-atl.

    Regards,
    Mathias


    Hi Mathias,

    Mathias Bauer schrieb:
    > Regina Henschel wrote:
    >
    >> Hi Frank,
    >>
    >> Frank Schönheit - Sun Microsystems Germany schrieb:
    >>> Hi Regina,
    >>>
    >>>> ERROR: The following files could not be found:
    >>>> ERROR: File not found: emboleobj.dll
    >>>> ERROR: File not found: emsermi.dll
    >>>> ERROR: File not found: oleautobridge.uno.dll
    >>> Sounds like some OLE-related module has not been built (correctly).
    >>> According to trunk, emboleobj is built in module embeddedobj, emsermi in
    >>> embedserv, and oleautobridge in extensions/source/ole.
    >>>
    >>> All three libs have in common that they are/should not packed (if not
    >>> even built) when --disable-atl is given (
    >>> http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/scp2/source/ooo/file_library_ooo.scp#418
    >>> http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/scp2/source/ooo/file_library_ooo.scp#1037
    >>> )
    >>>
    >>> This either means your build of scp2 was not successful, or contained
    >>> remaints of a previous (non-disable-atl) build,
    >> I think, that is it. I forgot DISABLE_ALT. Is it enough to put
    >> DISABLE_ATL="TRUE"
    >> export DISABLE_ATL
    >> at the end of winenv.set.sh?
    >>
    >> At the end of winenv.set.sh there is a line "unset", which contains
    >> DISABLE_ATL. Is it correct in that line or do I have to remove
    >> DISABLE_ATL in that line?
    >
    > You should remove it. You can also run configure again, now with
    > --disable-atl.

    I have started with a new configure. Result comes tomorrow.

    Many thanks to all for your kind assistance.

    Regina
  • 相关阅读:
    python3中Requests将verify设置为False后,取消警告的方式
    unicode编码转换中文_python
    base64编解码_python
    数据结构学习之二叉树
    springboot全能框架学习之旅
    数据结构之树
    经典的猴子分香蕉问题
    求n个数的排列
    三元运算的应用
    将正整数分解成质因数乘积
  • 原文地址:https://www.cnblogs.com/zhyryxz/p/1944320.html
Copyright © 2011-2022 走看看