[英]from raspberry pi to Windows platform
I developed an application for Raspberry Pi with C and C++ and the OpenVG graphic library. 我使用C和C ++和OpenVG图形库为Raspberry Pi开发了一个应用程序。 Because of certain circumstances, I want change the platform from Raspberry Pi to Windows tablets.
由于某些情况,我想将平台从Raspberry Pi更改为Windows平板电脑。 I don't really want to change a lot of my current program, so I'd be nice to find a way, just to compile it on Windows.
我真的不想更改我当前的程序,因此很高兴找到一种方法,只需在Windows上进行编译即可。 Which C/C++ Compiler should I use on Windows, that also supports a graphic library like OpenVG?
我应该在Windows上使用哪个C / C ++编译器,该编译器还支持OpenVG之类的图形库?
You can use a gcc compiler in windows, so it won't give you much trouble if you haven't used any " system dependent stuff " (like System("clear") or something like that) as the compiler is the same (watch out the paths, as the may be different if you are loading files) 您可以在Windows中使用gcc编译器,因此如果您没有使用任何“ 依赖于系统的东西 ”(例如System(“ clear”)或类似的东西),则不会给您带来太多麻烦,因为编译器是相同的(注意路径,因为如果要加载文件,路径可能会有所不同)
In windows, unlike linux, you would probably need an IDE, i like dev-cpp which is old, but light and functional, but there are a lot of free options like code::blocks. 在Windows中,与Linux不同,您可能需要一个IDE,我喜欢旧的dev-cpp,但是功能轻巧,但是有很多免费的选项,例如code :: blocks。
About OpenVG, i don't know how to work with that, but probably you will need to install a library or something on the IDE, but probably any IDE should be able to work with gcc & OpenVG so probably you won't have to code too much 关于OpenVG,我不知道如何使用它,但是您可能需要在IDE上安装库或其他东西,但是任何IDE都应该可以与gcc和OpenVG一起使用,因此您不必编码太多
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.