[MacPorts] #48074: auto-multiple-choice: AMC-detect fails to build after update to opencv 3.0.0
#48074: auto-multiple-choice: AMC-detect fails to build after update to opencv 3.0.0 ----------------------+---------------------------------- Reporter: devans@… | Owner: joel.brogniart@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: auto-multiple-choice ----------------------+---------------------------------- After upgrade to opencv 3.0.0, build of auto-multiple-choice fails as follows {{{ /usr/bin/clang -arch x86_64 -o AMC-detect AMC-detect.cc -O2 -I/opt/local/include -I. -DNEEDS_GETLINE -L/opt/local/lib -lstdc++ -lm -I/opt/local/include/opencv -lopencv_core -lopencv_highgui -lopencv_imgproc Undefined symbols for architecture x86_64: "_cvConvertImage", referenced from: calage(_IplImage*, _IplImage*, double, double, double, double, double, double*, double*, _IplImage**, int) in AMC-detect-a855fb.o "_cvLoadImage", referenced from: load_image(_IplImage**, char*, int, double, int) in AMC-detect- a855fb.o _main in AMC-detect-a855fb.o "_cvSaveImage", referenced from: mesure_case(_IplImage*, _IplImage*, int, int, int, int, int, double, int, double, double, double, double, linear_transform*, point*, _IplImage*, char*, int) in AMC-detect-a855fb.o _main in AMC-detect-a855fb.o ld: symbol(s) not found for architecture x86_64 }}} Log attached. -- Ticket URL: <https://trac.macports.org/ticket/48074> MacPorts <https://www.macports.org/> Ports system for OS X
#48074: auto-multiple-choice: AMC-detect fails to build after update to opencv 3.0.0 -----------------------------------+------------------------------ Reporter: devans@… | Owner: joel.brogniart@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: auto-multiple-choice | -----------------------------------+------------------------------ Comment (by Joel.Brogniart@…): Question posted to the dev list. There is a simple way to adapt this version of auto-multiple-choice to the new version of opencv. But this way makes auto-multiple-choice incompatible with previous version of opencv. Could I update auto- multiple-choice port despite this? -- Ticket URL: <https://trac.macports.org/ticket/48074#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48074: auto-multiple-choice: AMC-detect fails to build after update to opencv 3.0.0 -----------------------------------+------------------------------ Reporter: devans@… | Owner: joel.brogniart@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: auto-multiple-choice | -----------------------------------+------------------------------ Comment (by devans@…): For the purposes of MacPorts alone, this would probably OK, since the 2.4 version is no longer available as a port. However, a more rigorous approach would be to test (perhaps using pkg-config) which version is installed and modify the code to behave according based on the result. -- Ticket URL: <https://trac.macports.org/ticket/48074#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48074: auto-multiple-choice: AMC-detect fails to build after update to opencv 3.0.0 -----------------------------------+------------------------------ Reporter: devans@… | Owner: joel.brogniart@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: auto-multiple-choice | -----------------------------------+------------------------------ Comment (by Joel.Brogniart@…): I think I made an error. I opened ticket #48102 with patches to solve the problem instead of adding the patches to this ticket. -- Ticket URL: <https://trac.macports.org/ticket/48074#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48074: auto-multiple-choice: AMC-detect fails to build after update to opencv 3.0.0 -----------------------------------+------------------------------ Reporter: devans@… | Owner: joel.brogniart@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: auto-multiple-choice | -----------------------------------+------------------------------ Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: No problem. Fix committed in r137787. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/48074#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts