Opened 6 years ago

Closed 3 years ago

#58094 closed defect (fixed)

objectmarker: error: use of undeclared identifier 'CV_RGB'

Reported by: TheLastLovemark Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: RJVB (René Bertin)
Port: objectmarker

Description

The port was listed as broken so I tried to upgrade and that failed. I noticed it was referencing a few openCV dynamic libraries that were no longer in the /opt/local/lib/ folder. I thought this may have been because of the openCV fix you suggested.

I uninstalled the broken version of objectmarker and tried to do a fresh install of the latest version. That failed.

The error message references /usr/bin/clang++. I thought that was a bit odd as I have more than one version of mp-clang installed as well as a few versions of gcc

log file attached.

Attachments (1)

objectmarker_main.log (207.2 KB) - added by TheLastLovemark 6 years ago.
objectmarker log

Download all attachments as: .zip

Change History (11)

Changed 6 years ago by TheLastLovemark

Attachment: objectmarker_main.log added

objectmarker log

comment:1 Changed 6 years ago by TheLastLovemark

Keywords: objectmarker added

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

Keywords: opencv build fail install fail upgrade fail broken port objectmarker removed

comment:3 in reply to:  description Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: ojectmarkerobjectmarker

Replying to TheLastLovemark:

The error message references /usr/bin/clang++. I thought that was a bit odd as I have more than one version of mp-clang installed as well as a few versions of gcc

You shouldn't consider that odd. That is the Xcode Clang C++ compiler, which is the C++ compiler ports would build with by default. Only ports that aren't compatible with that compiler would request a different one.

comment:4 Changed 6 years ago by RJVB (René Bertin)

Why am I CC'ed on this ticket?

comment:5 Changed 6 years ago by TheLastLovemark

I think I cc'd you because it's related to the advice you gave me about openCV

comment:6 Changed 6 years ago by RJVB (René Bertin)

OK, so that was addressed to me. Good thing you remember that I did, because my memory isn't that good :)

comment:7 Changed 4 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:8 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy removed

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

Summary: objectmarkerobjectmarker: error: use of undeclared identifier 'CV_RGB'

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

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 6bca08704bcff37d3a7a67654eaec2d693865d51/macports-ports (master):

objectmarker: Fix build with opencv3

Closes: #58094

Also use MacPorts CXXFLAGS and LDFLAGS and disable livecheck since the
homepage is gone.

Note: See TracTickets for help on using tickets.