OpenEtherCATsociety / SOEM

Simple Open Source EtherCAT Master
Other
1.23k stars 653 forks source link

SOEM install in visual studio code (windows) #787

Open Bipin903 opened 4 months ago

Bipin903 commented 4 months ago

Hi guys I have build SOEM in visual studio code and now I got a build file that contain our make file but when I m using "make install" I am getting error

PS C:\Users\B\Downloads\SOEM-master> cd build PS C:\Users\B\Downloads\SOEM-master\build> make install 'C:/Program' is not recognized as an internal or external command, operable program or batch file. make: *** [all] Error 1

PS C:\Users\B\Downloads\SOEM-master> make install make: *** No rule to make target `install'. Stop. PS C:\Users\Anzo\Downloads\SOEM-master

please let me know the step in windows

ArthurKetels commented 4 months ago

I think you got the build instruction wrong. Please read the readme.md on how to compile for windows. The solution that SOEM offers for windows builds uses cmake and nmake. Make install for Linux only copies the headers and libraries to the default folders so other projects can link them more easily.