Type undefined reference to `cv::fastFree(void*)'

前端 未结 1 1571
余生分开走
余生分开走 2020-12-19 02:00

I started the tutorial for opencv 2.4.7 on Win8, latest MinGW, and Eclipse Kepler R1, CDT. C++ Compiler includes are referencing to [path-to-opencv]\\open247\\build\\include

相关标签:
1条回答
  • 2020-12-19 02:26

    Have you link correctly your library?

    -lopencv_core
    -lopencv_highgui
    -L<opencv_library_path>
    

    The libraries have to be specified after the source file on the compiler/linker command line. (The linker keeps track of unresolved symbols, and resolves them via later command-line arguments.)

    0 讨论(0)
提交回复
热议问题