I tried a quick fix, replacing usleep(20000) with _sleep(20) [usleep is
microseconds and _sleep is miliseconds, right?] ... But then I get a linking
problem:

g++ -shared -nostdlib /mingw/lib/dllcrt2.o
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/crtbegin.o
.libs/demoplugin.o  -L/c/vos-projects/current/vos/inplace/lib -lmetaobject_m
isc -lmetaobject_a3dl -lvutil -lvip -lvos -lboost_thread-mgw-mt-1_33_1 -lws2
_32 -Lc:/mingw/bin/../lib/gcc/mingw32/3.4.2 -Lc:/mingw/bin/../lib/gcc -L/min
gw/lib/gcc/mingw32/3.4.2 -Lc:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../..
/mingw32/lib -L/mingw/lib/gcc/mingw32/3.4.2/../../../../mingw32/lib -L/mingw
/lib -Lc:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../.. -L/mingw/lib/gcc/mingw
32/3.4.2/../../.. -lstdc++ -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -lu
ser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmingwex -
lmsvcrt
c:/mingw/bin/../lib/gcc/mingw32/3.4.2/crtend.o  -mthreads -mthreads -o
.libs/libomniplg_demoplugin-0.dll -Wl,--image-base=0x10000000 -Wl,--out-impl
ib,.libs/libomniplg_demoplugin.dll.a
Creating library file: .libs/libomniplg_demoplugin.dll.a
.libs/demoplugin.o(.text+0x9874): In function
`ZN9WikipediaC2ERN3VOS4SiteEPN4A3DL6SectorESsddd':
c:/vos-projects/current/vos/apps/omnivos/plugins/demoplugin.cc:221:
undefined reference to `_imp___ZN3VOS8HTTP_GETEPNS_4SiteESs'
.libs/demoplugin.o(.text+0xc8a8): In function
`ZN9WikipediaC1ERN3VOS4SiteEPN4A3DL6SectorESsddd':
c:/vos-projects/current/vos/apps/omnivos/plugins/demoplugin.cc:221:
undefined reference to `_imp___ZN3VOS8HTTP_GETEPNS_4SiteESs'
.libs/demoplugin.o(.text+0x13bb8): In function
`Z41__static_initialization_and_destruction_0ii':
c:/vos-projects/current/vos/apps/omnivos/plugins/../../../libs/vos/metaobjec
ts/services/services.hh:44: undefined reference to
`_imp__RegisterServices_globalstatic'
collect2: ld returned 1 exit status

eh. too much to try to figure out tonight :P
Maybe I should just get a linux box up and running ;)

-Ken

Ken Taylor wrote:
> Nice! I'll have to try a build tonight and see if this works for me.....
> (update: just finished the build... I get complaints about a "usleep"
> function in demoplugin.c. Ah well -- silly windows!)
>
> I haven't had much time this week to look at VOS stuff.... It sounds like
> you have been pretty busy though :)
>
> -Ken
>
>
> > This is mostly directed at Reed, but I thought everyone might be
> > interested --
> >
> > In working on a virtual demo world/presentation (which I intend to use
> > as a more compelling alterative to openoffice "impress" slides in
> > presenting VOS to potential investors) I've made a few changes that make
> > worldbuilding much easier:
> >
> >  - Fixed bugs in blender export script which causes rotations to
> > sometimes come out wrong.
> >
> >  - Added an "<addtype>" directive under the <load> section in XOD files,
> > so objects from loaded files can be extended.
> >
> >  - Added some code to the vosapp framework so that if plugins introduce
> > new metaobject factories, existing vobjects with that type will have
> > metaobjects automatically attached.
> >
> >  - Fixed some collision handling in the CS plugin that was misbehaving.
> >
> >  - The 3rd person chase camera now won't go through walls, but will zoom
> > in as necessary to have a clear line of sight to the avatar.
> >
> >  - If you can hit "g" while moused over a 3d object, you "grab" it, this
> > means the object is placed in front of you and moves around when you
> > move.  (Moving this with the mouse isn't supported yet.)  You can tag
> > this "a3dl:nograb" to tell ter'angreal not to grab them (useful to avoid
> > grabbing the floor or walls by accident.)
> >
> > So, in combination with the new misc:clickable and misc:textentry types
> > (which communicate clicks on prompt for text on 3D objects) it's now
> > relatively easy to add behaviors (written in C++) to 3D objects in
> > scenes created in Blender.  See "galley.xod" in vos/apps/omnivos/ for
> > the work in progress.
> >
>
>
>
> _______________________________________________
> vos-d mailing list
> [EMAIL PROTECTED]
> http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d
>


_______________________________________________
vos-d mailing list
[EMAIL PROTECTED]
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d

Reply via email to