Archived

This forum has been archived. Please start a new discussion on GitHub.

Error with the HelloWorld program of User Manual

Hi,

I find Ice yesterday and I try to execute the HelloWorld program given in the User Manual.
But when I build the code, I have some Errors:
[BCC32 Erreur] ProxyF.h(67): E2141 Erreur de syntaxe de déclaration
[BCC32 Erreur] ProxyF.h(68): E2238 Déclaration multiple pour 'ICE_API'
[BCC32 Erreur] ProxyF.h(67): E2344 Déclaration plus récente de 'ICE_API'
[BCC32 Erreur] ProxyF.h(68): E2141 Erreur de syntaxe de déclaration
[BCC32 Erreur] ProxyF.h(70): E2238 Déclaration multiple pour 'ICE_API'
......

Yes, that's french!!!
In englsih, we have:
E2141 Error syntax declaration
E2238 Multiple declaration of 'ICE_API'
E2344 preview declaration of 'ICE_API'
....

Somebody have an idea to resolve this problem?

Thanks in advance

Comments

  • benoit
    benoit Rennes, France
    Hi,

    Which compiler are you using? Is it Borland C++Builder 2006 (we don't support other Borland C++ Builder version)? Please also specify which Ice and Windows version you're using.

    Cheers,
    Benoit.
  • Hey, a french people!!!

    J'utilise Borland C++Builder2007. Ça devrait marcher pusique ça marche avec le 2006, non?
    Sinon je suis sous windows XP SP2 et ma version de Ice est Ice-3.2.1-bin-BCC.

    (I use Ice-3.2.1-bin-BCC and C++builder2007 with XP SP2)
  • benoit
    benoit Rennes, France
    We didn't try compiling/using Ice with Borland C++ Builder 2007 so I don't know whether or not it works. I would recommend to use a supported compiler instead if possible. If not and your company is willing to sponsor the port to Borland C++ Builder 2007, please contact us at info@zeroc.com.

    In any case, if you still want to try with Borland C++ Builder 2007, I would recommend trying to compile the Ice source distribution instead of using the binary distribution built with BCB2006.

    Cheers,
    Benoit.