Hi Werner

> Most likely relative paths don't work (don't know for sure).

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=Configure_PLplot_for_Visual_CXX

to reflect this.

I then tried to build the examples in Windows (having already done so 
successfully in Linux) by specifying -DBUILD_TEST=ON. All examples up to and 
including 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

Now I am ready to integrate PLplot with my wxWidgets app. I am a bit confused 
here. I assume that the examples do not use the wxWidgets driver. Is there an 
example that does use the driver so that I can see how to integrate with my 
application?

Best regards

David

------------------------------------------------------------------------------
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