erpc icon indicating copy to clipboard operation
erpc copied to clipboard

Is ERPC support Windows platform?

Open PierrePeng opened this issue 2 years ago • 4 comments

I wonder if ERPC could run on windows? Because I see WIN32 API is used in the project.

PierrePeng avatar Jul 21 '22 11:07 PierrePeng

Hi eRPC user. Thank you for your interest and welcome. We hope you will enjoy this framework well.

github-actions[bot] avatar Jul 21 '22 11:07 github-actions[bot]

I need it also. Today, I build erpc in Cygwin32/64 environment , but it can't be used in Qt5 with MinGW. When build erpc in Qt5 with MinGW, there are lots errors.

thewon86 avatar Aug 01 '22 09:08 thewon86

Hi, erpcgen can be built under windows in Visual Studio (but we are providing executable files in releases). This application is used to generated shim code for eRPC applications. eRPC lib can be likely built only for Linux. You should be likely possible to built app for windows with serial transport. We are not focusing on supporting windows eRPC applications. But you should be able to do it if you implement transport (other than serial) for windows.

Hadatko avatar Aug 01 '22 09:08 Hadatko

Thanks, I did it. it works. now, erpc_tcp_transport can be compiled with MinGW / cygwin GCC / linux GCC at the same time.

thewon86 avatar Aug 03 '22 01:08 thewon86

Thanks, I did it. it works. now, erpc_tcp_transport can be compiled with MinGW / cygwin GCC / linux GCC at the same time.

Hi, I'm trying the same as you did and notice that erpc_tcp_transport.cpp includes some header files that are not exist in Windows. Should I use winsock to implement it? By the way, the motivation to compile erpc in windows is that I want use the class designer in VS to generate UML for erpc, maybe there is a better way to do it >_<...

huiyeruzhou avatar Nov 05 '22 17:11 huiyeruzhou

https://thewon.gitee.io/2022/0902/erpc-transport-winsock2/

thewon86 avatar Nov 06 '22 04:11 thewon86

Hi @thewon86 , could you provide PR?

Hadatko avatar Feb 05 '23 21:02 Hadatko