openframeworks / openframeworks/openFrameworks
Codeblocks (win) Issue with calibinit.cpp; circlesgrid.cpp; lkpyramid.cpp
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
Hello,
I am working with OF version 0.7.4 and Codeblocks v. 12.11.
I am getting the following 6 linking errors (undefined references):
......\addons\ofxOpenCv\libs\opencv\lib\win_cb\libopencv_calib3d231.a(calibinit.obj):calibinit.cpp:(.text$_ZN2cv15findCirclesGridERKNS_11_InputArrayENS_5Size_IiEERKNS_12_OutputArrayEiRKNS_3PtrINS_15FeatureDetectorEEE+0x1a9)||undefined reference to cv::FeatureDetector::detect(cv::Mat const&, std::vector<cv::KeyPoint, std::allocator<cv::KeyPoint> >&, cv::Mat const&) const'| ..\..\..\addons\ofxOpenCv\libs\opencv\lib\win_cb\libopencv_calib3d231.a(circlesgrid.obj):circlesgrid.cpp:(.text$_ZN2cv22findCirclesGridDefaultERKNS_11_InputArrayENS_5Size_IiEERKNS_12_OutputArrayEi+0x47)||undefined reference tocv::SimpleBlobDetector::Params::Params()'|
......\addons\ofxOpenCv\libs\opencv\lib\win_cb\libopencv_calib3d231.a(circlesgrid.obj):circlesgrid.cpp:(.text$_ZN2cv22findCirclesGridDefaultERKNS_11_InputArrayENS_5Size_IiEERKNS_12_OutputArrayEi+0x6f)||undefined reference to cv::SimpleBlobDetector::SimpleBlobDetector(cv::SimpleBlobDetector::Params const&)'| ..\..\..\addons\ofxOpenCv\libs\opencv\lib\win_cb\libopencv_video231.a(lkpyramid.obj):lkpyramid.cpp:(.text$_ZL25icvInitPyramidalAlgorithmPK5CvMatS1_PS_S2_iP14CvTermCriteriaiiPPPhS7_PPiPP6CvSizePPdPN2cv10AutoBufferIhLj4104EEE.isra.45.constprop.62+0x81c)||undefined reference tocvPyrDown'|
......\addons\ofxOpenCv\libs\opencv\lib\win_cb\libopencv_video231.a(lkpyramid.obj):lkpyramid.cpp:(.text$_ZL25icvInitPyramidalAlgorithmPK5CvMatS1_PS_S2_iP14CvTermCriteriaiiPPPhS7_PPiPP6CvSizePPdPN2cv10AutoBufferIhLj4104EEE.isra.45.constprop.62+0x944)||undefined reference to cvPyrDown'| ..\..\..\addons\ofxOpenCv\libs\opencv\lib\win_cb\libopencv_video231.a(lkpyramid.obj):lkpyramid.cpp:(.text$_ZN2cv20calcOpticalFlowPyrLKERKNS_11_InputArrayES2_S2_RKNS_12_OutputArrayES5_S5_NS_5Size_IiEEiNS_12TermCriteriaEdid+0x1649)||undefined reference tocv::pyrDown(cv::_InputArray const&, cv::OutputArray const&, cv::Size const&)'|
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting addons/ofxOpenCv/libs/opencv/lib/win_cb and the Code::Blocks linker configuration for the missing OpenCV symbols. Reproduce the OF 0.7.4 build and identify the relevant library linkage; the issue is done when the listed undefined references no longer prevent linking.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, opencv
- Domain
- build-system, computer-vision
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100