eProsima / Fast-DDS

The most complete DDS - Proven: Plenty of success cases. Looking for commercial support? Contact info@eprosima.com
https://eprosima.com
Apache License 2.0
2.15k stars 765 forks source link

how to cross compile and build Fast-DDS project for VxWorks #4664

Closed yuzu-ogura closed 5 months ago

yuzu-ogura commented 5 months ago

Expected behavior

firstly, pls tell me if my idea is right, if wrong, pls tell me the correct approach. secondly, compile at linux or win10? thirdly, what compiler should I use? finally, I can successfully cross compile and build Fast-DDS project for VxWorks

Current behavior

I'm not familiar with VxWorks, only know that I need to cross compile. I try to use the compiler from WindRiver Workbench in Win10, unfortunately, I failed finally. image

Steps to reproduce

1、I have no cross compile toolchains cmake file, so I just specify the compiler in cmake command. like: set CC=ccpentium set CXX=c++pentium

elianalf commented 5 months ago

Hi @yuzu-ogura, thanks for using Fast DDS. I am going to move this issue to the Discussion forum because according to the CONTRIBUTING guidelines, issues related with non-officially supported platforms, architectures and/or compilers should be discussed over that forum. VxWorks is not officially supported by Fast DDS. Have a look at the official supported platforms and compiler. Surely, you will need to download Fast DDS source code from the official repository. Create a build directory within Fast DDS workspace and run CMake to configure the build environment. Finally, run the build process, using the appropriate build command for your platform. For the installation and the build of Fast DDS on official platforms you can refer to the installation page Linux installation and Windwos installation. We don't provide any documentation on not-supported platform.