Hi Piers, Thanks for your feedback, VIC now compiles.
When I run Access Grid and VIC is invoked, the video image captured from my camera is transmitted properly - I can view it in Access Grid on a remote machine. Good. However, no video thumbnail appears locally. That is, the "Waiting for Video" text disappears but no thumbnail appears in the VideoConsumerService window. I have attached the debug. (I've added a bit of my own output to assist.) Video works fine when I replace my own compiled VIC binary with an already available binary, VIC v2.8ucl 1.2.1. Thanks heaps for any advice or feedback. Below is a description of the changes I made to compile VIC in VS8.0. Kind regards, Sam. Changes I made to compile VIC: - Added the DirectX SDK include and library paths. - Added the command line argument "/FORCE:multiple" to avoid already defined linker errors (Is this an issue with the order of libraries linked?): > 11>LIBCMTD.lib(strtol.obj) : warning LNK4006: _strtol already defined in > strtol.obj; second definition ignored > 11>LIBCMTD.lib(strtol.obj) : warning LNK4006: _strtoul already defined in > strtoul.obj; second definition ignored > 11>LIBCMTD.lib(printf.obj) : warning LNK4006: _printf already defined in > win32.obj; second definition ignored - And commented out a section in the function "find_win32_interface()" in "common/src/net_udp.c" to avoid the follow errors (the comments said this would have ramifications with RAT, which I don't require at present): > 11>uclmm.lib(net_udp.obj) : error LNK2019: unresolved external symbol > _GetAdaptersInfo@8 referenced in function _find_win32_interface > 11>uclmm.lib(net_udp.obj) : error LNK2019: unresolved external symbol > _GetBestRoute@12 referenced in function _find_win32_interface Piers O'Hanlon wrote: > On 24/01/07, Sam Gundry <sgun...@vpac.org> wrote: >> Hi, >> >> I have obtained VIC, TCL and TK from your CVS repository: >> - http://mediatools.cs.ucl.ac.uk/nets/mmedia/browser/vic/trunk >> - http://mediatools.cs.ucl.ac.uk/nets/mmedia/browser/tcl-8.0 >> - http://mediatools.cs.ucl.ac.uk/nets/mmedia/browser/tk-8.0 >> >> And now I wish to compile VIC using Visual Studio 8 (since I don't have >> any older versions available). When I open "vic.sln", VS automatically >> 'converts' it to VS 8.0 format. >> >> However, when I choose to Build "Release" or "Debug" projects, I receive >> the following errors: >> > 8>c:\sgundry\ucl media tools\vic\video\grabber-win32DS.h(33) : fatal >> error C1083: Cannot open include file: 'dshow.h': No such file or >> directory >> > 8>c:\sgundry\ucl media tools\vic\video\crossbar.h(29) : fatal error >> C1083: Cannot open include file: 'dshow.h': No such file or directory >> > 8>.\main.cpp(73) : fatal error C1083: Cannot open include file: >> 'postproc/cpudetect.h': No such file or directory >> > 8>.\net\net-ip.cpp(224) : error C2440: '=' : cannot convert from >> 'const char *' to 'char *' >> > 8>BSCMAKE: error BK1506 : cannot open file '.\release\display.sbr': >> No such file or directory >> >> - I was wondering if you have any instructions on compiling VIC using >> VS8? >> - Have you seen these errors before? >> - Should VIC compile successfully under VS8? >> - Do you have any advice? :( >> > To obtain the dshow.h you need in stall the Direct SDK from Microsoft: > http://www.microsoft.com/downloads/details.aspx?familyid=124552FF-8363-47FD-8F3B-36C226E04C85&displaylang=en > > > Try building VIC with the Debug XP profile. Also we've been updating > vic recently and it now starting to use the latest version of tcl/tk - > which you need to download from the tcl/tk site. > > Also try getting the latest version using svn. > > YOu integration project sounds interesting. I will be away for a week > but I may be able to hepl when I return if you still have problems. We > are in the middle of trying to stablise the tools for next release in > a few weeks so things may be abit messy right now. > > YOu could also just download the source tar balls for the previuosly > released versions. > > Piers. > > >> For your interest, I am attempting to integrate Access Grid >> functionality, such as Video, into Virtools - a 3D graphics environment. >> To ensure efficiency, I want to write each video's pixel data from >> VIC to shared memory, which I will then read and display inside Virtools. >> >> Thanks for any advice or suggestions! >> Sam >> -- >> Centre for Computational Prototyping >> Victorian Partnership for Advanced Computing >> www.vpac.org >> -- Centre for Computational Prototyping Victorian Partnership for Advanced Computing www.vpac.org
[12440] [pid/12440 +91 c:\sgundry\ucl media tools\vic\video\grabber-still.cpp] [12440] StillDevice::StillDevice name=still [12440] [pid/12440 +423 c:\sgundry\ucl media tools\vic\video\grabber-win32.cpp] [12440] Adding device 0 [12440] [pid/12440 +443 c:\sgundry\ucl media tools\vic\video\grabber-win32.cpp] [12440] VfwDevice: [0] "Microsoft WDM Image Capture (Win32)" [12440] [pid/12440 +103 c:\sgundry\ucl media tools\vic\video\grabber-win32.cpp] [12440] Device=Generic: Microsoft WDM Image Capture (Win32) [12440] [pid/12440 +739 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] new DirectShowScanner() [12440] [pid/12440 +780 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] propbag bound to storage ok= 0 [12440] [pid/12440 +789 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] friendly name read ok= 0 [12440] [pid/12440 +795 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowScanner::DirectShowScanner(): found nameBuf/FriendlyName=QuickCam for Notebooks Pro [12440] [pid/12440 +805 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] capture filter bound ok= 0 [12440] [pid/12440 +703 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] new DirectShowDevice(): friendlyName=QuickCam for Notebooks Pro [12440] [pid/12440 +217 c:\sgundry\ucl media tools\common\src\mbus_config.c] [12440] Opened existing registry entry... [12440] [pid/12440 +787 c:\sgundry\ucl media tools\common\src\net_udp.c] [12440] got addr efdeffe0 --GetMcast: 12fa19ac 88f68970 [12440] [pid/12440 +335 c:\sgundry\ucl media tools\common\src\mbus_config.c] [12440] Closed registry entry... --GetMcast: 12fa19ac 88f68970 --GetMcast: 12fa19ac 88f68970 [12440] [pid/12440 +189 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] new DirectShowGrabber() [12440] [pid/12440 +536 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::setport: external thread=1898 [12440] [pid/12440 +217 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::DirectShowGrabber(): callback created, grabber set [12440] [pid/12440 +226 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::DirectShowGrabber(): graph instance acquired [12440] [pid/12440 +235 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::DirectShowGrabber(): graph media control interface acquired [12440] [pid/12440 +245 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::DirectShowGrabber(): graph builder interface acquired [12440] [pid/12440 +254 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::DirectShowGrabber(): graph associated with builder [12440] [pid/12440 +259 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::DirectShowGrabber(): capture filter added to graph [12440] [pid/12440 +265 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::DirectShowGrabber(): grabber base filter instance acquired [12440] [pid/12440 +269 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::DirectShowGrabber(): Sample Grabber interface acquired [12440] [pid/12440 +284 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::DirectShowGrabber(): Null Renderer interface acquired [12440] [pid/12440 +292 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::DirectShowGrabber(): Null Renderer added to graph [12440] [pid/12440 +556 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::setCaptureOutputFormat(): enter... [12440] [pid/12440 +567 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::setCaptureOutputFormat(): IAMStreamConfig interface acquired [12440] [pid/12440 +591 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] Windows GDI BITMAPINFOHEADER follows: [12440] [pid/12440 +592 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] biWidth= 320 [12440] [pid/12440 +593 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] biHeight= 240 [12440] [pid/12440 +594 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] biSize= 40 [12440] [pid/12440 +595 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] biPlanes= 1 [12440] [pid/12440 +596 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] biBitCount= 24 [12440] [pid/12440 +597 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] biCompression= 0 [12440] [pid/12440 +598 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] biSizeImage= 230400 [12440] [pid/12440 +599 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] biXPelsPerMeter=0 [12440] [pid/12440 +600 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] biYPelsPerMeter=0 [12440] [pid/12440 +601 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] biClrUsed= 0 [12440] [pid/12440 +602 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] biClrImportant= 0 [12440] [pid/12440 +620 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::setCaptureOutputFormat: format set [12440] [pid/12440 +347 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::FindCrossbar()... [12440] [pid/12440 +311 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::DirectShowGrabber(): builder render stream [12440] [pid/12440 +666 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowCIFGrabber [12440] [pid/12440 +637 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::command: decimate=2 (dec)=-842150451 [12440] [pid/12440 +693 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowCIFGrabber::setsize: 320x240 [12440] [pid/12440 +536 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::setport: external-in thread=1898 [12440] [pid/12440 +693 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowCIFGrabber::setsize: 320x240 [12440] [pid/12440 +446 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::start(): starting capture graph... [12440] [pid/12440 +451 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::start(): pMediaControl_->Run() [12440] [pid/12440 +455 c:\sgundry\ucl media tools\vic\video\grabber-win32ds.cpp] [12440] DirectShowGrabber::start(): Grabber::start() done. [12440] vic-2.8ucl1.2.1.SharedVideo: tcl runtime error: vic: _o14: no such method (enable_xv) [12440] stack trace: [12440] vic: _o14: no such method (enable_xv) [12440] while executing [12440] "$target enable_xv $enable_xv" [12440] (procedure "attach_renderer" line 38) [12440] invoked from within [12440] "attach_renderer $src $w $enable_xv" [12440] (procedure "attach_window" line 2) [12440] invoked from within [12440] "attach_window $src $stamp.video false " [12440] (procedure "build.src" line 11) [12440] invoked from within [12440] "build.src $w $src 1" [12440] (procedure "really_activate" line 9) [12440] invoked from within [12440] "really_activate _o8" [12440] ("after" script) [12440] Please mail this error message and, if possible, an explanation [12440] of what user-action caused it to v...@cs.ucl.ac.uk. [12440] [12440]