[dev] idlc on Windows

2005-05-09 Thread Jorge Marques Pelizzoni

Hi, all! First of all, I have to mention that I am bound to OOo version 1.1.4
due to clients' constraints and should stick to it unless you say my problem
can only be solved with newer versions.

I am trying to build some C++ SDK examples on Windows, using NextGeneration's
make, but am having a serious problem. It seems that idlc cannot handle windows
paths correctly. For example, when trying to build the counter example
(...\OpenOffice.org1.1_SDK\examples\cpp\counter) I receive the following
messages:

---
..
idlc -I. -I../../../idl -O../../../WINexample.out/misc/counter XCountable.idl
idlc: compile 'XCountable.idl' ...
cpp: Can't open input file
Files\OpenOffice.org1.1.4\OpenOffice.org1.1_SDK\examples\cpp\counter
idlc: preprocessing "C:\Program
Files\OpenOffice.org1.1.4\OpenOffice.org1.1_SDK\examples\cpp\counter\XCountable.idl"
failed
..
---

Notice the message from "cpp": the starting string "c:\Program " of the path is
missing due to the presence of a blank space. I suspect that idlc is not
handing the current directory correctly.

Any ideas?

Cheers,

Jorge.

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



Re: [dev] idlc on Windows

2005-05-11 Thread Jürgen Schmidt
Hi Jorge,
this is a bug and it is interesting that nobody until now have detected 
this bug. Please submit an issue to me.
A workaround would be to install the SDK in a path without spaces.

Juergen
Jorge Marques Pelizzoni wrote:
Hi, all! First of all, I have to mention that I am bound to OOo version 1.1.4
due to clients' constraints and should stick to it unless you say my problem
can only be solved with newer versions.
I am trying to build some C++ SDK examples on Windows, using NextGeneration's
make, but am having a serious problem. It seems that idlc cannot handle windows
paths correctly. For example, when trying to build the counter example
(...\OpenOffice.org1.1_SDK\examples\cpp\counter) I receive the following
messages:
---
..
idlc -I. -I../../../idl -O../../../WINexample.out/misc/counter XCountable.idl
idlc: compile 'XCountable.idl' ...
cpp: Can't open input file
Files\OpenOffice.org1.1.4\OpenOffice.org1.1_SDK\examples\cpp\counter
idlc: preprocessing "C:\Program
Files\OpenOffice.org1.1.4\OpenOffice.org1.1_SDK\examples\cpp\counter\XCountable.idl"
failed
..
---
Notice the message from "cpp": the starting string "c:\Program " of the path is
missing due to the presence of a blank space. I suspect that idlc is not
handing the current directory correctly.
Any ideas?
Cheers,
Jorge.
-
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]


Re: [dev] idlc on Windows

2005-05-11 Thread Ken Foskey
On Wed, 2005-05-11 at 11:10 +0200, Jürgen Schmidt wrote:
> Hi Jorge,
> 
> this is a bug and it is interesting that nobody until now have detected 
> this bug. Please submit an issue to me.
> A workaround would be to install the SDK in a path without spaces.

Paths with spaces issue is documented in the build guides.  We probably
should check and error these in configure.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] idlc on Windows

2005-05-11 Thread Volker Quetschke
Ken Foskey wrote:
On Wed, 2005-05-11 at 11:10 +0200, Jürgen Schmidt wrote:
Hi Jorge,
this is a bug and it is interesting that nobody until now have detected 
this bug. Please submit an issue to me.
A workaround would be to install the SDK in a path without spaces.
Paths with spaces issue is documented in the build guides.  We probably
should check and error these in configure.
Hmmm? At least for windows builds paths with spaces work fine. Actually
configure plays some tricks to convert them into their 8.3 (non-space)
counterpart.
This seems to be an SDK problem.
Volker
--
If you like my work consider:  http://www.scytek.de/donations.html
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D