can't find libplplotgnome2d library

tttmack
2009-06-04
2013-03-15
  • tttmack
    tttmack
    2009-06-04

    I have been able to run all the C examples in Microsoft VS 2005 except for the canvas demos (plplotcanvas_demo.c and plplotcanvas_animation.c). I get a linker problem and it seems like it is looking for functions in a library that I don't have.

    1>Linking...
    1>plplotcanvas_demo.obj : error LNK2019: unresolved external symbol _plplot_canvas_line referenced in function _main
    1>plplotcanvas_demo.obj : error LNK2019: unresolved external symbol _plplot_canvas_lab referenced in function _main
    1>plplotcanvas_demo.obj : error LNK2019: unresolved external symbol _plplot_canvas_box referenced in function _main
    1>plplotcanvas_demo.obj : error LNK2019: unresolved external symbol _plplot_canvas_wind referenced in function _main
    1>plplotcanvas_demo.obj : error LNK2019: unresolved external symbol _plplot_canvas_vsta referenced in function _main
    1>plplotcanvas_demo.obj : error LNK2019: unresolved external symbol _plplot_canvas_wid referenced in function _main
    1>plplotcanvas_demo.obj : error LNK2019: unresolved external symbol _plplot_canvas_col0 referenced in function _main
    1>plplotcanvas_demo.obj : error LNK2019: unresolved external symbol _plplot_canvas_adv referenced in function _main
    1>plplotcanvas_demo.obj : error LNK2019: unresolved external symbol _plplot_canvas_set_size referenced in function _main
    1>plplotcanvas_demo.obj : error LNK2019: unresolved external symbol _plplot_canvas_new referenced in function _main

    From looking at the user guide in chapter 17, it seems that I am missing libplplotgnome2d library. Does anyone know where I can find this file or how I can generate it?

    Thanks,
    Taylour

     
    • Werner Smekal
      Werner Smekal
      2009-06-05

      Hi,

      the gnome library is to my knowledge not available on Windows (gtk library is, but not the gnome library). Therefore there must have been a misconfiguration during the cmake configuration stage. What version of plplot do you use? Could you post the output of cmake during the configuration? What cmake version do you use?

      Thanks for the report,
      Werner