ETH Zuerich - Startseite
Professur für CAAD

 


caad d-arch


Caad Teaching
 

 
Bachelor of Architecture: CAAD II ss07

 
Master of Advanced Studies
in Architecture, CAAD


 
DWF-Processing
Programmieren statt Zeichnen


 
Graustufen - Ein Atlas
Schweizer Wohngebäude als XML Daten


 
DWF- Denken in Systemen:
In Collaboration with the Technical University Vienna


 
Seminarwoche:
BlowUp


 
Archiv

 
Caad Projects
 

 
Theory
 
Design
 
Building
 
Practice

 
Related pages
 

 
Swiss Federal Institute of Technology Zurich
 
Institute of Building Technology
 
Faculty of Architecture

 
Other pages

 










hbt d-arch

Code changes for correct (tm) timestamps.

  • camerad/src/ffmpeg/libffmpeg.c
    • Make sure _cur_dts uses int64_t
  • camerad/src/camerad/camimg.c
    • camimg_set_time: change tm to int64_t
    • cct_get_camimg_new: change tmp to int64_t
    • cct_get_camimg: change tmp to int64_t
  • camerad/src/camerad/camimg.h
    • change prototype for camimg_set_time to int64_t
    • struct camimg_t change tm to int64_t
  • Viroom/howler.cpp
    • change sprintf to use (int64_t)cim->tm

Still unclear is if tm is used by any other part of Viroom. Shared memory access only supports 32 bit, it seems. However, this doesn't seem to cause any problems. _

Setting up Viroom on Fedora Core 4

  1. get ffmpeg, camerad, vxl and Viroom
  2. install compat-gcc-32 and compat-gcc-32-c++ and cmake
  3. build ffmpeg
    • ./configure --enable-shared --cc=gcc32
    • make
  4. build camerad
    • CC=gcc32 ./configure --with-ffmpeg=../ffmpeg
      • your ffmpeg directory might differ
    • make
  5. build vxl
    • vxl-1.1.0 is assumed
    • mkdir vxl-1.1.0-bin
    • cd vxl-1.1.0-bin
    • ccmake ../vxl-1.1.0-src
    • use 't' for advanced mode
    • change C and CXX compiler to gcc32 and g++32
    • switch VNL_CONFIG_LEGACY_METHODS on
    • 'c'onfigure and 'g'enerate
    • make
  6. build Viroom
    • cd Viroom
    • mkdir bin
    • cd bin
    • ccmake ..
    • enable VIROOM_BCTRACKER
    • enter VXL_libs path (vxl-1.1.0-bin/lib)
    • make
    • change bin path in XML/*xml

-- TorstenSpindler - 17 Nov 2005

Revision r1.2 - 18 Nov 2005 - 20:05 - TorstenSpindler
Parents: TWikiUsers > TorstenSpindler
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Topic ViRoom . { Edit | Attach | Ref-By | Printable | Diffs | r1.4 | > | r1.3 | > | r1.2 | More }

Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

This website has been archived and is no longer maintained.