Opened 13 years ago

Closed 12 years ago

#32207 closed defect (fixed)

mjpegtools-2.0.0: error: use of undeclared identifier 'DeleteRegion'

Reported by: AP1010 Owned by: filippo.natali@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: clang haspatch Cc: jiri@…, ryandesign (Ryan Carsten Schmidt)
Port: mjpegtools

Description (last modified by mf2k (Frank Schima))

Build fails. The problem seems to be:

:info:build In file included from newdenoise.cc:19:
:info:build ./MotionSearcher.hh:2199:3: error: use of undeclared identifier 'DeleteRegion'
:info:build                 DeleteRegion (a_pRegion);

Attachments (1)

main.log (244.7 KB) - added by AP1010 13 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 13 years ago by AP1010

correction: The port version should read 2.0.3

comment:2 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Version: 2.0.02.0.3

Please attach the complete log so we can see what is going on.

Changed 13 years ago by AP1010

Attachment: main.log added

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: clang added
Owner: changed from macports-tickets@… to filippo.natali@…
Port: mjpegtools added
Summary: mjpegtools-2.0.0 not buildingmjpegtools-2.0.0: error: use of undeclared identifier 'DeleteRegion'

I see you are using clang. Does llvm-gcc-4.2 or gcc-4.2 work? See ProblemHotlist#compiler.

comment:4 in reply to:  3 ; Changed 13 years ago by AP1010

Replying to ryandesign@…:

I see you are using clang. Does llvm-gcc-4.2 or gcc-4.2 work? See ProblemHotlist#compiler.

llvm-gcc-4.2 works !

comment:5 in reply to:  4 Changed 13 years ago by darenzana@…

Replying to arthur@…:

Replying to ryandesign@…:

I see you are using clang. Does llvm-gcc-4.2 or gcc-4.2 work? See ProblemHotlist#compiler.

llvm-gcc-4.2 works !

Having encountered the same problem, I confirm that it works with the following command:

port -sv install mjpegtools configure.compiler=llvm-gcc-4.2

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jiri@… ryandesign@… added
Keywords: haspatch added
Resolution: fixed
Status: newclosed

Has duplicate #34849. This bug was also filed as Gentoo bug 409197 and upstream bug 3515859. There is a patch attached there. Fixed in r94275.

Note: See TracTickets for help on using tickets.