You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by shzh zhao <ao...@gmail.com> on 2012/06/18 14:28:43 UTC
Build break in the "bean" module in windows 7 (x64)
hi All,
I do Aoo build in window 7(x64) platform, an error occurred in the "bean"
module,
Can you give some advice to resolve this issue?
/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 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'
ERROR: error 65280 occurred while making
/cygdrive/d/work/Aoo/code/main/bean/native/win32
--
*
mailto: *aoo.zhaoshzh@gmail.com <https://google.com/profiles>
<https://google.com/profiles>
Re: Build break in the
Posted by joalf <jo...@gmail.com>.
shzh zhao <aoo.zhaoshzh <at> gmail.com> writes:
>
> Thanks a lot!
>
> 2012/6/26 Herbert Duerr <hdu <at> apache.org>
>
> > On 26.06.2012 12:05, shzh zhao wrote:
> >
> >> 2012/6/18 shzh zhao <aoo.zhaoshzh <at> gmail.com>
> >> [...]
> >>
> >> LNK2019: unresolved external symbol __imp__JAWT_GetAWT <at> 8
referenced in
> >>>
> >>
> > This could be this problem discussed in this Java forum:
> > https://forums.oracle.com/**forums/thread.jspa?
messageID=**6464486<https://forums.oracle.com/forums/thread.jspa?
messageID=6464486>
> >
> > The source code in
> > main/bean/native/win32/com_**sun_star_comp_beans_**LocalOfficeWindow.c
> > only uses GetAWT. Maybe it has to be rewritten as suggested in fifth
> > message of the forum discussion mentioned above.
> >
> > Before rewriting I'd first try a clean build though.
> >
> > Herbert
> >
>
Im having the same error trying to build bean. Could you precise the changes
you made to
JNIEXPORT jlong JNICALL
Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow
?
Thanks
/Jonas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: Build break in the "bean" module in windows 7 (x64)
Posted by shzh zhao <ao...@gmail.com>.
Thanks a lot!
2012/6/26 Herbert Duerr <hd...@apache.org>
> On 26.06.2012 12:05, shzh zhao wrote:
>
>> 2012/6/18 shzh zhao <ao...@gmail.com>
>> [...]
>>
>> LNK2019: unresolved external symbol __imp__JAWT_GetAWT@8 referenced in
>>>
>>
> This could be this problem discussed in this Java forum:
> https://forums.oracle.com/**forums/thread.jspa?messageID=**6464486<https://forums.oracle.com/forums/thread.jspa?messageID=6464486>
>
> The source code in
> main/bean/native/win32/com_**sun_star_comp_beans_**LocalOfficeWindow.c
> only uses GetAWT. Maybe it has to be rewritten as suggested in fifth
> message of the forum discussion mentioned above.
>
> Before rewriting I'd first try a clean build though.
>
> Herbert
>
--
*
mailto: *aoo.zhaoshzh@gmail.com <https://google.com/profiles>
<https://google.com/profiles>
Re: Build break in the "bean" module in windows 7 (x64)
Posted by Herbert Duerr <hd...@apache.org>.
On 26.06.2012 12:05, shzh zhao wrote:
> 2012/6/18 shzh zhao <ao...@gmail.com>
>[...]
>> LNK2019: unresolved external symbol __imp__JAWT_GetAWT@8 referenced in
This could be this problem discussed in this Java forum:
https://forums.oracle.com/forums/thread.jspa?messageID=6464486
The source code in
main/bean/native/win32/com_sun_star_comp_beans_LocalOfficeWindow.c
only uses GetAWT. Maybe it has to be rewritten as suggested in fifth
message of the forum discussion mentioned above.
Before rewriting I'd first try a clean build though.
Herbert
Re: Build break in the "bean" module in windows 7 (x64)
Posted by shzh zhao <ao...@gmail.com>.
Nobody ran into such trouble?
2012/6/18 shzh zhao <ao...@gmail.com>
>
> hi All,
>
> I do Aoo build in window 7(x64) platform, an error occurred in the "bean"
> module,
> Can you give some advice to resolve this issue?
>
> /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 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'
> ERROR: error 65280 occurred while making
> /cygdrive/d/work/Aoo/code/main/bean/native/win32
>
> --
> *
>
>
> mailto: *aoo.zhaoshzh@gmail.com <https://google.com/profiles>
> <https://google.com/profiles>
>
--
*
mailto: *aoo.zhaoshzh@gmail.com <https://google.com/profiles>
<https://google.com/profiles>