简体   繁体   English

从树莓派到Windows平台

[英]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.

相关问题 如何使用 cmake+clang 从 windows 编译到树莓派 4? - How to compile from windows to raspberry pi 4 using cmake+clang? 如何在C ++中将UDP数据报从Windows PC发送到Raspberry Pi - How to send UDP datagrams from Windows PC to Raspberry Pi in C++ 从树莓派上传文件到谷歌驱动器 - Upload file to google drive from raspberry pi 如何在 Windows 上使用 Eclipse 交叉编译树莓派 - How to Cross-Compile Raspberry Pi using Eclipse on Windows Windows 10 IoT Raspberry Pi 2 Tcp连接c ++ - Windows 10 iot Raspberry Pi 2 Tcp Connection c++ 通过单独的Raspberry Pi c ++在一个Raspberry Pi上控制程序 - Controlling a program on one Raspberry Pi from a separate Raspberry Pi c++ 用于Raspberry Pi的Visual Studio C ++跨平台开发如何引用自定义头文件 - Visual studio C++ cross platform development for raspberry pi how to reference custom header file 如果目标平台是 Raspberry Pi OS (arm),则禁用代码行 (JavaScript/QML) - Disable line of code (JavaScript/QML) if target platform is Raspberry Pi OS (arm) 如何将数据从网站发送到树莓派上的Web服务器? - How to send data from website to web server on raspberry pi? 如何从单独的PC控制Raspberry Pi的GPIO引脚 - How to control Raspberry Pi's GPIO pins from separate PC
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM