如何为win32构建wxmathPlot? [英] How to build wxmathPlot for win32?

查看:223
本文介绍了如何为win32构建wxmathPlot?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了最新的 wxmathplot ,但readme有点稀疏,说明如何在win32平台上构建。

I downloaded the latest wxmathplot but the readme is a bit sparse with instructions on how to build on win32 platform.

有没有人将这个库用于win32?有人可以指点我的文档或给一些提示/建议如何建立win32目标。

Has anyone used this library for win32? Can someone point me to the docs or give some hints/advice on how to build for win32 targets.

我们最终将使用这个跨平台的东西,现在只是win32,直到我们移植我们的其他代码。

We'll eventually use this for cross platform stuff, for now it is just win32 until we port our other code.

我认为我必须使用CMake,但没有使用它之前,它是不明显的如何建立这个所有 - 我已经安装了CMake,但我显然太愚蠢了解如何构建这个库/样本。

I presume I have to use CMake, but have not used it before and it is not obvious to me how to build this all - I have already installed CMake, but I am apparently too stupid to figure out how to build this library/samples.

好吧,我设法制作一个SLN文件,但它并不明显。

Well, I managed to make an SLN file, but it was not obvious.

推荐答案

我使用wxMathPlot。我只需要添加mathplot.cpp和mathplot.h到MSVS2008 C ++项目,需要使用它。这编译和链接,而我不必做任何特别的。

I use wxMathPlot. I simply add mathplot.cpp and mathplot.h to the MSVS2008 C++ projects that need to use it. This compiles and links without my having to do anything special.

这篇关于如何为win32构建wxmathPlot?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆