← Back to team overview

hugin-devs team mailing list archive

[Bug 1256621] [NEW] compilation fails since introduction of timer

 

Public bug reported:

Hi,

Since the introduction of the timer class (around changeset 981) I get
compile time errors about non existing types.  Is that a missing
'include' or am I missing  some flag?

cheers, lukas


[  3%] Building CXX object src/CMakeFiles/enblend.dir/timer.cc.o
In file included from /usr/src/pano/enblend_hg/src/timer.cc:22:0:
/usr/src/pano/enblend_hg/src/timer.h:121:9: error: ‘tms’ does not name a type
/usr/src/pano/enblend_hg/src/timer.h:122:9: error: ‘tms’ does not name a type
/usr/src/pano/enblend_hg/src/timer.cc: In member function ‘void timer::ProcessorTime::start()’:
/usr/src/pano/enblend_hg/src/timer.cc:135:16: error: ‘start_’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc:135:22: error: ‘times’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc:136:9: error: ‘stop_’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc: In member function ‘void timer::ProcessorTime::stop()’:
/usr/src/pano/enblend_hg/src/timer.cc:144:16: error: ‘stop_’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc:144:21: error: ‘times’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc:145:41: error: ‘start_’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc: In member function ‘void timer::ProcessorTime::restart()’:
/usr/src/pano/enblend_hg/src/timer.cc:155:16: error: ‘start_’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc:155:22: error: ‘times’ was not declared in this scope
/usr/src/pano/enblend_hg/src/timer.cc:156:9: error: ‘stop_’ was not declared in this scope
make[2]: *** [src/CMakeFiles/enblend.dir/timer.cc.o] Error 1
make[1]: *** [src/CMakeFiles/enblend.dir/all] Error 2
make: *** [all] Error 2

** Affects: enblend
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/1256621

Title:
  compilation fails since introduction of timer

Status in Enblend:
  New

Bug description:
  Hi,

  Since the introduction of the timer class (around changeset 981) I get
  compile time errors about non existing types.  Is that a missing
  'include' or am I missing  some flag?

  cheers, lukas


  [  3%] Building CXX object src/CMakeFiles/enblend.dir/timer.cc.o
  In file included from /usr/src/pano/enblend_hg/src/timer.cc:22:0:
  /usr/src/pano/enblend_hg/src/timer.h:121:9: error: ‘tms’ does not name a type
  /usr/src/pano/enblend_hg/src/timer.h:122:9: error: ‘tms’ does not name a type
  /usr/src/pano/enblend_hg/src/timer.cc: In member function ‘void timer::ProcessorTime::start()’:
  /usr/src/pano/enblend_hg/src/timer.cc:135:16: error: ‘start_’ was not declared in this scope
  /usr/src/pano/enblend_hg/src/timer.cc:135:22: error: ‘times’ was not declared in this scope
  /usr/src/pano/enblend_hg/src/timer.cc:136:9: error: ‘stop_’ was not declared in this scope
  /usr/src/pano/enblend_hg/src/timer.cc: In member function ‘void timer::ProcessorTime::stop()’:
  /usr/src/pano/enblend_hg/src/timer.cc:144:16: error: ‘stop_’ was not declared in this scope
  /usr/src/pano/enblend_hg/src/timer.cc:144:21: error: ‘times’ was not declared in this scope
  /usr/src/pano/enblend_hg/src/timer.cc:145:41: error: ‘start_’ was not declared in this scope
  /usr/src/pano/enblend_hg/src/timer.cc: In member function ‘void timer::ProcessorTime::restart()’:
  /usr/src/pano/enblend_hg/src/timer.cc:155:16: error: ‘start_’ was not declared in this scope
  /usr/src/pano/enblend_hg/src/timer.cc:155:22: error: ‘times’ was not declared in this scope
  /usr/src/pano/enblend_hg/src/timer.cc:156:9: error: ‘stop_’ was not declared in this scope
  make[2]: *** [src/CMakeFiles/enblend.dir/timer.cc.o] Error 1
  make[1]: *** [src/CMakeFiles/enblend.dir/all] Error 2
  make: *** [all] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/enblend/+bug/1256621/+subscriptions


Follow ups

References