You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Greg Bullock <gr...@nwra.com> on 2014/01/22 00:08:11 UTC

Building module bean: jawt.lib apparently not found

Plodding along  trying to set up my Windows 7 + cygwin + VSPro2008 
system to build the aoo trunk, the "build --all" stage gives an error in 
building the module bean (see log snippet below).

It seems the jawt.lib file is not found, leading to an unresolved external.

The call to "configure" included the option

--with-jdk-home="/cygdrive/c/Program Files/Java/jdk1.7.0_51"

Apparently, that's insufficient, yes?  What else do I need to supply?

Regards.
Greg



------------------------------------------------------------------------
=============
Building module bean
=============

Entering /cygdrive/h/openoffice/main/bean/native/win32

Making:    officebean.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.30729.01
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/officebean.dll 
-map:../../wntmsci12.pro/misc/officebean.map 
-def:../../wntmsci12.pro/misc/officebean.def 
-implib:../../wntmsci12.pro/lib/iofficebean_t1.lib 
../../wntmsci12.pro/slo/officebean_version.obj 
../../wntmsci12.pro/slb/officebean.lib jawt.lib isal.lib msvcrt.lib 
msvcprt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib 
../../wntmsci12.pro/misc/officebean.res
    Creating library ../../wntmsci12.pro/lib/iofficebean_t1.lib and 
object ../../wntmsci12.pro/lib/iofficebean_t1.exp
officebean.lib(com_sun_star_comp_beans_LocalOfficeWindow.obj) : error 
LNK2019: unresolved external symbol __imp__JAWT_GetAWT@8 referenced in 
function _Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow@8
../../wntmsci12.pro/bin/officebean.dll : fatal error LNK1120: 1 
unresolved externals
dmake:  Error code 96, while making '../../wntmsci12.pro/bin/officebean.dll'

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

Reason(s):

ERROR: error 65280 occurred while making 
/cygdrive/h/openoffice/main/bean/native/win32

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

         build --all:bean