Hello people,

I started to set my environment to program with OOo API in C++.
I'm doing things in parallel on Windows and Linux.
In Windows  I could figure out how to set the MS Visual Studio 2005
Express, in Linux I started with the NetBeans Cpp plug-in, but may be I
will use the Sun Studio.

Some problems/headaches started when testing with
SimpleBootstrap_cpp.cxx: in Windows I got an error from
the compiler:

$OO_SDK_HOME\include\sal\types.h(77) :
fatal error C1189: #error :  "Could not find 16-bit type, add support
for your architecture"

Reading a few lines above (types.h 44 ss)

#elif defined WNT
  /* FIXME: autogeneration of type sizes on Win32/Win64? */

I just added #define WNT in Windows and could
compile.

Is this "FIXME?" with its "?" something unconfirmed? Or is it confirmed
and going to be fixed? Or is it simply a dummy thing I'm missing?

In Linux I had other similar problems, so I added #define UNX and worked.

Anyway, I could compile the example in Linux and Windows, it worked because I could run it (just renamed SimpleBootstrap_cpp[.exe] to _SimpleBootstrap_cpp[.exe], and copied in the same folder unoapploader[.exe] form sdk/linux/bin/ || sdk\windows\bin renamed to SimpleBootstrap_cpp[.exe] - I learn this by compiling the SDK example first ;-) ).

Now I have to figure out how to debug it! so I'm just praying for the C++ support in OOo NetBeans plug-in: it was all so simple in Java... and I was so happy with that. But, as we say in Spanish, "al que quiere celeste, que le cueste" [not sure the English for that, Langenscheidt translates: "wer etwas erreichen will, muss sich anstrengen" but to make sense I would use the "etwas" before a substantivized adjective, like "etwas Besseres/Schwieriges..." ]


Regards
Ariel.




--
Ariel Constenla-Haile
La Plata, Argentina

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.arielconstenlahaile.com.ar/ooo/



"Aus der Kriegsschule des Lebens
                - Was mich nicht umbringt,
        macht mich härter."
                Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.


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

Reply via email to