From: Laurent B. <lau...@un...> - 2017-09-18 19:23:44
|
Hi, Thanks for new version (5.13.0). I have installed plplot and now I want to use it in my own project using cmake my cmakelist is if (wxWidgets_FOUND) include_directories(${wxWidgets_INCLUDE_DIRS}) target_link_libraries (wxOpenCVMain ${wxWidgets_LIBRARIES} ) endif (wxWidgets_FOUND) if (PLplot_FOUND) message( " PATH ${PLplot_INCLUDE_DIR} ${PLplot_LIBS}" ) message( " PATH ${PLplot_DIR} ${PLplot_LIBS}" ) include_directories(${PLplot_INCLUDE_DIRS}) target_link_libraries( wxOpenCVMain ${PLplot_LIBS} ) else (PLplot_FOUND) message( " PROBLEME" ) endif(PLplot_FOUND) I can see in cmake output OPENCV = G:/Lib/install/opencv/include;G:/Lib/install/opencv/include/opencv PATH PATH C:/Program Files/plplot/lib/cmake/plplot -- WINDOWS -- G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib -- Configuring done -- Generating done -- Build files have been written to: G:/Lib/build/wxOpenCV but nothing in variable PLplot_INCLUDE_DIR . Where is my mistake ? thanks for your answer. |