eric wrote:
hello all
On 8/1/06, Jürgen Schmidt <[EMAIL PROTECTED]> wrote:
>
>> In your case it probably means that you use a wrong compiler version.
>
> i compiled the DLL using MS visual studio 2003 (VC7). i have
> environment variable OO_SDK_CPP_HOME set to the location of the
> compiler. is that correct? is there something else i should check?
you can simply call "cl" without any parameters and check the version
number. You should be find something like 'cl, version 13.10.3070' in
the output. See the <sdk>/docs/install.html for more information about
the requirements.
here's the output from cl:
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin>cl
Microsoft (R) 32-Bit C/C++-Standardcompiler Version 13.10.3077 für 80x86
Copyright (C) Microsoft Corporation 1984-2002. Alle Rechte vorbehalten.
but the problem i'm having is that regcomp.exe is failing to load the
URE, to me it seems unlikely that this problem would be caused by the
choice of compiler used to build the DLL that i'm trying to register.
does that sound reasonable? i think it's more likely that the problem
relates to my environment - e.g. the URE installation?
On 8/1/06, Jürgen Schmidt <[EMAIL PROTECTED]> wrote:
Oliver Brinzing wrote:
>
> maybe it is an environment path problem ?
>
probably not, in this case the error would be that a library xy can't be
loaded.
Juergen
oliver - thx for the suggestion. juergen - fair point, as you say i
have observed that an incorrect PATH triggers a different error - but
perhaps there's a problem with some other environment variable?
try to build and run the cpp remote client example
Juergen
i remember, i had to change my ant scripts for use with oo 2.0 like
<property name="ooPath"
location="d:\program\OpenOffice.org2.0" />
<property name="ooSDKPath"
location="d:\program\OpenOffice.org2.0_SDK" />
<property name="idlPath"
value="${basedir}\idl\org\test\example" />
<property name="zipFile" value="example.uno" />
not sure i understand completely. i'm not using ant. i set up my
environment as follows:
1) i execute script C:\OpenOffice.org_2.0_SDK\setsdkenv_windows.bat
2) that creates script
C:\Documents and Settings\erik\Application
Data\OpenOffice.org_2\setsdkenv_windows.bat
3) at a DOS command prompt i invoke the above script, then cd to the
folder containing my build environment. The first few steps of the
build run correctly - idlc, regmerge, cppumaker. then regcomp fails.
so following from your experience - perhaps my environment variables
aren't set up correctly?
here are some other possibile causes of the problem:
1) incorrect installation of OOo/OOo SDK/JRE?
2) incorrect installation of the URE? the documentation suggests that
i need to install either the URE or OOo, i chose the latter. so for
example i have
set OO_SDK_URE_BIN_DIR=C:\OpenOffice.org_2.0\program
does that look right? is there anything else i can check about my URE
installation?
3) missing jar file? i have:
set CLASSPATH=
C:\OpenOffice.org_2.0\program\classes\juh.jar;
C:\OpenOffice.org_2.0\program\classes\jurt.jar;
C:\OpenOffice.org_2.0\program\classes\ridl.jar;
C:\OpenOffice.org_2.0\program\classes\unoloader.jar;
C:\OpenOffice.org_2.0\program\classes\unoil.jar;
and all of those jar files are present. maybe regcomp/URE depends on
some other standard/core jarfile which is missing from my system?
thanks for your continued help, any further ideas are welcome.
kind regards,
eric
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]