[Sumover-dev] [Media Tools] #54: cpudetect.h dependency (leak?) in svn trunk of main.cpp (2.8ucl1.2.1 rv3961)

Media Tools SUMOVER-dev at cs.ucl.ac.uk
Sat Jan 20 00:08:32 GMT 2007


#54: cpudetect.h dependency (leak?) in svn trunk of main.cpp (2.8ucl1.2.1
rv3961)
-------------------------+--------------------------------------------------
 Reporter:  ssb at umn.edu  |       Owner:  socrates   
     Type:  defect       |      Status:  new        
 Priority:  minor        |   Milestone:             
Component:  vic          |     Version:  2.8ucl1.1.9
 Keywords:               |  
-------------------------+--------------------------------------------------
 Unable to compile main.cpp:
 rm -f main.o; g++ -o main.o -c -O2 -g -W -Wall -Wno-return-type -DLinux
 -DUSE_SHM -DUSE_H261AS  -fsigned-char -DED_YBITS=4 -DSIGRET=void
 -DNLAYER=8 -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender
 -Inet -Ivideo -Icodec -I../common/src  -I../tk-8.0/generic
 -I../tcl-8.0/generic   -Icodec/jpeg -Icodec/p64 -I. main.cpp
 main.cpp:73:32: postproc/cpudetect.h: No such file or directory
 main.cpp: In function `void ciao(int)':
 main.cpp:183: warning: unused parameter `int arg'
 make: *** [main.o] Error 1

 Maybe:
 extern "C" {
 #include "postproc/cpudetect.h"
 #include <tk.h>

 Should be:
 extern "C" {
 #ifdef RUNTIME_CPUDETECT
 #include "postproc/cpudetect.h"
 #endif
 #include <tk.h>

-- 
Ticket URL: <https://mediatools.cs.ucl.ac.uk/nets/mmedia/ticket/54>
Media Tools <http://www-mice.cs.ucl.ac.uk/multimedia/software>
Media Tools


More information about the Sumover-dev mailing list