From: Laurent B. <lau...@un...> - 2017-09-26 08:43:23
|
Hi alan, Ok in this folder http://perso.univ-lemans.fr/~berger/Afsd56/plplot/ you got everything from git clone to wxopencv build In http://perso.univ-lemans.fr/~berger/Afsd56/plplot/ you can find result of plplot install in http://perso.univ-lemans.fr/~berger/Afsd56/plplot/TXT_INFO/ you 've got cmakecache and cmakeoutput for plplot and same file for wxopencv project using plplot. In buildprocessplplot.txt you have results from git clone, build plplot in debug and release and install process. In my wwxopencv project I use too ceres-solver glog and gflag and opencv and openscenegraph lib my script command to install plplot and wxopencv are installplplot.sh and installwxopencv.sh if something is missing tell me what Le 26/09/2017 à 09:44, Alan W. Irwin a écrit : > On 2017-09-26 09:01+0200 Laurent Berger wrote: > >> Hi Alan, >> >> >> I tried this >> >> if (PLplot_FOUND) >> message( " PATH0 ${PLplotwx_LIBS}" ) >> message( " PATH1 ${PLplot_INCLUDE_DIR}" ) >> message( " PATH3 ${PLplot_DIR}" ) >> message( " PATH4 ${PLplotcxx_LIBS}" ) >> get_target_property(PLplotwx_LIBS plplotwxwidgets >> INTERFACE_LINK_LIBRARIES) >> get_target_property(PLplot_LIBS plplot INTERFACE_LINK_LIBRARIES) >> get_target_property(PLplotcxx_LIBS plplotcxx INTERFACE_LINK_LIBRARIES) >> message( " PATH0 ${PLplotwx_LIBS}" ) >> message( " PATH1 ${PLplot_INCLUDE_DIR}" ) >> message( " PATH3 ${PLplot_LIBS}" ) >> message( " PATH4 ${PLplotcxx_LIBS}" ) >> include_directories(${INCLUDE_DIR}) >> include_directories(${PLplot_DIR}/../../../include/plplot) >> target_link_libraries( wxOpenCVMain ${PLplotwx_LIBS}) >> else (PLplot_FOUND) >> message( " PROBLEME" ) >> endif(PLplot_FOUND) >> >> and and cmake output is : >> >> PATH0 >> PATH1 >> PATH3 C:/Program Files/plplot/lib/cmake/plplot >> PATH4 >> PATH0 >> plplot;plplotcxx;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxbase31ud.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxbase31u.lib>;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxmsw31ud_core.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxmsw31u_core.lib>;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxpngd.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxpng.lib>;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxtiffd.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxtiff.lib>;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxjpegd.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxjpeg.lib>;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxzlibd.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxzlib.lib>;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxregexud.lib>;$<$<NOT:$<CONFIG:DE >> BUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxregexu.lib>;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxexpatd.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxexpat.lib>;winmm;comctl32;oleacc;rpcrt4;shlwapi;version;wsock32 >> >> PATH1 >> PATH3 >> $<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxbase31ud.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxbase31u.lib>;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxmsw31ud_core.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxmsw31u_core.lib>;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxpngd.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxpng.lib>;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxtiffd.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxtiff.lib>;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxjpegd.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxjpeg.lib>;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxzlibd.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxzlib.lib>;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxregexud.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWi >> dgets-3.1.0/lib/vc_x64_lib/wxregexu.lib>;$<$<CONFIG:DEBUG>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxexpatd.lib>;$<$<NOT:$<CONFIG:DEBUG>>:G:/Lib/wxWidgets-3.1.0/lib/vc_x64_lib/wxexpat.lib>;winmm;comctl32;oleacc;rpcrt4;shlwapi;version;wsock32;csirocsa;qsastime >> >> PATH4 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 >> >> In my project I got only this libs >> C:\Program Files\plplot\lib\plplot.lib >> C:\Program Files\plplot\lib\plplotcxx.lib >> C:\Program Files\plplot\lib\csirocsa.lib >> C:\Program Files\plplot\lib\qsastime.lib >> >> plplotwxwidgets is missing >> >> I think I miss something because my cmakelist is too complicated > > Hi Laurent: > > Please put yourself in my position of not knowing exactly how you > built and installed PLplot and not knowing the complete details of > your own project's build system. Then send me _all_ the information > you think I might possibly need in order to help you further. > > For example, > > 1. What is the complete cmake stdout and stderr output from your > PLplot configuration step? > > 2. What is the complete output when you built the "install" target > for PLplot? > > 3. Above you have only given me a part of the CMake logic used to > configure your own project. Please send me all of that > logic (or give me a URL where I can browse it). > > Also, please send me any other information you think might be > relevant. Note, if you send too little information (as now), I cannot > help you, but if you send too much, I can simply ignore the parts I > don't need and use the rest to help you. > > In sum, limited information from you = current situation = bad, lots > of information from you = future situation = good. :-) > > Alan > __________________________ > Alan W. Irwin > > Astronomical research affiliation with Department of Physics and > Astronomy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the FreeEOS equation-of-state > implementation for stellar interiors (freeeos.sf.net); the Time > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > software package (plplot.sf.net); the libLASi project > (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); > and the Linux Brochure Project (lbproject.sf.net). > __________________________ > > Linux-powered Science > __________________________ |