Menu

#4 64-bit Windows and Linux update

open
nobody
None
5
2016-09-18
2012-04-23
No

Here are the patches to update the compiler usage to more recent versions of Visual Studio and gcc on Linux. It also adds 64-bit Windows support. Please provide new binary downloads for others to use. You may need to tweak it for your use.

The QEdit.h stub header was included because it's been removed from the Windows SDK. You may need to find alternate means to access this quartz functionality in future versions of Windows.

It would also be helpful if you could implement the QuickTime support for Mac OS X. I did not include this other patch because it didn't completely work on Mac OS X.

I downloaded the recent CVS HEAD and modified a few files. I attached the CVS tree that I modified (I left out the large unmodified lib directory from the zip file). For reference, here are the files listed as modified when I do a cvs update:
? bin/native/x86_64/linux
? native/src/directshow/Qedit.h
cvs update: Updating .
M build.xml
cvs update: Updating .settings
cvs update: Updating bin
cvs update: Updating bin/native
cvs update: Updating bin/native/x86
cvs update: Updating bin/native/x86/linux
M bin/native/x86/linux/libcivil.so
cvs update: Updating bin/native/x86/windows
M bin/native/x86/windows/civil.dll
cvs update: Updating bin/native/x86_64
cvs update: cannot open directory /cvsroot/lti-civil/lti-civil/bin/native/x86_64
: No such file or directory
cvs update: skipping directory bin/native/x86_64
cvs update: Updating lib
cvs update: Updating lib/swt-M20060921-0945-carbon-macosx
cvs update: Updating lib/swt-M20060921-0945-gtk-linux-x86
cvs update: Updating lib/swt-M20060921-0945-gtk-linux-x86_64
cvs update: Updating lib/swt-M20060921-0945-win32-win32-x86
cvs update: Updating native
cvs update: Updating native/src
cvs update: Updating native/src/CivilDShow
cvs update: Updating native/src/MFCDSHOW
cvs update: Updating native/src/MFCDSHOW/res
cvs update: Updating native/src/camerav4l2
cvs update: Updating native/src/camerav4l2/cam-player
cvs update: Updating native/src/camerav4l2/camerav4l2
M native/src/camerav4l2/camerav4l2/v4l2capture.h
cvs update: Updating native/src/camerav4l2/clientlib
cvs update: Updating native/src/common
M native/src/common/VideoFormat.h
cvs update: Updating native/src/directshow
M native/src/directshow/DSCaptureStream.cpp
M native/src/directshow/DSCaptureSystem.cpp
M native/src/directshow/DSCaptureSystemFactory.h
cvs update: Updating native/src/libfg
cvs update: Updating native/src/libfg/docs
cvs update: Updating native/src/libfg/docs/html
cvs update: Updating native/src/test
cvs update: Updating native/src/video4linux
cvs update: Updating native/src/video4linux2
cvs update: Updating sh
cvs update: Updating sh/linux
cvs update: Updating sh/linux/amd64
cvs update: Updating sh/linux/x86
cvs update: Updating sh/macosx
cvs update: Updating sh/macosx/universal
cvs update: Updating sh/windows
cvs update: Updating sh/windows/x86
cvs update: Updating src
cvs update: Updating src/com
cvs update: Updating src/com/googlecode
cvs update: Updating src/com/googlecode/vicovre
cvs update: Updating src/com/googlecode/vicovre/utils
cvs update: Updating src/com/googlecode/vicovre/utils/nativeloader
cvs update: Updating src/com/lti
cvs update: Updating src/com/lti/civil
cvs update: Updating src/com/lti/civil/awt
cvs update: Updating src/com/lti/civil/impl
cvs update: Updating src/com/lti/civil/impl/common
cvs update: Updating src/com/lti/civil/impl/dummy
cvs update: Updating src/com/lti/civil/impl/jni
cvs update: Updating src/com/lti/civil/impl/qtjava
cvs update: Updating src/com/lti/civil/swing
cvs update: Updating src/com/lti/civil/test
cvs update: Updating src/com/lti/civil/utility
cvs update: Updating src/com/lti/civil/webcam
cvs update: Updating src/com/lti/civil/webcam/staticimage
cvs update: Updating src/fi
cvs update: Updating src/fi/iki
cvs update: Updating src/fi/iki/elonen
cvs update: Updating src/fi/iki/elonen/nanohttpd
cvs update: Updating src.jmf
cvs update: Updating src.jmf/com
cvs update: Updating src.jmf/com/lti
cvs update: Updating src.jmf/com/lti/civil
cvs update: Updating src.jmf/com/lti/civil/impl
cvs update: Updating src.jmf/com/lti/civil/impl/jmf
cvs update: Updating src.qtstubs
cvs update: Updating src.qtstubs/quicktime
cvs update: Updating src.qtstubs/quicktime/io
cvs update: Updating src.qtstubs/quicktime/qd
cvs update: Updating src.qtstubs/quicktime/std
cvs update: Updating src.qtstubs/quicktime/std/sg
cvs update: Updating src.qtstubs/quicktime/util
cvs update: Updating src.swt
cvs update: Updating src.swt/com
cvs update: Updating src.swt/com/lti
cvs update: Updating src.swt/com/lti/civil
cvs update: Updating src.swt/com/lti/civil/swt
cvs update: Updating src.swtutils
cvs update: Updating src.swtutils/com
cvs update: Updating src.swtutils/com/lti
cvs update: Updating src.swtutils/com/lti/swtutils
cvs update: Updating src.swtutils/com/lti/swtutils/image
cvs update: Updating src.swtutils/com/lti/swtutils/image/resources
cvs update: Updating src.swtutils/com/lti/swtutils/swt_rwt
cvs update: Updating src.swtutils/org
cvs update: Updating src.swtutils/org/apache
cvs update: Updating src.swtutils/org/apache/log4j
cvs update: Updating src.utils
cvs update: Updating src.utils/com
cvs update: Updating src.utils/com/lti
cvs update: Updating src.utils/com/lti/utils
cvs update: Updating src.utils/com/lti/utils/collections
cvs update: Updating src.utils/com/lti/utils/synchronization

Discussion

  • George Rhoten

    George Rhoten - 2012-04-23

    source

     
  • George Rhoten

    George Rhoten - 2012-04-23

    32-bit binaries

     
  • George Rhoten

    George Rhoten - 2012-04-23

    64-bit Linux binaries

     
  • George Rhoten

    George Rhoten - 2012-04-23

    64-bit Windows binaries

     
  • Bram Bouwens

    Bram Bouwens - 2015-08-26

    Seems like a good job to me. I've been using a patched version myself for years, as the original couldn't handle YUYV files and multiple cameras. Compiling was a PITA on Windows
    though.
    Now I'm about to move my stuff to the Raspberry PI, and the fun comes back.
    It would be nice if this project would have an up-to-date online repository, it is still used by several parties it seems.

     
  • Bram Bouwens

    Bram Bouwens - 2016-09-18

    For the compilation on the Raspberry PI (raspbian) and Pine64 (debian), the easiest thing to do is to remove the qtjava package, which won't be used anyway.
    Then pretend you're on an AMD64 platform, and manually copy the libcivil.so generated to the right place. It does work.

     

    Last edit: Bram Bouwens 2016-09-19

Log in to post a comment.