Page 1 of 1

Building RKMPI sources using eclipse

Posted: 2025-04-26 7:36
by CounterMader
Hello,

I want to build (certainly as I should, cross-compile) source codes that use RKMPI and related libraries in an Eclipse environment. I configured the toolchain properly and copied all the include files and some libraries to the project, then configured the include path, library path, and library names without "lib" prefix and ".a" postfix, but I still have some issues, and the target build resulted in some errors. The source of the include and lib files is the corresponding directories in the luckfox_pico_rkmpi_example repo. What should I include, and what library do I need to add?
If working with Eclipse is not reasonable, how should I build such a project? can i use CMAKE files provided by luckfox in the luckfox_pico_rkmpi_example repo?

Regards.

Re: Building RKMPI sources using eclipse

Posted: 2025-04-27 1:36
by Crocodile
Hello, we have no experience with Eclipse and are unable to advise you on the issues you are experiencing with your configuration on Eclipse. luckfox_pico_rkmpi_example is compiled by cmake, which is usually done from the command line (in x86_64 Linux). We've simplified the process by compiling with build.sh, and you need to use cmake to see how the script is implemented