Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error at latest opencv version #107

Open
ccsmm78 opened this issue Feb 25, 2022 · 0 comments
Open

Compile error at latest opencv version #107

ccsmm78 opened this issue Feb 25, 2022 · 0 comments

Comments

@ccsmm78
Copy link
Contributor

ccsmm78 commented Feb 25, 2022

  1. opencv 4.5.5 사용시 아래와 같은 API 변경에 따른 컴파일 에러 발생함. 따라서 4.5 이상은 설치하지 않음
    undefined reference to `cv::ximgproc::createFastLineDetector(int, float, double, double, int, bool)

  2. opencv 4.4.0 의 경의 위와 같은 API 변경은 없으나, 아래와 같이 opecv-3.2로 컴파일된 컴포넌트와 충돌이 발생함. python 모듈 실행시 발생하며, 특히 vps의 첫 결과가 리턴되기 전에 발생함(dg_simple은 정상이고, dg_simple_ros 실행시에만 발생함)

    topo: node=558972539101163, edge=0, dist=20.645926
    metr: x=49.599030, y=761.810305, theta=0.175291
    gps : lat=37.513866, lon=127.057059
    confidence: 0.336811
    [CHECK_TRUE] m_localizer.applyGPS(gps_datum, ts) --> Success!
    [Localizer]
    topo: node=558972539101163, edge=0, dist=22.092976
    metr: x=51.029377, y=762.035474, theta=0.158732
    gps : lat=37.513868, lon=127.057075
    confidence: 0.374513
    OpenCV Error: Assertion failed (tlsSlots.size() > slotIdx) in releaseSlot, file /build/opencv-L2vuMj/opencv-3.2.0+dfsg/modules/core/src/system.cpp, line 1092
    terminate called after throwing an instance of 'cv::Exception'
    what(): /build/opencv-L2vuMj/opencv-3.2.0+dfsg/modules/core/src/system.cpp:1092: error: (-215) tlsSlots.size() > slotIdx in function releaseSlot

[dg_simple_ros-1] process has died [pid 32189, exit code -6, cmd /home/ccsmm/catkin_ws/devel/lib/dg_simple_ros/dg_simple_ros __name:=dg_simple_ros __log:=/home/ccsmm/.ros/log/4d896b0c-9646-11ec-855e-d45d643ea2ca/dg_simple_ros-1.log].
log file: /home/ccsmm/.ros/log/4d896b0c-9646-11ec-855e-d45d643ea2ca/dg_simple_ros-1*.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant