SolverCodegen icon indicating copy to clipboard operation
SolverCodegen copied to clipboard

Why no Makefile or CMake build file?

Open aladshaw3 opened this issue 1 year ago • 1 comments

I am very interested in this project and it seems like the code-base is very conducive to multi-platform builds (being based on Eigen is great!). I notice that the recommendation is just to download a pre-compiled binary, rather than to build from source.

Are their any plans to distribute the code with a build file (i.e., a Makefile) so that users can build from source for their own OS? How are you currently building the executable?

aladshaw3 avatar May 16 '23 17:05 aladshaw3

Hello and thank you for your interest in our ORTiS solver code generation tool.

For building the executable, we internally use the Code::Blocks IDE to manage and build the code, using MinGW-w64 (GCC) provided under the MSYS2 platform to compile.

We are presently overhauling the solver code generation tool for some of our internal research projects and plan to update the source code on this public Github repo with this new version soon. The plan for the new public release is to provide a make file or build script (or at least a clean version of the Code::Blocks project files) so others can more easily build the tool for their target platform. In the meantime, you can manually build the existing public source code following the recommendations in the user guide provided with the binary release here: https://github.com/OpenRealTimeSimulation/SolverCodegen/releases

I should note that the solver single file C++ source code that is generated by the code generation tool binary doesn't have any special build requirements or dependencies so those can be compiled or integrated into other projects easily for any platform that supports standard C++.

OpenRealTimeSimulation avatar May 18 '23 12:05 OpenRealTimeSimulation