Re: Compile error
Burkhard Plaum <[email protected]>
| Newsgroups | gmane.comp.video.mjpeg.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Steven M. Schultz wrote: [...] > Three possible directions to proceed: > > 1. Fix y4mdenoise. This requires that someone know C++ The offending line is here (line 2444): 2432 // Default constructor. 2433 template <class PIXEL_NUM, int DIM, class PIXEL_TOL, class PIXELINDEX, 2434 class FRAMESIZE, PIXELINDEX PGW, PIXELINDEX PGH, 2435 class SORTERBITMASK, class PIXEL, class REFERENCEPIXEL, 2436 class REFERENCEFRAME> 2437 MotionSearcher<PIXEL_NUM,DIM,PIXEL_TOL,PIXELINDEX,FRAMESIZE, 2438 PGW,PGH,SORTERBITMASK,PIXEL,REFERENCEPIXEL, 2439 REFERENCEFRAME>::MatchThrottleFloodFillControl 2440 #ifdef MATCH_THROTTLE_FLOOD_FILL_WITH_BITMAP_REGIONS 2441 ::MatchThrottleFloodFillControl() 2442 #else // MATCH_THROTTLE_FLOOD_FILL_WITH_BITMAP_REGIONS 2443 ::MatchThrottleFloodFillControl 2444 (typename BaseClass::Allocator &a_rAllocator) 2445 : BaseClass (a_rAllocator) 2446 #endif // MATCH_THROTTLE_FLOOD_FILL_WITH_BITMAP_REGIONS I did a bit of C++ some years ago, and I remember my code being pretty ugly (compared to my C today). But I never saw a function definition with that many lines :) Maybe g++ chokes on the "typename" keyword. No idea what this is exactly and how to workaround this :( > 2. Delete y4mdenoise from the top level Makefile.am Could this be made a configure switch (--disable-y4mdenoise) ? Would be easier for ordinary users than to edit Makefile.am's and rerun automake. Burkhard ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642