Re: orbitcpp on cygwin



----- Original Message -----
From: "Bowie Owens" <bowie owens csiro au>
To: "Sagar Shah" <sagars dpsl net>
Cc: "orbitcpp-list" <orbitcpp-list gnome org>
Sent: Sunday, July 20, 2003 4:04 PM
Subject: Re: orbitcpp on cygwin

Hi,

Thanx Bowie for ur reply,

u wanted to know regarding gnome libraries, i had downloaded from following
URL's

http://web.sfc.keio.ac.jp/~s01397ms/cygwin/index.html.en

by Masahiro Sakai.

Before these i used to try it myself, but some or other problems came, than
these reference i found used to build my dependencies.

i wanted to ask u something regarding gcc 3.2.3 and wstring support, if u
know regarding that.
what i found is gcc 3.2.3 doesn't support wstring, what i should to have it,
i also i found strange that when i built orbit cpp package using gcc 2.95 no
problems came, while using gcc 3.2.3 the below described earlier in the mail
came.

if u guide regarding gcc 3.2.3 and wstring i would really appreaciate ur
efforts, i know thse is not a appropiate mailing list, but being a open
source friend, i request for these.

Regards
Sagar Shah


> Hi Sagar,
>
> The error seems to be complaining about the following line in IDL.h:
> IDL_IMPORT const char *                 IDL_tree_type_names[];
>
> Which looks like a valid declaration to me. If the compiler thinks it is
> a definition, that would be a problem. You might want to try compiling
> with the -E option and search for the declaration of IDL_tree_type_names
> to check that there aren't any problems with macro expansion. In the
> orbitcpp/idl-compiler/types directory:
>
>
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../../.. -I../../.. -DVERSION=
\"\
>
" -DORBIT2_INTERNAL_API -DORBIT2=1 -pthreads -I/usr/include/orbit-2.0 -I/usr
/include/linc-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr
/include/libIDL-2.0 -E IDLAny.cc | less
>
>
> Also, you might want to try the latest version of orbitcpp in CVS. It no
> longer defines ORBIT2_INTERNAL_API, which may or may not have anything
> to do with this.
>
> Lastly, can you tell me which versions of the gnome libraries you are
> using? Did you compile them yourself, use GARNOME, download binaries???
> I have been trying to get orbitcpp to build under cygwin myself, but
> have been stuck with problems building the lower tools such as libIDL
> and ORBit2. So if you could detail how you got this far,  I would
> appreciate it.
>
> Sagar Shah wrote:
>
> >Hi all,
> >i am trying to build orbitcpp on cygwin using gcc 3.2.3 and development
> >versions of autotools.
> >during make it gives error and halts.
> >following is the output of make
> >
> >$ make
> >make  all-recursive
> >make[1]: Entering directory `/d/Manjit/orbitcpp-1.3.6'
> >Making all in orbitcpp
> >make[2]: Entering directory `/d/Manjit/orbitcpp-1.3.6/orbitcpp'
> >Making all in idl-compiler
> >make[3]: Entering directory
`/d/Manjit/orbitcpp-1.3.6/orbitcpp/idl-compiler'
> >Making all in types
> >make[4]: Entering directory
> >`/d/Manjit/orbitcpp-1.3.6/orbitcpp/idl-compiler/type
> >s'
> >/bin/bash ../../../libtool --mode=compile
> >g++ -DHAVE_CONFIG_H -I. -I. -I../../..
>
                   -I../../..                       -I.
> >./..
>
                        -DVERSION=\"\"          -DORBIT2_INTERNAL_AP
> >I
>
>                                                -DORBIT2=1 -pthreads -I/usr
/
> >incl
>
>ude/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/glib-2.0 -I/usr/lib/gl
i
> >b-2.
> >0/include -I/usr/include/libIDL-2.0      -g -O2 -c IDLAny.cc
> >mkdir .libs
> >
>
>g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I.. -I../../.. -I../../.. -DVERSION
=
> >\"\
>
>" -DORBIT2_INTERNAL_API -DORBIT2=1 -pthreads -I/usr/include/orbit-2.0 -I/us
r
> >/inc
>
>lude/linc-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/in
c
> >lude
> >/libIDL-2.0 -g -O2 -c IDLAny.cc  -DPIC -o .libs/IDLAny.o
> >g++: unrecognized option `-pthreads'
> >In file included from ../../../orbitcpp/idl-compiler/base.h:35,
> >                 from ../../../orbitcpp/idl-compiler/error.h:33,
> >                 from IDLType.h:32,
> >                 from IDLAny.h:32,
> >                 from IDLAny.cc:28:
> >/usr/include/libIDL-2.0/libIDL/IDL.h:542: array size missing in `
> >   IDL_tree_type_names'
> >IDLAny.cc:57:2: warning: #warning "WRITE ME"
> >IDLAny.cc:133:2: warning: #warning "WRITE ME"
> >IDLAny.cc:168:2: warning: #warning "WRITE ME"
> >IDLAny.cc:322:2: warning: #warning "WRITE ME"
> >IDLAny.cc:345:2: warning: #warning "WRITE ME"
> >IDLAny.cc:358:2: warning: #warning "WRITE ME"
> >IDLAny.cc:368:2: warning: #warning "WRITE ME"
> >IDLAny.cc:377:2: warning: #warning "WRITE ME"
> >make[4]: *** [IDLAny.lo] Error 1
> >make[4]: Leaving directory
> >`/d/Manjit/orbitcpp-1.3.6/orbitcpp/idl-compiler/types
> >'
> >make[3]: *** [all-recursive] Error 1
> >make[3]: Leaving directory
`/d/Manjit/orbitcpp-1.3.6/orbitcpp/idl-compiler'
> >make[2]: *** [all-recursive] Error 1
> >make[2]: Leaving directory `/d/Manjit/orbitcpp-1.3.6/orbitcpp'
> >make[1]: *** [all-recursive] Error 1
> >make[1]: Leaving directory `/d/Manjit/orbitcpp-1.3.6'
> >make: *** [all-recursive-am] Error 2
> >_______________________________________________
> >orbitcpp-list mailing list
> >orbitcpp-list gnome org
> >http://mail.gnome.org/mailman/listinfo/orbitcpp-list
> >
> >
>
>
> --
> Bowie Owens
>
> CSIRO Mathematical & Information Sciences
> phone  : +61 3 9545 8055
> fax    : +61 3 9545 8080
> mobile : 0425 729 875
> email  : Bowie Owens csiro au
>
>
>
> _______________________________________________
> orbitcpp-list mailing list
> orbitcpp-list gnome org
> http://mail.gnome.org/mailman/listinfo/orbitcpp-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]