Yay, more building-on-windows fun:

g++ -DHAVE_CONFIG_H -I. -I. -I../../../libs/vos -I../../../libs -I../../../i
nplace/include -DVTOOLBOX_EXPORTS -D_REENTRANT -D_MT -mthreads -I/c/vos-proj
ects/current/vos/inplace/include -D_REENTRANT -O1 -D_REENTRANT -D_MT -mthrea
ds -g -Wall -I/c/vos-projects/current/vos/inplace/include -MT
dateformatfilter.lo -MD -MP -MF .deps/dateformatfilter.Tpo -c
dateformatfilter.cc  -DDLL_EXPORT -DPIC -o .libs/dateformatfilter.o
dateformatfilter.cc: In member function `void DateFormatter::reformat()':
dateformatfilter.cc:107: error: `localtime_r' undeclared (first use this
function)
dateformatfilter.cc:107: error: (Each undeclared identifier is reported only
once for each function it appears in.)

this looks like another function that mingw doesn't define (it's not in the
time.h that I have)

dateformatfilter.cc: At global scope:
dateformatfilter.cc:150: error: redefinition of `class
RegisterDateFormatter'
../../../libs/vos/vostoolbox/dateformatfilter.hh:11: error: previous
definition of `class RegisterDateFormatter'
dateformatfilter.cc:153: warning: inconsistent dll linkage for
'RegisterDateFormatter_globalstatic', dllexport assumed.

this looks like the culprit is line 10 in dateformatfilter.hh. Should be
#ifndef VTOOLBOX_EXPORTS instead of VOS_EXPORTS?

Sorry it's such a pain supporting lame windoze users like me ;)

-Ken

----- Original Message ----- 
From: "Reed Hedges" <[EMAIL PROTECTED]>
To: "VOS Discussion" <vos-d@interreality.org>
Sent: Saturday, February 24, 2007 2:40 PM
Subject: Re: [vos-d] Compiling 0.24 with mingw on windows2000


> Reed Hedges wrote:
> > Ken Taylor wrote:
> >> Another problem, this one also apparently Reed's fault (j/k), and this
time
> >> actually crashing the compiler!
> >>
> >
> > Wow, crashed the compiler!
> >
> > Actually this is actually something you can fault me with, since I
> > probably messed up with the dllimport/dllexport declarations. Or, blame
> > Windows for requiring that stuff and making it a pain in the neck.
> >
> > I'll look into it.
>
> OK, if you update it ought to be fixed, but I don't have MinGW to test.
>
> It's just one change: in libs/vos/vostoolbox/Makefile.am change
> -DVOS_EXPORT to -DVTOOLBOX_EXPORT.
>
> Reed
>
> _______________________________________________
> vos-d mailing list
> vos-d@interreality.org
> http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d
>


_______________________________________________
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d

Reply via email to