PSOPT / psopt

PSOPT Optimal Control Software
GNU Lesser General Public License v2.1
193 stars 75 forks source link

[Feature Request] Use CMake so this project can be more easily integrated into other projects #13

Closed schulz0r closed 3 years ago

schulz0r commented 4 years ago

Dear developers, I would like to use this library, but it is inconvenient to integrate into my build system. Using CMake makes things so much easier and should be the first choice when working on C++ projects. I could write a CMake file which could replace all files related to make and create a pull request. Please let me know if you are interested!

Schulz0r

vmbecerra commented 4 years ago

Hello Schulz0r

This is Victor Becerra, the author of PSOPT.

Yes, please, it would be great to have a CMake based build system. I have no experience with CMake but I am conscious that it will help improve the installation and portability of the software.

Let me know if you have any questions whilst creating the CMake build.

Many thanks for the offer!

Best regards

Victor

On Thu, 9 Jul 2020 at 18:28, schulz0r notifications@github.com wrote:

Dear developers, I would like to use this library, but it is inconvenient to integrate into my build system. Using CMake makes things so much easier and should be the first choice when working on C++ projects. I could write a CMake file which could replace all files related to make and create a pull request. Please let me know if you are interested!

Schulz0r

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PSOPT/psopt/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGCMBJIMO5B72J3X4CTATLR2X45PANCNFSM4OV2FGSA .

schulz0r commented 3 years ago

Okay, I finally gave up on the other trajectory planning software because it is missing some features. This project looks more promising. I forked your repository and started to write CMake files. I will post here if there are questions.

schulz0r commented 3 years ago

Is there any reason why in dmatrix, the class SparseMatrix is not included by default? I can't compile the code without setting the preprocessor variable SPARSE_MATRIX.

vmbecerra commented 3 years ago

Hello

If my memory does not fail, this was done in that way so as to have the possibility of disabling the sparse features in other applications in which these features were not required.

I hope that helps. Feel free to get in touch if you have any further questions.

You can also email me at my work email: victor.becerra@port.ac.uk.

Kind regards

Victor.

On Mon, 20 Jul 2020 at 16:08, schulz0r notifications@github.com wrote:

Is there any reason why in dmatrix, the class SparseMatrix is not included by default? I can't compile the code without setting the preprocessor variable SPARSE_MATRIX.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PSOPT/psopt/issues/13#issuecomment-661098476, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGCMBNTGISLMXIYHLQYF43R4RMXBANCNFSM4OV2FGSA .