Talk:Configure PLplot for Visual CXX CLI

From PLplotWiki
Revision as of 09:45, 15 May 2010 by Philrosenberg (Talk | contribs) (Created page with 'I have spent litterally dats trying to build PLplot and unfortunately I didn't find the wiki very useful. I fully understand that the people working on the PLplot project are bus…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I have spent litterally dats trying to build PLplot and unfortunately I didn't find the wiki very useful. I fully understand that the people working on the PLplot project are busy coding rather than documenting so that's just the way open source is. Anyway, my big problem was that I'd never used CMake or nmake before so I struggled to get started. I'm also trying to build wxplplot so that added extra complications. Now that I've got it built I thought it would help others if I put a step by step on how I did it with a little background info for others who haven't used CMake before. I hope this is okay and that it is useful to others.

As an extra note, I had to rename the libraries after each build to avoid the libraries getting overwritten. I saw that each file was appended by the letter d (for debug?) and it seemed that this was set using the LIB_TAG variable, but adding -DLIB_TAG='s' (for static for example) to the cmake call made no difference. Any ideas? If so please feel free to make the command a bit more elegant.

Phil