Opened 12 years ago

Closed 12 years ago

#31817 closed defect (duplicate)

opencv: non-const static data member must be initialized out of line

Reported by: shankga@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: clang Cc:
Port: opencv

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When building opencv I get an error that the following items are failing to execute:

  • org.macports.activate
  • org.macports.build
  • org.macports.destroot
  • org.macports.install

I have already tried cleaning the port (twice). This is after doing a fresh new install of macports and having never installed macports before.

Attached is the log.

Attachments (1)

main.log.zip (40.7 KB) - added by shankga@… 12 years ago.
opencv log

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by shankga@…

Attachment: main.log.zip added

opencv log

comment:1 Changed 12 years ago by shankga@…

Seems to be a duplicate of:

#30693

By using llvm-gcc-4.2 (as suggested by ryandesign in that ticket) I was able to successfully build opencv.

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

Description: modified (diff)
Keywords: clang added; error build removed
Milestone: MacPorts 2.0.4
Resolution: duplicate
Status: newclosed
Summary: Failing to build opencv (Lion 10.7.2)opencv: non-const static data member must be initialized out of line
Note: See TracTickets for help on using tickets.