Hi David,

> Yes, that was the problem, thanks. I changed to an absolute path and  
> nmake =
> succeeded. Perhaps it would be good to update:
>
> http://www.miscdebris.net/plplot_wiki/index.php?title=3DConfigure_PLplot_fo=
> r_Visual_CXX

will do.
>
> to reflect this.
>
> I then tried to build the examples in Windows (having already done  
> so succe=
> ssfully in Linux) by specifying -DBUILD_TEST=3DON. All examples up  
> to and i=
> ncluding x18c built ok. x19c failed:
>
> [ 62%] Building C object examples/c/CMakeFiles/x19c.dir/x19c.c.obj
> x19c.c
> C:\plplot-5.9.5\examples\c\x19c.c(81) : warning C4013: 'snprintf'  
> undefined=
> ; assuming extern returning int
> Linking C executable x19c.exe
> x19c.c.obj : error LNK2019: unresolved external symbol _snprintf  
> referenced=
> in function _geolocation_labeler
> x19c.exe : fatal error LNK1120: 1 unresolved externals
> LINK Pass 1 failed. with 2

Thanks, will fix this as well.
>
> Now I am ready to integrate PLplot with my wxWidgets app. I am a bit  
> confus=
> ed here. I assume that the examples do not use the wxWidgets driver.  
> Is the=
> re an example that does use the driver so that I can see how to  
> integrate w=
> ith my application?

Did you already compile wxWidgets on Windows 
(http://www.miscdebris.net/plplot_wiki/index.php?title=WxWidgets 
). All you then need is the environment variable WXWIN set, before you  
run cmake (clean the build directory and rerun cmake). You should then  
have wxWidgets as one of the drivers available if you run an example.

examples/C++/wxPLplotDemo.cpp is an example how plplot is integrated  
in your application. Run "nmake VERBOSE=1" to see what compile and  
link options were used (though I'm not sure if that works for nmake).

Regards,
Werner

>
> Best regards
>
> David

--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: sme...@iap.tuwien.ac.at
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to