try simply
idlc -C -IC:\ani\OpenOffice.org2.0_SDK\idl XTestFunction1.idl

the module part "com/sun/star/uno" is already used in the include statement

Juergen

bharathy b wrote:
Hi i am getting this error from idlc.
  C:\ProtoToolbar\Code\com\sun\star\demo>idlc -C 
-I(C:\ani\OpenOffice.org2.0_SDK\idl\com\sun\star\uno)/idl XTestFunction1.idl
idlc: compile 'XTestFunction1.idl'...
  cpp:C:\DOCUME~1\bharathy\LOCALS~1\Temp\idli_a00476:1 Could not find include file 
<com/sun/star/uno/XInterface.idl>
idlc:preprocessing file C:\ProtoToolbar\Code\com\sun\star\demo\XTestFunction1.idl failed Can anyone tell me why is it giving this error? Could not find include file <com/sun/star/uno/XInterface.idl> I have included the following files in the Classpath variable
  C:\ani\OpenOffice.org2.0_SDK\idl;
  C:\ani\OpenOffice.org2.0_SDK\idl\jurt.jar;
  C:\ani\OpenOffice.org2.0_SDK\idl\unoil.jar;
  C:\ani\OpenOffice.org2.0_SDK\idl\ridl.jar;
  C:\ani\OpenOffice.org2.0_SDK\idl\juh.jar;
  C:\ani\OpenOffice.org2.0_SDK\idl\sandbox.jar
  C:\Program Files\OpenOffice.org 2.0\program\classes;.;
Also in the Path variable i have included
  path
.;C:\Program 
Files\Java\jre1.5.0_07\bin;C:\oracle\ORAOLE\ora92\bin;C:\oracle\ORAOLEDB\ora92\bin;C:\oracle\ORASQL\ora92\bin;C:\Program
 Files\Oracle\jre\1.3.1\bin;C:\Program 
Files\Oracle\jre\1.1.8\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;C:\Program
 Files\Java\jdk1.5.0_07\bin;C:\Program 
Files\Java\jdk1.5.0_07\bin;C:\ani\OpenOffice.org2.0_SDK\windows\bin;C:\ani\OpenOffice.org2.0_SDK\idl\com\sun\star\uno\XInterface.idl;C:\Program
 Files\OpenOffice.org 2.0\program\classes;C:\Program Files\OpenOffice.org 
2.0\program;

The C:\ani\OpenOffice.org2.0_SDK\windows\bin has been included in the Path environment variable. Is there anything that i have missed out? This is the XTestFunction1.idl in C:\ProtoToolbar\Code\com\sun\star\demo
  #include <com/sun/star/uno/XInterface.idl>
module com { module sun { module star { module demo {
interface XTestFunction1 : com::sun::star::uno::XInterface {
string translate([in]string source);
};
};};};};
Please Help With Regards,
  Bharathy B
                
---------------------------------
Yahoo! Music Unlimited - Access over 1 million songs.Try it free.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to